Skip to main content
POST
/
consultations
/
v2
/
{DAAI_CONSULTATION_ID}
/
recordings
/
{DAAI_RECORDING_ID}
/
chunks
Send audio chunk
curl --request POST \
  --url https://apim.doctorassistant.ai/api/sandbox/consultations/v2/{DAAI_CONSULTATION_ID}/recordings/{DAAI_RECORDING_ID}/chunks \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-daai-api-key: <api-key>' \
  --form duration=270 \
  --form chunkIndex=0 \
  --form recording=@example-file
This response does not have an example.

Authorizations

x-daai-api-key
string
header
required

API key for authentication

Path Parameters

DAAI_CONSULTATION_ID
string
required
DAAI_RECORDING_ID
string
required

Body

multipart/form-data
recording
file
duration
integer
Example:

"270"

chunkIndex
integer
Example:

"0"

Response

Chunk sent successfully

⌘I