https://youtu.be/xQjbFdMZyAU

Webhook or the Reverse API enables pushing real-time data from one application or a server to another on occurrence of an event (also called trigger). The exchange of data happens over the web through an HTTP request, using GET & POST methods.

Webhook renders an extensive list of features and use cases which are as following:

  • Stream real-time data of the call flow when calls are initiated or in progress
  • Collate the insights of a call after it ends by checking the call details, like call duration, agent name and link of the recording
  • Remind or alert the agent to callback if the agent missed any call
  • Automatically send data to URL as per user requirements
  • Sync customer data to receive real-time updates in the CRMs

📘

Note:

1.Contact Tata Cloud Telephony services support team to enable Webhook for your account. You can configure the Webhook by setting up the HTTP Method, URL (where data will be sent), and selecting one of the trigger options, which are detailed below.

  1. The timeout error set to 10 sec for all the webhook

WebHook Triggers

The notifications are triggered at the start or end of a call or based on events occurred during a call. The below-mentioned triggers or the automated processes are generated for both inbound and outbound calls, which are as following:

Trigger NameDescriptionCall Type
Call received on ServerWhen a call is received on the server.Inbound
Call answered on IVRWhen a call is answered on IVR.Inbound and Outbound
Call answered by AgentWhen a call is answered by an agent.Inbound and Outbound
Call hangup (Missed)When a call is missed.Inbound and Outbound
Call hangup (Answered)When a call is answered.Inbound and Outbound
Call hangup (Missed or Answered)When a call is either hung up due to being missed or after being answered.Inbound and Outbound
DTMF OptionWhen the DTMF option is pressed on IVR.Inbound and Outbound
Dialed on AgentWhen a call is dialed on an agent.Inbound
Call received on DepartmentWhen a call is received on the department.Inbound
Call received on Auto AttendantWhen a call is received on an auto attendant.Inbound
Call answered by Agent (Hangup)When a call is answered by an agent and then hung up.Inbound
Call missed by Agent (Hangup)When a call is hung up due to being missed.Inbound
Call answered by Customer (Click to call)When a call is answered by the customer in the click to call dial method.Outbound
Call missed by Customer (Click to call)When a call is missed by the customer in the click to call dial method.Outbound
Call Connected to Agent (Dialer)When a customer is connected to an agent via dialer.Inbound and Outbound(Dialer)
Disposition Status Updated (Dialer)When the agent updates the disposition status for a call via dialer.Inbound and Outbound(Dialer)

To configure the triggers, Webhook sends an HTTP request, encompassing various parameters to different endpoints. The Request Parameters have been mentioned below for each trigger.

Call Connected to Agent (Dialer) and Disposition Status Updated (Dialer) webhooks are only available for the dialer calls.

Call answered by Agent (Hangup)

The request variables for the above-mentioned trigger types are:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 61111f5e708c5.String
$call_to_numberThe dialed number of the customer. For example, 9180XXXXXXXX.String
$caller_id_numberThe caller ID visible to the customer. For example, 701XXXXXXX.String
$customer_number_with_prefixCustomer number with country code.String
$customer_numberCustomer numberString
$answered_agent_numberNumber of the agent who answered the call.String
$answered_agent_nameName of the agent who answered the call.String
$start_stampThe start time of the call. For example, 2021-08-09 17:58:44.String
$answer_stampThe answer time of the call on the server. For example, 2021-08-09 17:56:21.String
$end_stampThe end time of the call. For example, 2021-08-09 17:58:44.String
$hangup_causeThe hang-up reason for the call.String
$billsecThe billing criteria of the call as per the duration of the call in seconds. For example, 4.String
$digits_dialedThe array containing DTMF input. For example, 1.Array of Strings
$directionThe direction of the call and the possible values are:
  • inbound
  • outbound
