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.
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>'API key authentication
The worker ID
The VoiceDeploymentLog ID
Status updated successfully