The Telecrm Async API can be used to push lead data to Telecrm from any source. These are fire-and-forget operations suitable for high-volume.
Features:
Leads are identified by their unique identifier field setup in the workspace (default: phone).
If a lead with the unique identifier field already exists, it is updated.
All requests to the API must include an authentication token as a Bearer Token in the request headers. Follow the steps below to generate the token:
Find the API names of fields in the "Lead Fields" section of the Telecrm app:
Use this API to create new leads or update existing ones.
| enterpriseId required | string Id of the enterprise |
Autoupdate lead body
required | object (InputLeadFields)
| ||||||||||||||||
| |||||||||||||||||
Array of CustomActionWithCreatedOn (object) or InputPaymentAction (object) (InputLeadAction) | |||||||||||||||||
Array Any of
| |||||||||||||||||
{- "fields": {
- "name": "John",
- "phone": "+91999999999",
- "email": "john.doe@example.com",
- "rating": 3,
- "status": "Fresh",
- "assignee": "john.doe@example.com",
- "property1": "+91999999999",
- "property2": "+91999999999"
}, - "actions": [
- {
- "type": 1001,
- "fields": {
- "property1": "John",
- "property2": "John"
}, - "created_on": "01/01/2023 11:30:00"
}
]
}