String
$durationThe duration of the call. For example, 10.String
$answered_agentThe data of the agent who answered the call.
Note: Present in Call answered by Agent (Hangup) trigger type.
Object
$missed_agentThe data of the agent who missed the call.
Note: Present in Call missed by Agent (Hangup) trigger type.
Array of Object
$call_flowThe flow of the call.
Note: Present in Call answered by Agent (Hangup) trigger type.
Array
$broadcast_lead_fieldsDetails (name, email ID, phone number, address, etc) of the lead.String
$recording_urlThe URL for recording.String
$start_dateStart date of the call.String
$start_timeStart time of the call.String
$call_connectedWhether the call is connected or not.Boolean
$broadcast_nameName of the broadcast campaignString
$broadcast_idID of the broadcast campaignString
$bridged_duration
$call_statusStatus of the call. (Answered or Missed)String
$call_idThe call ID of the number that helps to track the different triggers for a particular call. For example,1628512094.7228905.String
$outbound_secThe duration of an outbound call. For example, 10.String
$agent_ring_timeThe duration for which the call was in a ringing state. For example, 10.String
$billing_circleThe billing circle details for the operator and circle.Object
$telecom_operatorName of the telecom operator.String
$telecom_circleName of the telecom circleString
$first_missed_agent_numberNumber of the agent who first missed the call.String
$first_missed_agent_follow_me_numberNumber of the agent who first missed the call.String
$end_timeEnd time of the callString
$aws_call_recording_identifierThe unique ID to identify saved call recordings on AWS.String

Call missed by Agent (Hangup)

The request variables for the above-mentioned trigger types are:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 61111f5e708c5.String
$call_to_numberThe dialed number of the customer. For example, 9180XXXXXXXX.String
$caller_id_numberThe caller ID visible to the customer. For example, 701XXXXXXX.String
$customer_number_with_prefixCustomer number with country code.String
$customer_numberCustomer numberString
$answered_agent_numberNumber of the agent who answered the callString
$answered_agent_nameName of the agent who answered the callString
$start_stampThe start time of the call. For example, 2021-08-09 17:58:44.String
$answer_stampThe answer time of the call on the server. For example, 2021-08-09 17:56:21.String
$end_stampThe end time of the call. For example, 2021-08-09 17:58:44.String
$hangup_causeThe hang-up reason for the call.String
$billsecThe billing criteria of the call as per the duration of the call in seconds. For example, 4.String
$digits_dialedThe array containing DTMF input. For example, 1.Array of Strings
$directionThe direction of the call and the possible values are:
  • inbound
  • outbound
String
$durationThe duration of the call. For example, 10.String
$answered_agentThe data of the agent who answered the call.
Note: Present in Call answered by Agent (Hangup) trigger type.
Object
$missed_agentThe data of the agent who missed the call.
Note: Present in Call missed by Agent (Hangup) trigger type.
Array of Object
$call_flowThe flow of the call.
Note: Present in Call answered by Agent (Hangup) trigger type.
Array
$broadcast_lead_fieldsDetails (name, email ID, phone number, address, etc) of the lead.String
$recording_urlThe URL for recording.String
$start_dateStart date of the call.String
$start_timeStart time of the agent.String
$call_connectedWhether or not the call is connected.Boolean
$broadcast_nameName of the broadcast campaign.String
$broadcast_idID of the broadcast campaign.STring
$bridged_duration
$call_statusStatus of the call. (Answered or Missed)String
$call_idThe call ID of the number that helps to track the different triggers for a particular call. For example,1628512094.7228905.String
$outbound_secThe duration of an outbound call. For example, 10.String
$agent_ring_timeThe duration for which the call was in a ringing state. For example, 10.String
$billing_circleThe billing circle details for the operator and circle.Object
$telecom_operatorName of the telecom operator.String
$telecom_circleName of the telecom circle.String
$first_missed_agent_numberNumber of the agent who first missed the call.String
$first_missed_agent_follow_me_numberNumber of the agent who first missed the call.String
$end_timeEnd time of the call.String
$aws_call_recording_identifierThe unique ID to identify saved call recordings on AWS.String

Call hangup (Missed or Answered)

The request variables for the above-mentioned trigger types are:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 61111f5e708c5.String
$call_to_numberThe dialed number of the customer. For example, 9180XXXXXXXX.String
$caller_id_numberThe caller ID visible to the customer. For example, 701XXXXXXX.String
$customer_number_with_prefixCustomer number with country code.String
$customer_numberCustomer number.String
$answered_agent_numberNumber of the agent who answered the call.String
$answered_agent_nameName of the agent who answered the call.String
$start_stampThe start time of the call. For example, 2021-08-09 17:58:44.String
$answer_stampThe answer time of the call on the server. For example, 2021-08-09 17:56:21.String
$end_stampThe end time of the call. For example, 2021-08-09 17:58:44.String
$hangup_causeThe hang-up reason for the call.String
$billsecThe billing criteria of the call as per the duration of the call in seconds. For example, 4.String
$digits_dialedThe array containing DTMF input. For example, 1.Array of Strings
$directionThe direction of the call and the possible values are:
  • inbound
  • outbound
