CRM Webhooks


Inbound Routes


Call Start Webhook:
You can optionally trigger a URL at the start of incoming calls to this phone number. The following variables can be used in the URL and will be replaced with the values of the outbound call.

{callstart} = The start of the call
{calleridnumber} = The caller id number
{calleridname} = The caller id name
{did} = The phone number dialed


The URL can also be prefixed with \"post:\",\":json\", or \"get:\" to use the specified method to call the URL.


Call Completed Webhook:
You can optionally trigger a URL at the end of calls to this phone number. The following variables can be used in the URL and will be replaced with the values of the outbound call.

{callstart} = The start of the call
{callanswer} = When the call was answered
{callend} = When the call ended
{calleridnumber} = The caller id number
{calleridname} = The caller id name
{queue_name} = The name of the queue that received the call
{user} = The user who answered the call
{duration} = The length of the call in seconds
{status} = The status of the call (ANSWERED, NO ANSWER,BUSY)
{recording} = The name of the recorded file
{vmstatus} = If the call went to voicemail this will be set to SUCCESS,USEREXIT, or FAILED

The URL can also be prefixed with \"post:\",\":json\", or \"get:\" to use the specified method to call the URL.


Outbound Routes


Route Webhook:
Optional: A route can send call details to a URL after the call has completed.  This is useful for sending call details to a CRM. The following variables can be used in the URL and will be replaced with the values of the outbound call.

{callstart} = The start of the call
{callanswer} = When the call was answered
{callend} = When the call ended
{dialed} = The number dialed
{user} = The user who placed the call
{duration} = The length of the call in seconds
{status} = The status of the call (ANSWERED, NO ANSWER,BUSY)
{recording} = The name of the recorded file

The URL can also be prefixed with "post:",":json", or "get:" to use the specified method to call the URL.