Get Leads
Each API request in TeleCMI platform includes App id and secret. Get your App id and secret in TeleCMI dashboard. After getting the app id and secret, make a POST request to the below endpoint to retrieve a paginated list of leads for a specific account.
Base URL
https://rest.telecmi.com/v3/leads/get
Parameters
| Parameter Name | Type | Description |
|---|---|---|
| *inet_no | Integer | The account identifier. |
| *secret | String | Your app secret. |
| page | Integer | Page number for pagination. Default: 1. |
| limit | Integer | Number of records per page. Default: 10. |
Sample Response
{
"code": 200,
"msg": "Success",
"count": 1,
"leads": [
{
"leads_id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Sales_Campaign_March"
}
]
}
HTTP Status Codes
| Status Code | Status Type | Description |
|---|---|---|
| 200 | Success | Request processed successfully |
| 200 | Success | No Lead Found |
| 404 | Error | App Not Found |
| 422 | Error | Validation Failed |
| 500 | Error | Internal Server Error |
Note
The * marked parameter is mandatory.