String
$durationThe duration of the call. For example, 10.String
$answered_agentThe data of the agent who answered the call.
Note: Present in Call answered by Agent (Hangup) trigger type.
Object
$missed_agentThe data of the agent who missed the call.
Note: Present in Call missed by Agent (Hangup) trigger type.
Array of Object
$call_flowThe flow of the call.
Note: Present in Call answered by Agent (Hangup) trigger type.
Array
$broadcast_lead_fieldsDetails (name, email ID, phone number, address, etc) of the lead.String
$recording_urlThe URL for recording.String
$start_dateStart date of the call.String
$start_timeStart time of the call.String
$call_connectedWhether or not the call was connected.Boolean
$broadcast_nameName of the broadcast campaign.String
$broadcast_idID of the broadcast campaign.String
$bridged_duration
$call_statusStatus of the call. (Answered or Missed)String
$call_idThe call ID of the number that helps to track the different triggers for a particular call. For example,1628512094.7228905.String
$outbound_secThe duration of an outbound call. For example, 10.String
$agent_ring_timeThe duration for which the call was in a ringing state. For example, 10.String
$billing_circleThe billing circle details for the operator and circle.Object
$telecom_operatorName of the telecom operator.String
$telecom_circleName of the telecom circle.String
$first_missed_agent_numberNumber of the agent who first missed the call.String
$first_missed_agent_follow_me_numberNumber of the agent who first missed the call.String
$end_timeEnd time of the call.String
$aws_call_recording_identifierThe unique ID to identify saved call recordings on AWS.String

Call hangup (Answered)

The request variables for the above-mentioned trigger types are:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 61111f5e708c5.String
$call_to_numberThe dialed number of the customer. For example, 9180XXXXXXXX.String
$caller_id_numberThe caller ID visible to the customer. For example, 701XXXXXXX.String
$customer_number_with_prefixCustomer number with country code.String
$customer_numberCustomer number.String
$answered_agent_numberNumber of the agent who answered the call.String
$answered_agent_nameName of the agent who answered the call.String
$start_stampThe start time of the call. For example, 2021-08-09 17:58:44.String
$answer_stampThe answer time of the call on the server. For example, 2021-08-09 17:56:21.String
$end_stampThe end time of the call. For example, 2021-08-09 17:58:44.String
$hangup_causeThe hang-up reason for the call.String
$billsecThe billing criteria of the call as per the duration of the call in seconds. For example, 4.String
$digits_dialedThe array containing DTMF input. For example, 1.Array of Strings
$directionThe direction of the call and the possible values are:
  • inbound
  • outbound
String
$durationThe duration of the call. For example, 10.String
$answered_agentThe data of the agent who answered the call.
Note: Present in Call answered by Agent (Hangup) trigger type.
Object
$missed_agentThe data of the agent who missed the call.
Note: Present in Call missed by Agent (Hangup) trigger type.
Array of Object
$call_flowThe flow of the call.
Note: Present in Call answered by Agent (Hangup) trigger type.
Array
$broadcast_lead_fieldsDetails (name, email ID, phone number, address, etc) of the lead.String
$recording_urlThe URL for recording.String
$start_dateStart date of the call.String
$start_timeStart time of the call.String
$call_connectedWhether or not the call is connected.Boolean
$broadcast_nameName of the broadcast campaign.String
$broadcast_idID of the broadcast campaign.String
$bridged_duration
$call_statusStatus of the call. (Answered or Missed)String
$call_idThe call ID of the number that helps to track the different triggers for a particular call. For example,1628512094.7228905.String
$outbound_secThe duration of an outbound call. For example, 10.String
$agent_ring_timeThe duration for which the call was in a ringing state. For example, 10.String
$billing_circleThe billing circle details for the operator and circle.Object
$telecom_operatorName of the telecom operator.String
$telecom_circleName of the telecom circle.String
$first_missed_agent_numberNumber of the agent who first missed the call.String
$first_missed_agent_follow_me_numberNumber of the agent who first missed the call.String
$end_timeEnd time of the call.String
$aws_call_recording_identifierThe unique ID to identify saved call recordings on AWS.String

Call answered by Agent

