palbaseDocs

Palbase Calls · API

POST/calls/{call_id}/transcription/audio

Transcribe participant audio clip

Transcribes an audio clip spoken by the signed-in participant and appends a speaker-attributed segment to the call's active transcript.

Called by a signed-in user of your app, with their token and the publishable key.

Path

call_idstring (uuid) · requiredThe call's id
curl
curl -X POST "https://<your-ref>.palbase.studio/calls/<call_id>/transcription/audio" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN" \
  -H "content-type: multipart/form-data" \
  --data-binary @file

Responses

200Audio contained no speech

201Transcript segment appended

400The request is malformed, or a field breaks a rule (the error names which)

401No key, a key of no project, a token not valid (the edge's answer), or no person's session (`user_required`)

404No such call or transcription (`call_not_found`, `transcription_not_found`)

409The call has ended or transcription is not active (`call_ended`, `transcription_not_active`)

413The request body is too large (`request_too_large`)

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation IngestCallTranscriptionAudio of calls's contract.