---
title: Temporary access views | Avara
description: Mint a short-lived URL so a user already signed into your app can open AutoScribe — with Avara Viewer, or viewer-only — without logging into the Avara dashboard.
---

Optional. For PACS companies, EHR/RIS companies, or any platform that wants AutoScribe inside its own UI instead of sending readers to the Avara dashboard.

Your app still owns login. Avara only issues a one-time link after your backend authorizes the request.

## How it works

1. **The user asks in your app** — They are already authenticated with you and request access to a study.
2. **Your backend mints the URL** — Using your API key, call the SDK for the kind of session you want (dictation with Avara Viewer, or viewer-only).
3. **Redirect to a new window** — Serve that URL to the client and open it. The user lands in AutoScribe without signing in to the Avara dashboard.

You need an API key (`AVARA_API_KEY`) from [API Config](/integration/autoscribe/api-config/index.md).

## Which URL to mint

**AutoScribe with Avara Viewer** — Opens the study with images and the reporting workspace together. Pass the reader’s Avara `userId` (`assignedToUserId`) so the session is audited. Only NPI-validated physicians can interpret reports.

**Viewer-only** — Same mint-and-redirect flow, but opens the study in Avara Viewer without the reporting workspace. Use this when the user should see images and not dictate.

If you use AutoScribe with **your own viewer** — not Avara Viewer — AutoScribe does not open a viewer for you. Imaging stays in your platform; AutoScribe owns dictation. That keeps the integration simple: Avara does not try to host viewing when you already do.

## AutoScribe with Avara Viewer

Opens dictation and Avara Viewer together.

### TypeScript

```
import Avara from "avara";


const client = new Avara({
  apiKey: process.env.AVARA_API_KEY,
});


const response = await client.autoScribe.studies.rerouteURL({
  assignedToUserId: "usr_1234567890abcdef1234567890abcdef",
  studyId: "stu_1234567890abcdef1234567890abcdef",
});
```

### Python

```
import os
from avara import Avara


client = Avara(
    api_key=os.environ.get("AVARA_API_KEY"),
)
response = client.auto_scribe.studies.reroute_url(
    assigned_to_user_id="usr_1234567890abcdef1234567890abcdef",
    study_id="stu_1234567890abcdef1234567890abcdef",
)
```

### Java

```
package com.avara.example;


import com.avara.client.AvaraClient;
import com.avara.client.okhttp.AvaraOkHttpClient;
import com.avara.models.autoscribe.studies.StudyRerouteUrlParams;
import com.avara.models.autoscribe.studies.StudyRerouteUrlResponse;


public final class Main {
    private Main() {}


    public static void main(String[] args) {
        AvaraClient client = AvaraOkHttpClient.fromEnv();


        StudyRerouteUrlParams params = StudyRerouteUrlParams.builder()
            .assignedToUserId("usr_1234567890abcdef1234567890abcdef")
            .studyId("stu_1234567890abcdef1234567890abcdef")
            .build();
        StudyRerouteUrlResponse response = client.autoScribe().studies().rerouteUrl(params);
    }
}
```

### C\#

```
using Avara;
using Avara.Models.AutoScribe.Studies;


var client = new AvaraClient();


var response = await client.AutoScribe.Studies.RerouteUrl(new StudyRerouteUrlParams
{
    AssignedToUserId = "usr_1234567890abcdef1234567890abcdef",
    StudyId = "stu_1234567890abcdef1234567890abcdef",
});
```

## Viewer-only

Opens Avara Viewer for the study, without the reporting workspace.

### TypeScript

```
import Avara from "avara";


const client = new Avara({
  apiKey: process.env.AVARA_API_KEY,
});


const response = await client.autoScribe.studies.viewerOnlyRerouteURL({
  studyId: "stu_1234567890abcdef1234567890abcdef",
});
```

### Python

```
import os
from avara import Avara


client = Avara(
    api_key=os.environ.get("AVARA_API_KEY"),
)
response = client.auto_scribe.studies.viewer_only_reroute_url(
    study_id="stu_1234567890abcdef1234567890abcdef",
)
```

### Java

```
package com.avara.example;


import com.avara.client.AvaraClient;
import com.avara.client.okhttp.AvaraOkHttpClient;
import com.avara.models.autoscribe.studies.StudyViewerOnlyRerouteUrlParams;
import com.avara.models.autoscribe.studies.StudyViewerOnlyRerouteUrlResponse;


public final class Main {
    private Main() {}


    public static void main(String[] args) {
        AvaraClient client = AvaraOkHttpClient.fromEnv();


        StudyViewerOnlyRerouteUrlParams params = StudyViewerOnlyRerouteUrlParams.builder()
            .studyId("stu_1234567890abcdef1234567890abcdef")
            .build();
        StudyViewerOnlyRerouteUrlResponse response =
            client.autoScribe().studies().viewerOnlyRerouteUrl(params);
    }
}
```

### C\#

```
using Avara;
using Avara.Models.AutoScribe.Studies;


var client = new AvaraClient();


var response = await client.AutoScribe.Studies.ViewerOnlyRerouteUrl(
    new StudyViewerOnlyRerouteUrlParams
    {
        StudyId = "stu_1234567890abcdef1234567890abcdef",
    }
);
```

For every field on these calls, see the [API Reference](https://docs.avarasoftware.com/api).