Below-mentioned are the request variables for Call answered by Agent trigger type:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 61111f5e708c5.String
$call_to_numberThe dialed number of the customer. For example, 91806XXXXXXX.String
$caller_id_numberThe caller ID shown to the customer. For example, 98765XXXXXX.String
$start_stampThe date and time on which the call was received. For example, 2021-08-09 14:37:52.String
$answered_agent_numberThe number of the agent who answered the call. For example, 96432123XXX.String
$call_idThe call ID of the number that helps to identify the call and track different triggers for a particular call. For example,1628364922.6274679.String
$billing_circleThe billing circle details for the operator and circle.Object
$call_statusThe status of the call. For example, answered.String
$directionThe direction of the call. For example, click_to_call.String
$customer_no_with_prefixCustomer number with country code.String

Call answered on IVR

Below-mentioned are the request variables for Call answered on IVR trigger type:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 61111f5e708c5.String
$call_to_numberThe dialed number of the customer. For example, 91806XXXXXXX.String
$caller_id_numberThe caller ID shown to the customer. For example, 98765XXXXXX.String
$start_stampThe date and time on which the call was received. For example, 2021-08-09 14:37:52.String
$ivr_idThe unique ID of the IVR. For example, 3112.
Note: Present in Call Answered on IVR trigger type.
Integer
$ivr_nameThe name of the IVR through which the call has been received. For example, Election promotion IVR.String
$call_idThe call ID of the number that helps to identify the call and track different triggers for a particular call. For example,1628364922.6274679.String
$billing_circleThe billing circle details for the operator and circle.Object
$customer_no_with_prefixCustomer number with country code.String

DTMF Option

Below-mentioned are the request variables for the DTMF Option trigger type:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 61111f5e708c5.String
$call_to_numberThe dialed number of the customer. For example, 91806XXXXXXX.String
$caller_id_numberThe caller ID shown to the customer. For example, 98765XXXXXX.String
$dateThe time at which option is pressed. For example, 2021-08-10 01:43:47.String
$digit_pressedThe DTMF Options pressed by the customer. For example, 3.String
$call_idThe call ID of the number that helps to identify the call and track different triggers for a particular call. For example, 1628540022.7292026.String
$billing_circleThe billing circle details for the operator and circle.Object
$customer_no_with_prefixCustomer number with country code.String

Call hangup (Missed)

The request variables for the above-mentioned trigger types are:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 61111f5e708c5.String
$call_to_numberThe dialed number of the customer. For example, 9180XXXXXXXX.String
$caller_id_numberThe caller ID visible to the customer. For example, 701XXXXXXX.String
$customer_number_with_prefixCustomer number with country code.String
$customer_numberCustomer number.String
$answered_agent_numberNumber of the agent who answered the call.String
$answered_agent_nameName of the agent who answered the call.String
$start_stampThe start time of the call. For example, 2021-08-09 17:58:44.String
$answer_stampThe answer time of the call on the server. For example, 2021-08-09 17:56:21.String
$end_stampThe end time of the call. For example, 2021-08-09 17:58:44.String
$hangup_causeThe hang-up reason for the call.String
$billsecThe billing criteria of the call as per the duration of the call in seconds. For example, 4.String
$digits_dialedThe array containing DTMF input. For example, 1.Array of Strings
$directionThe direction of the call and the possible values are:
  • inbound
  • outbound
String
$durationThe duration of the call. For example, 10.String
$answered_agentThe data of the agent who answered the call.
Note: Present in Call answered by Agent (Hangup) trigger type.
Object
$missed_agentThe data of the agent who missed the call.
Note: Present in Call missed by Agent (Hangup) trigger type.
Array of Object
$call_flowThe flow of the call.
Note: Present in Call answered by Agent (Hangup) trigger type.
Array
$broadcast_lead_fieldsDetails (name, email ID, phone number, address, etc) of the lead.String
$recording_urlThe URL for recording.String
$start_dateStart date of the call.String
$start_timeStart time of the call.String
$call_connectedWhether the call is connected or not.Boolean
$broadcast_nameName of the broadcast campaign.String
$broadcast_idID of the broadcast campaign.String
$bridged_duration
$call_statusStatus of the call. (Answered or Missed)String
$call_idThe call ID of the number that helps to track the different triggers for a particular call. For example,1628512094.7228905.String
$outbound_secThe duration of an outbound call. For example, 10.String
$agent_ring_timeThe duration for which the call was in a ringing state. For example, 10.String
$billing_circleThe billing circle details for the operator and circle.Object
$telecom_operatorName of the telecom operator.String
$telecom_circleName of the telecom circle.String
$first_missed_agent_numberNumber of the agent who first missed the call.String
$first_missed_agent_follow_me_numberNumber of the agent who first missed the call.String
$end_timeEnd time of the call.String
$aws_call_recording_identifierThe unique ID to identify saved call recordings on AWS.String

