You can intercept, reroute and decline every incoming call with inbound call webhooks.
You will receive a JSON payload (event: "call_inbound") within 10 seconds after a call was initiated. Your endpoint will need to respond with an updated call_inbound object to assign an agent to the call or update the metadata.
{} with no agent assignment), the call will be disconnected.override_model_id as an empty string (""), the call continues with the agent that received the call (no reroute, no disconnect).default_agent you specified. If you did not specify a default_agent, the call will be disconnected.Every inbound call will generate and send a JSON in this format:
Your endpoint needs to respond with an updated call_inbound object.