cURL
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>'
{}
Webhook endpoint for Twilio statusCallback, asyncAmdStatusCallback, and statusCallback. Updates the VoiceDeploymentLog status based on the Twilio call status.
API key authentication
The worker ID
The VoiceDeploymentLog ID
Current call status (queued, ringing, in-progress, completed, busy, failed, no-answer, canceled)
AMD result (human, machine_start, machine_end_beep, machine_end_silence, machine_end_other, fax, unknown)
Status updated successfully