Call received on Server

The request variables for the above-mentioned trigger types are:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 610edefd7b4dd.String
$call_to_numberThe destination number where the call will be transferred. For example, 918069010148.String
$caller_id_numberThe caller ID shown to the customer. For example, 701XXXXXXX.String
$start_stampThe start time of the call. For example, 2021-08-08 00:59:01.String
$call_idThe ID of the number that helps to identify the call and track different triggers for a particular call. For example, 1628364541.6274658.String
$billing_circleThe billing circle details for the operator and circle.Object
$customer_no_with_prefixCustomer number with country code.String

Dialed on Agent

The request variables for Dialed on Agent trigger type are:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection.For example, 61110678a4896.String
$call_to_numberThe destination number of the call. For example, 9180XXXXXXXX.String
$caller_id_numberThe number on which the client called. For example, 97XXXXXXXX.String
$dateThe date and time at which agent is called. For example, 2021-08-09 16:12:00.String
$call_flowThe complete call flow of how the call reached the agent.
Note: Present only if the call is answered by an agent.
Array
$dept_nameThe names of the department which received the calls. For example, Sales Department.
Note: Present in case the call was received on at least one department.
Array of strings
$ivr_nameThe names of the IVRs which received the call. For example, Election Promotion IVR.
Note: Present in case the call was received on at least one IVR.
Array of strings
$call_idThe call ID of the number that helps to track the different triggers for a particular call. For example, 1628505720.7070048.String
$billing_circleThe billing circle details for the operator and circle.Object
$agent_numberThe agent phone number on which the call will be received. For example, +918383081442.String
$agent_name"The name of the agent who will receive the call. For example, Dhawanas.String
$customer_no_with_prefixCustomer number with country code.String

Call received on Department

The request variables for Received on Department trigger type are:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 610ee07a48b18.String
$call_to_numberThe number on which the client called. For example, 918069010148.String
$caller_id_numberThe number of the client. For example, 701XXXXXXX.String
$dateThe date and time on which the call was received. For example, 2021-08-09.String
$call_flowThe complete call flow of how call reached the department.Array
$dept_idThe unique ID of the department. For example, 6999.String
$dept_nameThe name of the department. For example, Demo DepartmentString
$ivr_nameThe name of the IVR through which the call has been received. For example, Election promotion IVR.String
$call_idThe call ID of the number that helps to identify the call and track different triggers for a particular call. For example,1628364922.6274679.String
$billing_circleThe billing circle details for the operator and circle.Object
$customer_no_with_prefixCustomer number with country code.String

Call received on Auto Attendant

The request variables for Received on Auto Attendant trigger type are:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 6110f5411fa02.String
$call_to_numberThe number on which client called. For example, 80XXXXXXXX.String
$caller_id_numberThe number of the client. For example, 70XXXXXXXX.String
$start_stampThe date and time on which the call was received. For example, 2021-08-09 14:58:32.String
$auto_attendant_idThe unique ID of auto attendant. For example, 3649.String
$auto_attendant_nameThe name of auto attendant. For example, Festival sale auto attendant.String
$call_idThe call ID of the number that helps to track the different triggers for a particular call. For example,1628501312.6959347.String
$billing_circleThe billing circle details for the operator and circle.Object
$customer_no_with_prefixCustomer number with country code.String

Call answered by Customer (Click to Call)

The request variables for Call Answered by Customer trigger type are:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 6110f068a4139String
$call_to_numberThe dialed number of the customer. For example, 701XXXXXXX.String
$caller_id_numberThe caller ID shown to the customer. For example, 918069010102String
$start_stampThe date and time on which the call was received. For example, 2021-08-09 14:37:52.String
$directionThe direction of the call. For example, click_to_call.String
$answer_agent_numberThe number of agent who answered the call. For example, 918383081442.String
$billing_circleThe billing circle details for the operator and circle.Object
$call_statusThe status of the call.
Note: Herein the status will be "answered by customer".
String
$customer_no_with_prefixCustomer number with country code.String

Disposition Status Updated (Dialer)

The response variables for Disposition Status Updated (Dialer) for both inbound and outbound calls are:

