{
"event": "pre_call",
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fromNumber": "+11234567890",
"toNumber": "+19876543210",
"dialedAgentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"variables": {}
}Webhooks
Pre-Call Webhook
Called before an inbound call is answered. Return variables to be merged with the agent’s default variables for this call.
WEBHOOK
pre-call
{
"event": "pre_call",
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fromNumber": "+11234567890",
"toNumber": "+19876543210",
"dialedAgentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"variables": {}
}Authorizations
Body
application/json