Send leads to your CRM
Lead delivery sends each qualifying call to your own system, for example your CRM, as a JSON request. Each call is sent one time, when the call ends.
Set up lead delivery
- Go to AI Calls > Lead delivery.
- Select Send leads to my system.
- Select the Method: POST, PUT or PATCH.
- Type the URL of your endpoint, for example
https://your-crm.example.com/leads. - Under Which calls count as a lead, select the outcomes to send, for example interested and callback. If you select none, every completed call is sent.
- Optional: click Add header to add a header, for example
Authorization. - Optional: click Add field to add a fixed field to each lead, for example
source=smsedge. - Click Save.
Payload
Each lead has these fields:
| Field | Description |
|---|---|
external_ref | The unique reference of the call. |
phone | The number of the contact. |
outcome | The call outcome, for example interested. |
status | The call status. |
billable_seconds | The billed length of the call. |
answered | Whether the contact answered. |
campaign_id, campaign_name | The campaign of the call. |
called_at | The time of the call. |
Your extra fields are added to each lead. Under Payload, you can also select Include a link to the recording and Include the full transcript. Set a Daily limit to cap the number of leads per day (0 = no limit).
Delivery log
The Delivery log shows the last 100 attempts with the time, the call, the result and the response of your system.
Your endpoint must answer within 10 seconds. A failed lead is not sent again. Check the delivery log after you set up the endpoint, and fix any errors quickly.
Need more help? Contact support.