Skip to main content
POST
Start a live consultation audio session

Autorizações

Authorization
string
header
obrigatório

Chave de API enviada como token Bearer

Corpo

application/json

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

consultation
ConsultationInput · object
obrigatório

The caller's consultation reference.

template
TemplateInput · object
obrigatório

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

patient
PatientInput · object
obrigatório

An existing patient by public id xor the inline identity.

context
ContextInput · object | null

Free-text context that feeds record generation.

Resposta

Successful Response

201 response: the batch envelope plus the streaming URL.

consultation
ConsultationRef · object
obrigatório

Echo of the caller's consultation reference.

live
LiveSessionInfo · object
obrigatório

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

status
string
padrão:created

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

Allowed value: "created"