Skip to content
Get started

Generate a viewer reroute URL

StudyRerouteUrlResponse Viewer.Studies.RerouteUrl(StudyRerouteUrlParams?parameters, CancellationTokencancellationToken = default)
POST/v1/viewer/studies/reroute-url

Generates a tokenized URL that redirects users directly to the Avara Viewer for the specified study. The URL includes authentication and is time-limited for security.

ParametersExpand Collapse
StudyRerouteUrlParams parameters
string studyID

Unique study identifier. Format: stu_{32-hex-chars}

string studyInstanceUid

DICOM Study Instance UID. Must be a valid DICOM UID format (e.g., '1.2.840.10008.5.1.4.1.1.2')

minLength1
ReturnsExpand Collapse
class StudyRerouteUrlResponse:

Response containing the generated reroute URL for a study in Viewer

required string Url

Generate a viewer reroute URL

StudyRerouteUrlParams parameters = new();

var response = await client.Viewer.Studies.RerouteUrl(parameters);

Console.WriteLine(response);
{
  "url": "https://viewer.avarasoftware.com/study/stu_1234?token=abc123"
}
Returns Examples
{
  "url": "https://viewer.avarasoftware.com/study/stu_1234?token=abc123"
}