Create an ephemeral AutoScribe viewer session
client.autoScribe.ephemeralSessions.create(EphemeralSessionCreateParams { retrievalId, hangingProtocol, options } body, RequestOptionsoptions?): EphemeralSessionCreateResponse { url }
POST/v1/autoScribe/ephemeral-sessions
Mints a 30-second tokenized landing URL for a userless, studyless AutoScribe viewer session. The token names a customer retrievalId (not an Avara study). Optional options are echoed verbatim on ephemeral.access_requested (max 3072 bytes JSON). Optional hangingProtocol applies a single-monitor layout when the viewer loads. Requires a customer study webhook on the API key.
Create an ephemeral AutoScribe viewer session
import Avara from 'avara-software';
const client = new Avara({
apiKey: process.env['AVARA_API_KEY'], // This is the default and can be omitted
});
const ephemeralSession = await client.autoScribe.ephemeralSessions.create({
retrievalId: 'order-12345',
});
console.log(ephemeralSession.url);{
"url": "https://autoscribe.avarasoftware.com/token/landing?token=abc123"
}Returns Examples
{
"url": "https://autoscribe.avarasoftware.com/token/landing?token=abc123"
}