Webhooks
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.
- 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 Name | Description | Call Type |
---|---|---|
Call received on Server | When a call is received on the server. | Inbound |
Call answered on IVR | When a call is answered on IVR. | Inbound and Outbound |
Call answered by Agent | When 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 Option | When the DTMF option is pressed on IVR. | Inbound and Outbound |
Dialed on Agent | When a call is dialed on an agent. | Inbound |
Call received on Department | When a call is received on the department. | Inbound |
Call received on Auto Attendant | When 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 Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 61111f5e708c5. | String |
$call_to_number | The dialed number of the customer. For example, 9180XXXXXXXX. | String |
$caller_id_number | The caller ID visible to the customer. For example, 701XXXXXXX. | String |
$customer_number_with_prefix | Customer number with country code. | String |
$customer_number | Customer number | String |
$answered_agent_number | Number of the agent who answered the call. | String |
$answered_agent_name | Name of the agent who answered the call. | String |
$start_stamp | The start time of the call. For example, 2021-08-09 17:58:44. | String |
$answer_stamp | The answer time of the call on the server. For example, 2021-08-09 17:56:21. | String |
$end_stamp | The end time of the call. For example, 2021-08-09 17:58:44. | String |
$hangup_cause | The hang-up reason for the call. | String |
$billsec | The billing criteria of the call as per the duration of the call in seconds. For example, 4. | String |
$digits_dialed | The array containing DTMF input. For example, 1. | Array of Strings |
$direction | The direction of the call and the possible values are:
| String |
$duration | The duration of the call. For example, 10. | String |
$answered_agent | The data of the agent who answered the call. Note: Present in Call answered by Agent (Hangup) trigger type. | Object |
$missed_agent | The data of the agent who missed the call. Note: Present in Call missed by Agent (Hangup) trigger type. | Array of Object |
$call_flow | The flow of the call. Note: Present in Call answered by Agent (Hangup) trigger type. | Array |
$broadcast_lead_fields | Details (name, email ID, phone number, address, etc) of the lead. | String |
$recording_url | The URL for recording. | String |
$start_date | Start date of the call. | String |
$start_time | Start time of the call. | String |
$call_connected | Whether the call is connected or not. | Boolean |
$broadcast_name | Name of the broadcast campaign | String |
$broadcast_id | ID of the broadcast campaign | String |
$bridged_duration | ||
$call_status | Status of the call. (Answered or Missed) | String |
$call_id | The call ID of the number that helps to track the different triggers for a particular call. For example,1628512094.7228905. | String |
$outbound_sec | The duration of an outbound call. For example, 10. | String |
$agent_ring_time | The duration for which the call was in a ringing state. For example, 10. | String |
$billing_circle | The billing circle details for the operator and circle. | Object |
$telecom_operator | Name of the telecom operator. | String |
$telecom_circle | Name of the telecom circle | String |
$first_missed_agent_number | Number of the agent who first missed the call. | String |
$first_missed_agent_follow_me_number | Number of the agent who first missed the call. | String |
$end_time | End time of the call | String |
$aws_call_recording_identifier | The 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 Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 61111f5e708c5. | String |
$call_to_number | The dialed number of the customer. For example, 9180XXXXXXXX. | String |
$caller_id_number | The caller ID visible to the customer. For example, 701XXXXXXX. | String |
$customer_number_with_prefix | Customer number with country code. | String |
$customer_number | Customer number | String |
$answered_agent_number | Number of the agent who answered the call | String |
$answered_agent_name | Name of the agent who answered the call | String |
$start_stamp | The start time of the call. For example, 2021-08-09 17:58:44. | String |
$answer_stamp | The answer time of the call on the server. For example, 2021-08-09 17:56:21. | String |
$end_stamp | The end time of the call. For example, 2021-08-09 17:58:44. | String |
$hangup_cause | The hang-up reason for the call. | String |
$billsec | The billing criteria of the call as per the duration of the call in seconds. For example, 4. | String |
$digits_dialed | The array containing DTMF input. For example, 1. | Array of Strings |
$direction | The direction of the call and the possible values are:
| String |
$duration | The duration of the call. For example, 10. | String |
$answered_agent | The data of the agent who answered the call. Note: Present in Call answered by Agent (Hangup) trigger type. | Object |
$missed_agent | The data of the agent who missed the call. Note: Present in Call missed by Agent (Hangup) trigger type. | Array of Object |
$call_flow | The flow of the call. Note: Present in Call answered by Agent (Hangup) trigger type. | Array |
$broadcast_lead_fields | Details (name, email ID, phone number, address, etc) of the lead. | String |
$recording_url | The URL for recording. | String |
$start_date | Start date of the call. | String |
$start_time | Start time of the agent. | String |
$call_connected | Whether or not the call is connected. | Boolean |
$broadcast_name | Name of the broadcast campaign. | String |
$broadcast_id | ID of the broadcast campaign. | STring |
$bridged_duration | ||
$call_status | Status of the call. (Answered or Missed) | String |
$call_id | The call ID of the number that helps to track the different triggers for a particular call. For example,1628512094.7228905. | String |
$outbound_sec | The duration of an outbound call. For example, 10. | String |
$agent_ring_time | The duration for which the call was in a ringing state. For example, 10. | String |
$billing_circle | The billing circle details for the operator and circle. | Object |
$telecom_operator | Name of the telecom operator. | String |
$telecom_circle | Name of the telecom circle. | String |
$first_missed_agent_number | Number of the agent who first missed the call. | String |
$first_missed_agent_follow_me_number | Number of the agent who first missed the call. | String |
$end_time | End time of the call. | String |
$aws_call_recording_identifier | The 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 Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 61111f5e708c5. | String |
$call_to_number | The dialed number of the customer. For example, 9180XXXXXXXX. | String |
$caller_id_number | The caller ID visible to the customer. For example, 701XXXXXXX. | String |
$customer_number_with_prefix | Customer number with country code. | String |
$customer_number | Customer number. | String |
$answered_agent_number | Number of the agent who answered the call. | String |
$answered_agent_name | Name of the agent who answered the call. | String |
$start_stamp | The start time of the call. For example, 2021-08-09 17:58:44. | String |
$answer_stamp | The answer time of the call on the server. For example, 2021-08-09 17:56:21. | String |
$end_stamp | The end time of the call. For example, 2021-08-09 17:58:44. | String |
$hangup_cause | The hang-up reason for the call. | String |
$billsec | The billing criteria of the call as per the duration of the call in seconds. For example, 4. | String |
$digits_dialed | The array containing DTMF input. For example, 1. | Array of Strings |
$direction | The direction of the call and the possible values are:
| String |
$duration | The duration of the call. For example, 10. | String |
$answered_agent | The data of the agent who answered the call. Note: Present in Call answered by Agent (Hangup) trigger type. | Object |
$missed_agent | The data of the agent who missed the call. Note: Present in Call missed by Agent (Hangup) trigger type. | Array of Object |
$call_flow | The flow of the call. Note: Present in Call answered by Agent (Hangup) trigger type. | Array |
$broadcast_lead_fields | Details (name, email ID, phone number, address, etc) of the lead. | String |
$recording_url | The URL for recording. | String |
$start_date | Start date of the call. | String |
$start_time | Start time of the call. | String |
$call_connected | Whether or not the call was connected. | Boolean |
$broadcast_name | Name of the broadcast campaign. | String |
$broadcast_id | ID of the broadcast campaign. | String |
$bridged_duration | ||
$call_status | Status of the call. (Answered or Missed) | String |
$call_id | The call ID of the number that helps to track the different triggers for a particular call. For example,1628512094.7228905. | String |
$outbound_sec | The duration of an outbound call. For example, 10. | String |
$agent_ring_time | The duration for which the call was in a ringing state. For example, 10. | String |
$billing_circle | The billing circle details for the operator and circle. | Object |
$telecom_operator | Name of the telecom operator. | String |
$telecom_circle | Name of the telecom circle. | String |
$first_missed_agent_number | Number of the agent who first missed the call. | String |
$first_missed_agent_follow_me_number | Number of the agent who first missed the call. | String |
$end_time | End time of the call. | String |
$aws_call_recording_identifier | The unique ID to identify saved call recordings on AWS. | String |
Call hangup (Answered)
The request variables for the above-mentioned trigger types are:
Variable Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 61111f5e708c5. | String |
$call_to_number | The dialed number of the customer. For example, 9180XXXXXXXX. | String |
$caller_id_number | The caller ID visible to the customer. For example, 701XXXXXXX. | String |
$customer_number_with_prefix | Customer number with country code. | String |
$customer_number | Customer number. | String |
$answered_agent_number | Number of the agent who answered the call. | String |
$answered_agent_name | Name of the agent who answered the call. | String |
$start_stamp | The start time of the call. For example, 2021-08-09 17:58:44. | String |
$answer_stamp | The answer time of the call on the server. For example, 2021-08-09 17:56:21. | String |
$end_stamp | The end time of the call. For example, 2021-08-09 17:58:44. | String |
$hangup_cause | The hang-up reason for the call. | String |
$billsec | The billing criteria of the call as per the duration of the call in seconds. For example, 4. | String |
$digits_dialed | The array containing DTMF input. For example, 1. | Array of Strings |
$direction | The direction of the call and the possible values are:
| String |
$duration | The duration of the call. For example, 10. | String |
$answered_agent | The data of the agent who answered the call. Note: Present in Call answered by Agent (Hangup) trigger type. | Object |
$missed_agent | The data of the agent who missed the call. Note: Present in Call missed by Agent (Hangup) trigger type. | Array of Object |
$call_flow | The flow of the call. Note: Present in Call answered by Agent (Hangup) trigger type. | Array |
$broadcast_lead_fields | Details (name, email ID, phone number, address, etc) of the lead. | String |
$recording_url | The URL for recording. | String |
$start_date | Start date of the call. | String |
$start_time | Start time of the call. | String |
$call_connected | Whether or not the call is connected. | Boolean |
$broadcast_name | Name of the broadcast campaign. | String |
$broadcast_id | ID of the broadcast campaign. | String |
$bridged_duration | ||
$call_status | Status of the call. (Answered or Missed) | String |
$call_id | The call ID of the number that helps to track the different triggers for a particular call. For example,1628512094.7228905. | String |
$outbound_sec | The duration of an outbound call. For example, 10. | String |
$agent_ring_time | The duration for which the call was in a ringing state. For example, 10. | String |
$billing_circle | The billing circle details for the operator and circle. | Object |
$telecom_operator | Name of the telecom operator. | String |
$telecom_circle | Name of the telecom circle. | String |
$first_missed_agent_number | Number of the agent who first missed the call. | String |
$first_missed_agent_follow_me_number | Number of the agent who first missed the call. | String |
$end_time | End time of the call. | String |
$aws_call_recording_identifier | The 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 Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 61111f5e708c5. | String |
$call_to_number | The dialed number of the customer. For example, 91806XXXXXXX. | String |
$caller_id_number | The caller ID shown to the customer. For example, 98765XXXXXX. | String |
$start_stamp | The date and time on which the call was received. For example, 2021-08-09 14:37:52. | String |
$answered_agent_number | The number of the agent who answered the call. For example, 96432123XXX. | String |
$call_id | The 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_circle | The billing circle details for the operator and circle. | Object |
$call_status | The status of the call. For example, answered. | String |
$direction | The direction of the call. For example, click_to_call. | String |
$customer_no_with_prefix | Customer number with country code. | String |
Call answered on IVR
Below-mentioned are the request variables for Call answered on IVR trigger type:
Variable Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 61111f5e708c5. | String |
$call_to_number | The dialed number of the customer. For example, 91806XXXXXXX. | String |
$caller_id_number | The caller ID shown to the customer. For example, 98765XXXXXX. | String |
$start_stamp | The date and time on which the call was received. For example, 2021-08-09 14:37:52. | String |
$ivr_id | The unique ID of the IVR. For example, 3112. Note: Present in Call Answered on IVR trigger type. | Integer |
$ivr_name | The name of the IVR through which the call has been received. For example, Election promotion IVR. | String |
$call_id | The 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_circle | The billing circle details for the operator and circle. | Object |
$customer_no_with_prefix | Customer number with country code. | String |
DTMF Option
Below-mentioned are the request variables for the DTMF Option trigger type:
Variable Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 61111f5e708c5. | String |
$call_to_number | The dialed number of the customer. For example, 91806XXXXXXX. | String |
$caller_id_number | The caller ID shown to the customer. For example, 98765XXXXXX. | String |
$date | The time at which option is pressed. For example, 2021-08-10 01:43:47. | String |
$digit_pressed | The DTMF Options pressed by the customer. For example, 3. | String |
$call_id | The 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_circle | The billing circle details for the operator and circle. | Object |
$customer_no_with_prefix | Customer number with country code. | String |
Call hangup (Missed)
The request variables for the above-mentioned trigger types are:
Variable Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 61111f5e708c5. | String |
$call_to_number | The dialed number of the customer. For example, 9180XXXXXXXX. | String |
$caller_id_number | The caller ID visible to the customer. For example, 701XXXXXXX. | String |
$customer_number_with_prefix | Customer number with country code. | String |
$customer_number | Customer number. | String |
$answered_agent_number | Number of the agent who answered the call. | String |
$answered_agent_name | Name of the agent who answered the call. | String |
$start_stamp | The start time of the call. For example, 2021-08-09 17:58:44. | String |
$answer_stamp | The answer time of the call on the server. For example, 2021-08-09 17:56:21. | String |
$end_stamp | The end time of the call. For example, 2021-08-09 17:58:44. | String |
$hangup_cause | The hang-up reason for the call. | String |
$billsec | The billing criteria of the call as per the duration of the call in seconds. For example, 4. | String |
$digits_dialed | The array containing DTMF input. For example, 1. | Array of Strings |
$direction | The direction of the call and the possible values are:
| String |
$duration | The duration of the call. For example, 10. | String |
$answered_agent | The data of the agent who answered the call. Note: Present in Call answered by Agent (Hangup) trigger type. | Object |
$missed_agent | The data of the agent who missed the call. Note: Present in Call missed by Agent (Hangup) trigger type. | Array of Object |
$call_flow | The flow of the call. Note: Present in Call answered by Agent (Hangup) trigger type. | Array |
$broadcast_lead_fields | Details (name, email ID, phone number, address, etc) of the lead. | String |
$recording_url | The URL for recording. | String |
$start_date | Start date of the call. | String |
$start_time | Start time of the call. | String |
$call_connected | Whether the call is connected or not. | Boolean |
$broadcast_name | Name of the broadcast campaign. | String |
$broadcast_id | ID of the broadcast campaign. | String |
$bridged_duration | ||
$call_status | Status of the call. (Answered or Missed) | String |
$call_id | The call ID of the number that helps to track the different triggers for a particular call. For example,1628512094.7228905. | String |
$outbound_sec | The duration of an outbound call. For example, 10. | String |
$agent_ring_time | The duration for which the call was in a ringing state. For example, 10. | String |
$billing_circle | The billing circle details for the operator and circle. | Object |
$telecom_operator | Name of the telecom operator. | String |
$telecom_circle | Name of the telecom circle. | String |
$first_missed_agent_number | Number of the agent who first missed the call. | String |
$first_missed_agent_follow_me_number | Number of the agent who first missed the call. | String |
$end_time | End time of the call. | String |
$aws_call_recording_identifier | The 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 Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 610edefd7b4dd. | String |
$call_to_number | The destination number where the call will be transferred. For example, 918069010148. | String |
$caller_id_number | The caller ID shown to the customer. For example, 701XXXXXXX. | String |
$start_stamp | The start time of the call. For example, 2021-08-08 00:59:01. | String |
$call_id | The ID of the number that helps to identify the call and track different triggers for a particular call. For example, 1628364541.6274658. | String |
$billing_circle | The billing circle details for the operator and circle. | Object |
$customer_no_with_prefix | Customer number with country code. | String |
Dialed on Agent
The request variables for Dialed on Agent trigger type are:
Variable Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection.For example, 61110678a4896. | String |
$call_to_number | The destination number of the call. For example, 9180XXXXXXXX. | String |
$caller_id_number | The number on which the client called. For example, 97XXXXXXXX. | String |
$date | The date and time at which agent is called. For example, 2021-08-09 16:12:00. | String |
$call_flow | The complete call flow of how the call reached the agent. Note: Present only if the call is answered by an agent. | Array |
$dept_name | The 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_name | The 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_id | The call ID of the number that helps to track the different triggers for a particular call. For example, 1628505720.7070048. | String |
$billing_circle | The billing circle details for the operator and circle. | Object |
$agent_number | The 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_prefix | Customer number with country code. | String |
Call received on Department
The request variables for Received on Department trigger type are:
Variable Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 610ee07a48b18. | String |
$call_to_number | The number on which the client called. For example, 918069010148. | String |
$caller_id_number | The number of the client. For example, 701XXXXXXX. | String |
$date | The date and time on which the call was received. For example, 2021-08-09. | String |
$call_flow | The complete call flow of how call reached the department. | Array |
$dept_id | The unique ID of the department. For example, 6999. | String |
$dept_name | The name of the department. For example, Demo Department | String |
$ivr_name | The name of the IVR through which the call has been received. For example, Election promotion IVR. | String |
$call_id | The 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_circle | The billing circle details for the operator and circle. | Object |
$customer_no_with_prefix | Customer number with country code. | String |
Call received on Auto Attendant
The request variables for Received on Auto Attendant trigger type are:
Variable Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 6110f5411fa02. | String |
$call_to_number | The number on which client called. For example, 80XXXXXXXX. | String |
$caller_id_number | The number of the client. For example, 70XXXXXXXX. | String |
$start_stamp | The date and time on which the call was received. For example, 2021-08-09 14:58:32. | String |
$auto_attendant_id | The unique ID of auto attendant. For example, 3649. | String |
$auto_attendant_name | The name of auto attendant. For example, Festival sale auto attendant. | String |
$call_id | The call ID of the number that helps to track the different triggers for a particular call. For example,1628501312.6959347. | String |
$billing_circle | The billing circle details for the operator and circle. | Object |
$customer_no_with_prefix | Customer number with country code. | String |
Call answered by Customer (Click to Call)
The request variables for Call Answered by Customer trigger type are:
Variable Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 6110f068a4139 | String |
$call_to_number | The dialed number of the customer. For example, 701XXXXXXX. | String |
$caller_id_number | The caller ID shown to the customer. For example, 918069010102 | String |
$start_stamp | The date and time on which the call was received. For example, 2021-08-09 14:37:52. | String |
$direction | The direction of the call. For example, click_to_call. | String |
$answer_agent_number | The number of agent who answered the call. For example, 918383081442. | String |
$billing_circle | The billing circle details for the operator and circle. | Object |
$call_status | The status of the call. Note: Herein the status will be "answered by customer". | String |
$customer_no_with_prefix | Customer 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 Name | Description | Data Type |
---|---|---|
$call_id | The 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_number | The dialed number of the customer. For example, 701XXXXXXX. | String |
$caller_id_number | The caller ID shown to the customer. For example, 918069010102 | String |
$start_stamp | The date and time at which the call started. For example, 2021-08-09 14:58:32. | String |
$start_date | The date on which the call started. For example, 2021-08-09 | String |
$start_time | The time at which the call started. For example,16:12:00. | String |
$end_stamp | The date and time on which the call ended. For example, 2021-08-09 14:58:32. | String |
$end_date | The date on which the call ended. For example, 2021-08-09 | String |
$end_time | The time at which call ended. For example,16:12:00. | String |
$direction | The direction of the call and the possible values are:
| String |
$duration | The duration of the call in seconds. For example,12. | String |
$call_flow | The complete call flow of how the call reached the agent and customer. | String |
$lead_fields | The lead list fields of a lead in the dialer campaign. | String |
$campaign_name | The name of the dialer campaign. For example, Demo campaign. | String |
$campaign_id | The ID of dialer campaign. For example, 1213334. | String |
$billing_circle | The billing circle details for the operator and circle. | Object |
$agent | The agent assigned to the dialer campaign. For example, Demo Agent. | String |
$agent_name | Name of the agent assigned to the dialer campaign. | String |
$agent_number | Number of the agent assigned to the dialer campaign. | String |
$disposition | The disposition status for a call set by the agent in the dialer panel. For example, Hangup. | String |
sub_dispositon | Further 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_prefix | Customer 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 Name | Description | Data Type |
---|---|---|
$call_id | The 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_number | The dialed number of the customer. For example, 701XXXXXXX. | String |
$caller_id_number | The caller ID shown to the customer. For example, 918069010102 | String |
$start_stamp | The date and time at which call started. For example, 2021-08-09 14:58:32. | String |
$start_date | The date on which call started. For example, 2021-08-09 | String |
$start_time | The time at which call started. For example,16:12:00. | String |
$direction | The direction of the call and the possible values are:
| String |
$call_flow | The complete call flow of how the call reached the agent and customer. | String |
$lead_fields | The lead list fields of a lead in the dialer campaign. | String |
$campaign_name | The name of the dialer campaign. | String |
$campaign_id | The ID of dialer campaign. For example, 1213334. | String |
$billing_circle | The billing circle details for the operator and circle. | Object |
$agent | The agent assigned to the dialer campaign. For example, Demo Agent. | String |
$agent_name | Name of the agent assigned to the dialer campaign. | String |
$agent_number | Number of the agent assigned to the dialer campaign. | String |
customer_no_with_prefix | Customer 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 Name | Description | Data Type |
---|---|---|
$uuid | The call ID of the number that varies for each call connection. For example, 6110f068a4139 | String |
$call_to_number | The dialed number of the customer. For example, 701XXXXXXX. | String |
$caller_id_number | The caller ID shown to the customer. For example, 918069010102 | String |
$customer_number | Phone number of the customer | String |
$start_stamp | The date and time on which the call was received. For example, 2021-08-09 14:37:52. | String |
$answer_stamp | The date and time on which the call was answered. For example, 2021-09-09 14:38:30. | String |
$end_stamp | The date and time on which the call ended. For example, 2021-08-09 14:58:32. | String |
$hangup_cause | The hang-up reason for the call. | String |
$billsec | The billing criteria of the call as per the duration of the call in seconds. For example, 4. | String |
$direction | The direction of the call and the possible values are:
| String |
$duration | The 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_flow | The complete call flow of how the call reached the agent. Note: Present only if the call is answered by an agent. | Array |
$recording_url | The URL for recording. | String |
$call_status | The status of the call. For example, Answered. | String |
$call_id | The 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_circle | The billing circle details for the operator and circle. | Object |
$aws_call_recording_identifier | The unique ID to identify saved call recordings on AWS. | String |
customer_no_with_prefix | Customer number with country code. | String |
Updated 16 days ago