Skip to main content
POST
Create Session
Create a scribing session. Only upload_type is required — use single for the simplest flow (one audio file). Save the returned session_id for all subsequent calls.
single uploads are capped at 10 MB — for larger recordings use chunked or an SDK. The communication protocol is derived automatically: single/chunked → http, stream → websocket (returns a wss:// upload_url).
Next: Upload AudioEnd SessionGet Session.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
upload_type
enum<string>
default:single
required

Audio upload method. single — one complete audio file up to 10 MB; chunked — sequential HTTP chunks for longer recordings; stream — real-time WebSocket. The communication protocol is derived automatically (single/chunked → http, stream → websocket).

Available options:
single,
chunked,
stream
language_hint
string[]

ISO 639-1 language code(s) hinting the audio input language. If your UI doesn't offer a language picker, use ["auto_detect"] for the best results.

Example:
model
enum<string>
default:pro

Model ID from the discovery document.

Available options:
pro,
lite
templates
string[]

Optional template IDs to extract (max 2). See List Templates for valid IDs.

Maximum array length: 2
Example:
session_id
string

Optional client-supplied session id (16–32 chars). If omitted, the server generates one.

Required string length: 16 - 32
Example:

"ses_abc123def456"

additional_data
object

Optional pass-through metadata returned in webhooks and status responses (≤4KB recommended).

patient_details
object

Optional patient demographic / identifier metadata. oid is promoted to patient_oid for indexing.

Response

Session created

session_id
string

Unique session identifier. Use in all subsequent calls.

status
string
Example:

"created"

created_at
string<date-time>
expires_at
string<date-time>
upload_url
string

Endpoint for uploading audio to this session.

patient_details
object