Use cases
- Add context (dynamic variables) to inbound calls.
- Inbound call system records.
Dashboard
You can set the inbound call webhook url from the SigmaMind Dashboard. Head over to the Phone Numbers section, and under Inbound Call Settings you will see the option to set the Inbound Webhook URL.
Webhook specifications
The webhook sends aPOST request to your endpoint and waits up to 10 seconds for a response. If no successful response is returned within that period, the system will retry the request up to 3 additional times. If a successfull response is not received after 3 retrials then the call will not be connected to the agent.
Request payload
The payload will include the following fields :event: the event which triggered the webhook (“inbound_call” in this case).from_number: identifies the caller so you can process the call or SMS appropriately.to_number: identifies the recipient so you can process the call or SMS appropriately.
Response
Your endpoint should return a JSON response with a 2xx status code, containing dynamic variables organized underdynamic_variables. The following field is available:
dynamic_variables: use this to define dynamic variables specific to this inbound call
FAQ
What happens to the inbound call while waiting for the webhook response?
What happens to the inbound call while waiting for the webhook response?
What happens if my webhook endpoint doesn't respond successfully to the POST request?
What happens if my webhook endpoint doesn't respond successfully to the POST request?
What happens to the inbound call once successful response is received?
What happens to the inbound call once successful response is received?
What happens if the inbound webhook URL is not set up for a number (the inbound webhook URL field is empty in the Inbound call settings)?
What happens if the inbound webhook URL is not set up for a number (the inbound webhook URL field is empty in the Inbound call settings)?