Skip to main content
POST
/
api
/
workers
/
{workerId}
/
deploymentLogs
/
voice
/
outbound-twilio-webhook
Handle Twilio status callbacks for outbound calls
curl --request POST \
  --url https://brainbase-monorepo-api.onrender.com/api/workers/{workerId}/deploymentLogs/voice/outbound-twilio-webhook \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'x-api-key: <api-key>' \
  --data 'CallStatus=<string>' \
  --data 'AnsweredBy=<string>'
{}

Authorizations

x-api-key
string
header
required

API key authentication

Path Parameters

workerId
string
required

The worker ID

Query Parameters

logId
string
required

The VoiceDeploymentLog ID

Body

application/x-www-form-urlencoded
CallStatus
string

Current call status (queued, ringing, in-progress, completed, busy, failed, no-answer, canceled)

AnsweredBy
string

AMD result (human, machine_start, machine_end_beep, machine_end_silence, machine_end_other, fax, unknown)

Response

Status updated successfully