Skip to main content
POST
Start a live consultation audio session

Autorizaciones

Authorization
string
header
requerido

Clave API enviada como token Bearer

Cuerpo

application/json

The consultation metadata: the multipart metadata part, or the JSON body.

consultation
ConsultationInput · object
requerido

The caller's consultation reference.

template
TemplateInput · object
requerido

Template selection: an existing public id xor an inline structured template.

patient
PatientInput · object
requerido

An existing patient by public id xor the inline identity.

context
ContextInput · object | null

Free-text context that feeds record generation.

Respuesta

Successful Response

201 response: the batch envelope plus the streaming URL.

consultation
ConsultationRef · object
requerido

Echo of the caller's consultation reference.

live
LiveSessionInfo · object
requerido

Where and until when the caller can stream the consultation audio.

status
string
predeterminado:created

Always created on success. Stream the audio to live.url; completion then follows the batch contract described on status above.

Allowed value: "created"