Variable NameDescriptionData Type
$call_idThe call ID of the number that helps to identify the call and track different triggers for a particular call. For example, 1628540022.7292026.String
$call_to_numberThe dialed number of the customer. For example, 701XXXXXXX.String
$caller_id_numberThe caller ID shown to the customer. For example, 918069010102String
$start_stampThe date and time at which the call started. For example, 2021-08-09 14:58:32.String
$start_dateThe date on which the call started. For example, 2021-08-09String
$start_timeThe time at which the call started. For example,16:12:00.String
$end_stampThe date and time on which the call ended. For example, 2021-08-09 14:58:32.String
$end_dateThe date on which the call ended. For example, 2021-08-09String
$end_timeThe time at which call ended. For example,16:12:00.String
$directionThe direction of the call and the possible values are:
  • inbound
  • outbound
String
$durationThe duration of the call in seconds. For example,12.String
$call_flowThe complete call flow of how the call reached the agent and customer.String
$lead_fieldsThe lead list fields of a lead in the dialer campaign.String
$campaign_nameThe name of the dialer campaign. For example, Demo campaign.String
$campaign_idThe ID of dialer campaign. For example, 1213334.String
$billing_circleThe billing circle details for the operator and circle.Object
$agentThe agent assigned to the dialer campaign. For example, Demo Agent.String
$agent_nameName of the agent assigned to the dialer campaign.String
$agent_numberNumber of the agent assigned to the dialer campaign.String
$dispositionThe disposition status for a call set by the agent in the dialer panel. For example, Hangup.String
sub_dispositonFurther division of disposition status. For example, if the disposition status is "Answered" then sub disposition status could be "Interested" or "Not Interested".String
customer_no_with_prefixCustomer number with country code.String

Call Connected to Agent (Dialer)

The response variables for Call Connected to Agent (Dialer) for both inbound and outbound calls are:

Variable NameDescriptionData Type
$call_idThe call ID of the number that helps to identify the call and track different triggers for a particular call. For example, 1628540022.7292026.String
$call_to_numberThe dialed number of the customer. For example, 701XXXXXXX.String
$caller_id_numberThe caller ID shown to the customer. For example, 918069010102String
$start_stampThe date and time at which call started. For example, 2021-08-09 14:58:32.String
$start_dateThe date on which call started. For example, 2021-08-09String
$start_timeThe time at which call started. For example,16:12:00.String
$directionThe direction of the call and the possible values are:
  • inbound
  • outbound
String
$call_flowThe complete call flow of how the call reached the agent and customer.String
$lead_fieldsThe lead list fields of a lead in the dialer campaign.String
$campaign_nameThe name of the dialer campaign.String
$campaign_idThe ID of dialer campaign. For example, 1213334.String
$billing_circleThe billing circle details for the operator and circle.Object
$agentThe agent assigned to the dialer campaign. For example, Demo Agent.String
$agent_nameName of the agent assigned to the dialer campaign.String
$agent_numberNumber of the agent assigned to the dialer campaign.String
customer_no_with_prefixCustomer number with country code.String

Call missed by Customer (Click to Call)

The request variables for Call missed by Customer (Click to Call) trigger type are:

Variable NameDescriptionData Type
$uuidThe call ID of the number that varies for each call connection. For example, 6110f068a4139String
$call_to_numberThe dialed number of the customer. For example, 701XXXXXXX.String
$caller_id_numberThe caller ID shown to the customer. For example, 918069010102String
$customer_numberPhone number of the customerString
$start_stampThe date and time on which the call was received. For example, 2021-08-09 14:37:52.String
$answer_stampThe date and time on which the call was answered. For example, 2021-09-09 14:38:30.String
$end_stampThe date and time on which the call ended. For example, 2021-08-09 14:58:32.String
$hangup_causeThe hang-up reason for the call.String
$billsecThe billing criteria of the call as per the duration of the call in seconds. For example, 4.String
$directionThe direction of the call and the possible values are:
  • inbound
  • outbound
String
$durationThe duration of the call in seconds. For example,12.String
$answered_agent{}The name of the agent who answered the call. For example, John.String
$call_flowThe complete call flow of how the call reached the agent.
Note: Present only if the call is answered by an agent.
Array
$recording_urlThe URL for recording.String
$call_statusThe status of the call. For example, Answered.String
$call_idThe call ID of the number that helps to identify the call and track different triggers for a particular call. For example, 1628540022.7292026.String
$billing_circleThe billing circle details for the operator and circle.Object
$aws_call_recording_identifierThe unique ID to identify saved call recordings on AWS.String
customer_no_with_prefixCustomer number with country code.String