{primary} Webhooks allow for the call data generated by your Calldrip Account to be sent to a location of your choosing (i.e. your chosen CRM).
After an agent presses 1 and/or after the call, we send the call data in either JSON or XML format to the specified endpoint. These parameters can be added or changed via your Calldrip Account.


{primary} Webhook Setup Key Definitions:
"Endpoint" : URL you want the data to be sent to
"Data Format" : Data can be sent in JSON or XML
"Add to" : Pick which Calldrip flows to add 'Agent Presses 1' and/or 'After the Call' webhooks to.
Calldrip's Webhook Integration Page
{success} Flow Types:
"Inbound" : Leads that call a Number
"Outbound" : Leads we turned into a call (Webleads, Email Parsing, Leads via Integrations)You do not need to add flows to Call Notes, Scoring, or Coaching!
{primary} OAuth 2.0 authentication can be configured after the webhook integration is enabled. When configured, Calldrip will automatically obtain and refresh access tokens and include them as a
Bearertoken in theAuthorizationheader of each outgoing webhook request.
Two grant types are supported:
client_id and client_secret to request a token directly from the token endpoint. No user interaction required.authorization_url and involves a redirect flow to obtain an authorization code before exchanging it for a token.| Field | Required | Description |
|---|---|---|
| grant_type | Yes | Either client_credentials or authorization_code |
| token_url | Yes | The OAuth 2.0 token endpoint URL used to obtain access tokens |
| client_id | Yes | Your OAuth 2.0 application client ID |
| client_secret | Yes (on create) | Your OAuth 2.0 application client secret. Stored encrypted. Leave blank when updating to keep the existing secret. |
| authorization_url | Required for authorization_code |
The OAuth 2.0 authorization endpoint URL. Only used with the Authorization Code grant type. |
| scopes | No | Comma-separated list of OAuth scopes to request (optional) |
| extra_auth_parameters | No | Additional parameters to include in the token request, as a JSON object. Example: {"resource": "https://api.example.com"} |
{success} Redirect URL: When using the Authorization Code grant type, configure your OAuth provider to allow Calldrip's redirect URL. This URL is displayed on the webhook integration settings page under "OAuth 2.0 Authentication."
{primary} Custom headers can be configured after the webhook integration is enabled. They are added to every outgoing webhook request, regardless of trigger type (Agent Presses 1, After the Call, etc.).
Custom headers are provided as a JSON object of key-value string pairs.
Example:
{"X-Api-Key": "verySecureApiKey"}
{"Authorization": "Bearer myStaticToken", "X-Custom-Header": "value"}
{warning} If a custom header named
Authorizationis included, it will overwrite anyAuthorizationheader set by the OAuth 2.0 configuration. Use one or the other, not both, for authentication.
| Parameter | Description |
|---|---|
| Calldata | Call Obj Data |
| calldrip_account_id | Calldrip's account ID the call belongs to |
| calldrip_account_name | Your Account's Name |
| calldrip_organization_id | Calldrip's organization ID the account belongs to |
| lead | Lead Obj |
| id | Calldrip's lead ID |
| alternate_id | Unique ID from lead source **(ex. Your CRM's lead ID)** |
| first_name | Lead's first name |
| last_name | Lead's last name |
| phone_number | Lead's phone number |
| Lead's email address | |
| notes | Notes from lead |
| agent | Agent Obj |
| id | Calldrip's agent ID *will be null if no Agent Answers call. |
| alternate_id | Unique Agent Id (ex. Your CRM's Agent ID)** |
| first_name | Agent's first name |
| last_name | Agent's last name |
| phone_number | Agent's phone number |
| Agent's email address | |
| call | Call Obj |
| id | Calldrip's call ID |
| source_id | Calldrip's source ID |
| source_name | Name of the source the lead is from |
| attempts | How many attempts were made on Call |
| duration | Duration of the call in seconds **(seconds)** |
| recording_url | URL for the call recording |
| inbound | Is Call inbound, boolean (0, 1) |
| outbound | Is Call outbound, boolean (0, 1) |
| clicktocall | Is Call to call, boolean (0, 1) |
| whisper | Automated message given when call is first answered by agent |
| status | Call status Options: Talking, Answered, Attempted, After Hours, Not Called, Failover |
| answered_by | Call Answered By. User's Name or If Agent Data is Null it will have the Final destination number or the BDC Name |
| response_time | Response time call is answered in seconds **(seconds)** |
| origination_time | Call Origination Time; when the call came in **(24-hr UTC)** |
| date_received | Date the call was received **(2022-02-20, YYYY-MM-DD)** |
| time_received | Time the call was received **(18:29:31, 24-hr UTC)** |
| vehicle_data | Vehicle Obj |
| vehicle_of_interest | Interested vehicle Obj |
| year | Year of interested vehicle |
| make | Make of interested vehicle |
| model | Model of interested vehicle |
| vin | Vin of interested vehicle |
| registration_number | Registration number of interested vehicle |
| status | Status of interested vehicle |
| tradein | Trade in vehicle Obj |
| year | Year of trade in |
| make | Make of trade in |
| model | Model of trade in |
| vin | Vin of trade in |
| registration_number | Registration number of trade in |
| status | Status of trade in |
| call_note | Call Note Obj (Additional Notes sent after call) |
| id | Calldrip's note ID |
| note | Note message (250 Char limit) |
| agent_id | Calldrip's agent ID |
| alternate_id | Your unique ID for user **(ex. Your CRM User's ID)** |
| created_at | Note Created Date **(2022-02-20 18:29:31)** |
| scored_call | Call Scoring Obj (Additional data sent after call is Scored) |
| alert_tags | Alert tags associated with call |
| goal_tags | Goal tags associated with call |
| score_tags | Score tags associated with call |
| opportunity | If call was opportunity, Boolean (0, 1) |
| result | Scorecard result |
| note | Scored notes summary |
| created_at | Scored Date **(2022-02-20 18:29:31)** |
| coached_call | Call Coaching Obj (Additional data sent after call is Coahced) |
| coached_by | Name of person who coached call |
| note | Notes summary from coached call |
| recording | Link to call recording and coach recording |
| created_at | Coached Date **(2022-02-20 18:29:31)** |
{primary} This Webhook is will send data to an endpoint when the agent presses 1 before the call is connected to the lead.
Some data may be listed as null or blank & will have more data on the after the call webhook. (ex. call.duration, call.recording)
{
"calldrip_account_id": "123",
"calldrip_account_name": "Calldrip Account",
"calldrip_organization_id": "1",
"lead": {
"id": 345678,
"alternate_id": "bbb8e32e-cc1c-448c-8bf7-e2462c66efcb",
"first_name": "Jon",
"last_name": "Doe",
"phone_number": 5558885555,
"email": "jon_doe@test.com",
"notes": "Interested in blue car!"
},
"agent": {
"id": 32322,
"alternate_id": "FJ45AB3",
"first_name": "Fred",
"last_name": "Johnson",
"phone_number": 8885553333,
"email": "fjohnson@test.com"
},
"call": {
"id": 43211234,
"source_id": 32,
"source_name": "Dealership Website",
"attempts": 1,
"duration": null,
"recording_url": null,
"inbound": 0,
"outbound": 1,
"clicktocall": 0,
"whisper": "John Doe, Dealership Website, NEW, 2022, Hyundai, Corolla, Interested in blue car!",
"status": "Talking",
"answered_by": "Fred Johnson",
"response_time": 10,
"origination_time": "18:29:31",
"date_received": "2022-02-20",
"time_received": "18:29:31"
},
"vehicle_data": {
"vehicle_of_interest": {
"year": 2022,
"make": "Hyundai",
"model": "Corolla",
"vin": 9876543210,
"registration_number": 345623109233,
"status": "new"
},
"tradein": {
"year": 2019,
"make": "Toyota",
"model": "Accent",
"vin": 9876543210,
"registration_number": 345623109233,
"status": "used"
}
}
}
<calldata>
<calldrip_account_id>123</calldrip_account_id>
<calldrip_account_name>Calldrip Account</calldrip_account_name>
<calldrip_organization_id>1</calldrip_organization_id>
<lead>
<id>345678</id>
<alternate_id>bbb8e32e-cc1c-448c-8bf7-e2462c66efcb</alternate_id>
<first_name>Jon</first_name>
<last_name>Doe</last_name>
<phone>5558885555</phone>
<email>"jon_doe@test.com"</email>
<notes>Interested in blue car!</notes>
</lead>
<agent>
<id>32322</id>
<alternate_id>FJ45AB3</alternate_id>",
<first_name>Fred</first_name>
<last_name>Johnson</last_name>
<phone>8885553333</phone>
<email>"fjohnson@test.com"</email>
</agent>
<call>
<id>43211234</id>
<source_id>32</source_id>
<source_name>Dealership Website</source_name>
<attempts>1</attempts>
<duration></duration>
<recording_url></recording_url>
<inbound>0</inbound>
<outbound>1</outbound>
<clicktocall>0</clicktocall>
<whisper>John Doe, Dealership Website, NEW, 2022, Hyundai, Corolla, Interested in blue car!</whisper>
<status>Talking</status>
<answered_by>Fred Johnson</answered_by>
<response_time>10</response_time>
<origination_time>18:29:31</origination_time>
<date_received>2022-02-20</date_received>
<time_received>18:29:31</time_received>
</call>
<vehicle_data>
<vehicle interest='buy'>
<year>2022</year>
<make>Hyundai</make>
<model>Corolla</model>
<vin>9876543210</vin>
<registration_number>345623109233</registration_number>
<status>new</status>
</vehicle>
<vehicle interest='trade-in'>
<year>2019</year>
<make>Toyota</make>
<model>Accent</model>
<vin>9876543210</vin>
<registration_number>345623109233</registration_number>
<status>used</status>
</vehicle>
</vehicle_data>
</calldata>
{primary} This Webhook is will send data to an endpoint after the call has been completed.
Other call status options: Talking, Answered, Attempted, After Hours, Not Called, & Canceled
Some data might be set as null or blank depending on what information has been sent to Calldrip (ex. Vehicle_data).
{
"calldrip_account_id": "123",
"calldrip_account_name": "Calldrip Account",
"calldrip_organization_id": "1",
"lead": {
"id": 345678,
"alternate_id": "bbb8e32e-cc1c-448c-8bf7-e2462c66efcb",
"first_name": "Jon",
"last_name": "Doe",
"phone_number": 5558885555,
"email": "jon_doe@test.com",
"notes": "Interested in blue car!"
},
"agent": {
"id": 32322,
"alternate_id" : "FJ45AB3",
"first_name": "Fred",
"last_name": "Johnson",
"phone_number": 8885553333,
"email": "fjohnson@test.com"
},
"call": {
"id": 43211234,
"source_id": 32,
"source_name": "Dealership Website",
"attempts": 1,
"duration": 100,
"recording_url": "http://examplerecording.test/43211234",
"inbound": 0,
"outbound": 1,
"clicktocall": 0,
"whisper": "John Doe, Dealership Website, NEW, 2022, Hyundai, Corolla, Interested in blue car!",
"status": "ANSWERED",
"answered_by": "Fred Johnson",
"response_time": 10,
"origination_time": "18:29:31",
"date_received": "2022-02-20",
"time_received": "18:29:31"
},
"vehicle_data": {
"vehicle_of_interest": {
"year": 2022,
"make": "Hyundai",
"model": "Corolla",
"vin": 9876543210,
"registration_number": 345623109233,
"status": "new"
},
"tradein": {
"year": 2019,
"make": "Toyota",
"model": "Accent",
"vin": 9876543210,
"registration_number": 345623109233,
"status": "used"
}
}
}
<calldata>
<calldrip_account_id>123</calldrip_account_id>
<calldrip_account_name>Calldrip Account</calldrip_account_name>
<calldrip_organization_id>1</calldrip_organization_id>
<lead>
<id>345678</id>
<alternate_id>bbb8e32e-cc1c-448c-8bf7-e2462c66efcb</alternate_id>
<first_name>Jon</first_name>
<last_name>Doe</last_name>
<phone>5558885555</phone>
<email>"jon_doe@test.com"</email>
<notes>Interested in blue car!</notes>
</lead>
<agent>
<id>32322</id>
<alternate_id>FJ45AB3</alternate_id>
<first_name>Fred</first_name>
<last_name>Johnson</last_name>
<phone>8885553333</phone>
<email>"fjohnson@test.com"</email>
</agent>
<call>
<id>43211234</id>
<source_id>32</source_id>
<source_name>Dealership Website</source_name>
<attempts>1</attempts>
<duration>100</duration>
<recording_url>http://examplerecording.test/43211234</recording_url>
<inbound>0</inbound>
<outbound>1</outbound>
<clicktocall>0</clicktocall>
<whisper>John Doe, Dealership Website, NEW, 2022, Hyundai, Corolla, Interested in blue car!</whisper>
<status>ANSWERED</status>
<answered_by>Fred Johnson</answered_by>
<response_time>10</response_time>
<origination_time>18:29:31</origination_time>
<date_received>2022-02-20</date_received>
<time_received>18:29:31</time_received>
</call>
<vehicle_data>
<vehicle interest='buy'>
<year>2022</year>
<make>Hyundai</make>
<model>Corolla</model>
<vin>9876543210</vin>
<registration_number>345623109233</registration_number>
<status>new</status>
</vehicle>
<vehicle interest='trade-in'>
<year>2019</year>
<make>Toyota</make>
<model>Accent</model>
<vin>9876543210</vin>
<registration_number>345623109233</registration_number>
<status>used</status>
</vehicle>
</vehicle_data>
</calldata>
{primary} Call Notes Webhook will send data to an endpoint after a note is made on an existing call.
{
"calldrip_account_id": "123",
"calldrip_account_name": "Calldrip Account",
"calldrip_organization_id": "1",
"lead": {
"id": 345678,
"alternate_id": "bbb8e32e-cc1c-448c-8bf7-e2462c66efcb",
"first_name": "Jon",
"last_name": "Doe",
"phone_number": 5558885555,
"email": "jon_doe@test.com",
"notes": "Interested in blue car!"
},
"agent": {
"id": 32322,
"alternate_id" : "FJ45AB3",
"first_name": "Fred",
"last_name": "Johnson",
"phone_number": 8885553333,
"email": "fjohnson@test.com"
},
"call": {
"id": 43211234,
"source_id": 32,
"source_name": "Dealership Website",
"attempts": 1,
"duration": 100,
"recording_url": "http://examplerecording.test/43211234",
"inbound": 0,
"outbound": 1,
"clicktocall": 0,
"whisper": "John Doe, Dealership Website, NEW, 2022, Hyundai, Corolla, Interested in blue car!",
"status": "ANSWERED",
"answered_by": "Fred Johnson",
"response_time": 10,
"origination_time": "18:29:31",
"date_received": "2022-02-20",
"time_received": "18:29:31"
},
"vehicle_data": {
"vehicle_of_interest": {
"year": 2022,
"make": "Hyundai",
"model": "Corolla",
"vin": 9876543210,
"registration_number": 345623109233,
"status": "new"
},
"tradein": {
"year": 2019,
"make": "Toyota",
"model": "Accent",
"vin": 9876543210,
"registration_number": 345623109233,
"status": "used"
}
},
"call_note" :{
"id": 23456789,
"note": "Needs follow up, Lead coming in today for purchase",
"agent_id": 32322,
"alternate_id": "j3rxde",
"created_at": "2022-02-20 18:29:31"
}
}
<calldata>
<calldrip_account_id>123</calldrip_account_id>
<calldrip_account_name>Calldrip Account</calldrip_account_name>
<calldrip_organization_id>1</calldrip_organization_id>
<lead>
<id>345678</id>
<alternate_id>bbb8e32e-cc1c-448c-8bf7-e2462c66efcb</alternate_id>
<first_name>Jon</first_name>
<last_name>Doe</last_name>
<phone>5558885555</phone>
<email>"jon_doe@test.com"</email>
<notes>Interested in blue car!</notes>
</lead>
<agent>
<id>32322</id>
<alternate_id>FJ45AB3</alternate_id>
<first_name>Fred</first_name>
<last_name>Johnson</last_name>
<phone>8885553333</phone>
<email>"fjohnson@test.com"</email>
</agent>
<call>
<id>43211234</id>
<source_id>32</source_id>
<source_name>Dealership Website</source_name>
<attempts>1</attempts>
<duration>100</duration>
<recording_url>http://examplerecording.test/43211234</recording_url>
<inbound>0</inbound>
<outbound>1</outbound>
<clicktocall>0</clicktocall>
<whisper>John Doe, Dealership Website, NEW, 2022, Hyundai, Corolla, Interested in blue car!</whisper>
<status>ANSWERED</status>
<answered_by>Fred Johnson</answered_by>
<response_time>10</response_time>
<origination_time>18:29:31</origination_time>
<date_received>2022-02-20</date_received>
<time_received>18:29:31</time_received>
</call>
<vehicle_data>
<vehicle interest='buy'>
<year>2022</year>
<make>Hyundai</make>
<model>Corolla</model>
<vin>9876543210</vin>
<registration_number>345623109233</registration_number>
<status>new</status>
</vehicle>
<vehicle interest='trade-in'>
<year>2019</year>
<make>Toyota</make>
<model>Accent</model>
<vin>9876543210</vin>
<registration_number>345623109233</registration_number>
<status>used</status>
</vehicle>
</vehicle_data>
<call_note>
<id>23456789</id>
<note>Needs follow up, Lead coming in today for purchase</note>
<agent_id>32322</agent_id>
<alternate_id>j3rxde</alternate_id>
<created_at>2022-02-20 18:29:31</created_at>
</call_note>
</calldata>
{primary} This Webhook is will send data to the endpoint after the call is Scored.
{
"calldrip_account_id": "123",
"calldrip_account_name": "Calldrip Account",
"calldrip_organization_id": "1",
"lead": {
"id": 345678,
"alternate_id": "bbb8e32e-cc1c-448c-8bf7-e2462c66efcb",
"first_name": "Jon",
"last_name": "Doe",
"phone_number": 5558885555,
"email": "jon_doe@test.com",
"notes": "Interested in blue car!"
},
"agent": {
"id": 32322,
"alternate_id": "FJ45AB3",
"first_name": "Fred",
"last_name": "Johnson",
"phone_number": 8885553333,
"email": "fjohnson@test.com"
},
"call": {
"id": 43211234,
"source_id": 32,
"source_name": "Dealership Website",
"attempts": 1,
"duration": 100,
"recording_url": "http://examplerecording.test/43211234",
"inbound": 0,
"outbound": 1,
"clicktocall": 0,
"whisper": "John Doe, Dealership Website, NEW, 2022, Hyundai, Corolla, Interested in blue car!",
"status": "ANSWERED",
"answered_by":"Fred Johnson",
"response_time": 10,
"origination_time": "18:29:31",
"date_received": "2022-02-20",
"time_received": "18:29:31"
},
"vehicle_data": {
"vehicle_of_interest": {
"year": 2022,
"make": "Hyundai",
"model": "Corolla",
"vin": 9876543210,
"registration_number": 345623109233,
"status": "new"
},
"tradein": {
"year": 2019,
"make": "Toyota",
"model": "Accent",
"vin": 9876543210,
"registration_number": 345623109233,
"status": "used"
}
},
"scored_call" :{
"percentage":83,
"is_goal":0,
"alert_ tags": {
"Missed Opportunity":1
},
"goal_ tags": {
"Driving Directions":1,
"Good Review":1
},
"call_tags": {
"Good Review":1,
"Enthusiastic Greeting":1,
"Taking Control":1,
"Customer Information":1,
"Scored":1,
"Missed Opportunity":1,
"Conversation":1,
"Coached":1,
"Driving Directions":1
},
"opportunity": 0,
"result": "Conversation",
"note": "Summery notes from scored Call",
"created_at": "2022-02-21 06:19:45"
},
,
}
<calldata>
<calldrip_account_id>123</calldrip_account_id>
<calldrip_account_name>Calldrip Account</calldrip_account_name>
<calldrip_organization_id>1</calldrip_organization_id>
<lead>
<id>345678</id>
<alternate_id>bbb8e32e-cc1c-448c-8bf7-e2462c66efcb</alternate_id>
<first_name>Jon</first_name>
<last_name>Doe</last_name>
<phone>5558885555</phone>
<email>"jon_doe@test.com"</email>
<notes>Interested in blue car!</notes>
</lead>
<agent>
<id>32322</id>
<alternate_id>FJ45AB3</alternate_id>
<first_name>Fred</first_name>
<last_name>Johnson</last_name>
<phone>8885553333</phone>
<email>"fjohnson@test.com"</email>
</agent>
<call>
<id>43211234</id>
<source_id>32</source_id>
<source_name>Dealership Website</source_name>
<attempts>1</attempts>
<duration>100</duration>
<recording_url>http://examplerecording.test/43211234</recording_url>
<inbound>0</inbound>
<outbound>1</outbound>
<clicktocall>0</clicktocall>
<whisper>John Doe, Dealership Website, NEW, 2022, Hyundai, Corolla, Interested in blue car!</whisper>
<status>ANSWERED</status>
<answered_by>Fred Johnson</answered_by>
<response_time>10</response_time>
<origination_time>18:29:31</origination_time>
<date_received>2022-02-20</date_received>
<time_received>18:29:31</time_received>
</call>
<vehicle_data>
<vehicle interest='buy'>
<year>2022</year>
<make>Hyundai</make>
<model>Corolla</model>
<vin>9876543210</vin>
<registration_number>345623109233</registration_number>
<status>new</status>
</vehicle>
<vehicle interest='trade-in'>
<year>2019</year>
<make>Toyota</make>
<model>Accent</model>
<vin>9876543210</vin>
<registration_number>345623109233</registration_number>
<status>used</status>
</vehicle>
</vehicle_data>
<scored_call>
<percentage>83</percentage>
<is_goal>1</is_goal>
<alert_tags>Missed Opportunity</alert_tags>
<goal_tags>Driving Directions,Good Review</goal_tags>
<call_tags>Good Review, Enthusiastic Greeting, Taking Control, Customer Information, Scored, Missed Opportunity, Conversation, Coached, Driving Directions</call_tags>
<opportunity>0</opportunity>
<result>Conversation</result>
<note> Notes from scored Call</note>
<created_at>2022-02-21 06:19:45</created_at>
</scored_call>
</calldata>
{primary} This Webhook is will send scoring and coaching data to the endpoint after the call has been coached.
{
"calldrip_account_id": "123",
"calldrip_account_name": "Calldrip Account",
"calldrip_organization_id": "1",
"lead": {
"id": 345678,
"alternate_id": "bbb8e32e-cc1c-448c-8bf7-e2462c66efcb",
"first_name": "Jon",
"last_name": "Doe",
"phone_number": 5558885555,
"email": "jon_doe@test.com",
"notes": "Interested in blue car!"
},
"agent": {
"id": 32322,
"alternate_id" : "FJ45AB3",
"first_name": "Fred",
"last_name": "Johnson",
"phone_number": 8885553333,
"email": "fjohnson@test.com"
},
"call": {
"id": 43211234,
"source_id": 32,
"source_name": "Dealership Website",
"attempts": 1,
"duration": 100,
"recording_url": "http://examplerecording.test/43211234",
"inbound": 0,
"outbound": 1,
"clicktocall": 0,
"whisper": "John Doe, Dealership Website, NEW, 2022, Hyundai, Corolla, Interested in blue car!",
"status": "ANSWERED",
"answered_by": "Fred Johnson",
"response_time": 10,
"origination_time": "18:29:31",
"date_received": "2022-02-20",
"time_received": "18:29:31"
},
"vehicle_data": {
"vehicle_of_interest": {
"year": 2022,
"make": "Hyundai",
"model": "Corolla",
"vin": 9876543210,
"registration_number": 345623109233,
"status": "new"
},
"tradein": {
"year": 2019,
"make": "Toyota",
"model": "Accent",
"vin": 9876543210,
"registration_number": 345623109233,
"status": "used"
}
},
"scored_call" :{
"percentage":83,
"is_goal":0,
"alert_ tags": {
"Missed Opportunity":1
},
"goal_ tags": {
"Driving Directions":1,
"Good Review":1
},
"call_tags": {
"Good Review":1,
"Enthusiastic Greeting":1,
"Taking Control":1,
"Customer Information":1,
"Scored":1,
"Missed Opportunity":1,
"Conversation":1,
"Coached":1,
"Driving Directions":1
},
"opportunity": 0,
"result": "Conversation",
"note": "Summery notes from scored Call",
"created_at": "2022-02-21 06:19:45"
},
"coached_call" :{
"coached_by":"Sarah Coachestien",
"note":"Great Job on the Call! Dont forget to set a time",
"recording":"http://examplerecording.test/43211234",
"created_at":"2022-02-22 13:18:51"
}
}
<calldata>
<calldrip_account_id>123</calldrip_account_id>
<calldrip_account_name>Calldrip Account</calldrip_account_name>
<calldrip_organization_id>1</calldrip_organization_id>
<lead>
<id>345678</id>
<alternate_id>bbb8e32e-cc1c-448c-8bf7-e2462c66efcb</alternate_id>
<first_name>Jon</first_name>
<last_name>Doe</last_name>
<phone>5558885555</phone>
<email>"jon_doe@test.com"</email>
<notes>Interested in blue car!</notes>
</lead>
<agent>
<id>32322</id>
<alternate_id>FJ45AB3</alternate_id>
<first_name>Fred</first_name>
<last_name>Johnson</last_name>
<phone>8885553333</phone>
<email>"fjohnson@test.com"</email>
</agent>
<call>
<id>43211234</id>
<source_id>32</source_id>
<source_name>Dealership Website</source_name>
<attempts>1</attempts>
<duration>100</duration>
<recording_url>http://examplerecording.test/43211234</recording_url>
<inbound>0</inbound>
<outbound>1</outbound>
<clicktocall>0</clicktocall>
<whisper>John Doe, Dealership Website, NEW, 2022, Hyundai, Corolla, Interested in blue car!</whisper>
<status>ANSWERED</status>
<answered_by>Fred Johnson</answered_by>
<response_time>10</response_time>
<origination_time>18:29:31</origination_time>
<date_received>2022-02-20</date_received>
<time_received>18:29:31</time_received>
</call>
<vehicle_data>
<vehicle interest='buy'>
<year>2022</year>
<make>Hyundai</make>
<model>Corolla</model>
<vin>9876543210</vin>
<registration_number>345623109233</registration_number>
<status>new</status>
</vehicle>
<vehicle interest='trade-in'>
<year>2019</year>
<make>Toyota</make>
<model>Accent</model>
<vin>9876543210</vin>
<registration_number>345623109233</registration_number>
<status>used</status>
</vehicle>
</vehicle_data>
<scored_call>
<percentage>83</percentage>
<is_goal>1</is_goal>
<alert_tags>Missed Opportunity</alert_tags>
<goal_tags>Driving Directions,Good Review</goal_tags>
<call_tags>Good Review, Enthusiastic Greeting, Taking Control, Customer Information, Scored, Missed Opportunity, Conversation, Coached, Driving Directions</call_tags>
<opportunity>0</opportunity>
<result>Conversation</result>
<note> Notes from scored Call</note>
<created_at>2022-02-21 06:19:45</created_at>
</scored_call>
<coached_call>
<coached_by>Sarah Coachestien</coached_by>
<note>Great Job on the Call! Dont forget to set a time</note>
<recording>http://examplerecording.test/43211234</recording>
<created_at>2022-02-22 13:18:51</created_at>
</coached_call>
</calldata>