Skip to content
Get started
Integration
Viewer

Temporary access views

Mint a short-lived URL so a user already signed into your app can open Viewer without logging into the Avara dashboard.

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

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

  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 with the study’s Avara studyId.
  3. Redirect to a new window — Serve that URL to the client and open it. The user lands in Viewer without signing in to the Avara dashboard.

You need an API key (AVARA_API_KEY) from API Config. Viewer reroute takes studyId only — there is no assignedToUserId and no separate viewer-only variant. This product is the viewer.

If you also have reporting, use the AutoScribe temporary access views instead — that is where dictation and viewer-only AutoScribe URLs live.

import Avara from "avara";
const client = new Avara({
apiKey: process.env.AVARA_API_KEY,
});
const response = await client.viewer.studies.rerouteURL({
studyId: "stu_1234567890abcdef1234567890abcdef",
});
import os
from avara import Avara
client = Avara(
api_key=os.environ.get("AVARA_API_KEY"),
)
response = client.viewer.studies.reroute_url(
study_id="stu_1234567890abcdef1234567890abcdef",
)
package com.avara.example;
import com.avara.client.AvaraClient;
import com.avara.client.okhttp.AvaraOkHttpClient;
import com.avara.models.viewer.studies.StudyRerouteUrlParams;
import com.avara.models.viewer.studies.StudyRerouteUrlResponse;
public final class Main {
private Main() {}
public static void main(String[] args) {
AvaraClient client = AvaraOkHttpClient.fromEnv();
StudyRerouteUrlParams params = StudyRerouteUrlParams.builder()
.studyId("stu_1234567890abcdef1234567890abcdef")
.build();
StudyRerouteUrlResponse response = client.viewer().studies().rerouteUrl(params);
}
}
using Avara;
using Avara.Models.Viewer.Studies;
var client = new AvaraClient();
var response = await client.Viewer.Studies.RerouteUrl(new StudyRerouteUrlParams
{
StudyId = "stu_1234567890abcdef1234567890abcdef",
});

For every field on this call, see the API Reference.