Skip to main content

Lead Upload

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 base URL to upload lead data to your TeleCMI Dialer campaigns. This API supports bulk uploading of leads with validation for phone numbers and other contact details.

Base URL

Send your POST method request with valid parameters, to the following base URL.

https://rest.telecmi.com/v3/leads/add

Required Parameters

These are the required POST method parameters with description

Parameter NameTypeDescription
*lead_namestringA unique name for this lead campaign.
*inet_nointegerYour App id.
*secretstringYour app secret.
*usersarrayAn array of lead objects (Min: 1, Max: 1000).

Lead Object (users array)

FieldTypeRequiredDescription
*firstnamestringYesLead's first name.
*lastnamestringYesLead's last name.
*phonestringYesLead's phone number (including country code, e.g., 919876543210).
emailstringNoLead's email address (valid format required).
commentstringNoAdditional notes or comments for the lead.
addressstringNoLead's street address.
citystringNoLead's city.
countrystringNoLead's country.
order_indexintegerNoThe sequence order for this lead in the dialer.
Note
The * marked parameter is mandatory.

Sample JSON Request

Below is the following sample JSON POST method request

{
"lead_name": "Sales_Campaign_March_2026",
"inet_no": 12345,
"secret": "xxxx-xxxx-xxxx-xxxx",
"users": [
{
"firstname": "John",
"lastname": "Doe",
"phone": "919876543210",
"email": "john.doe@example.com",
"comment": "Interested in Premium plan",
"address": "123 Business St",
"city": "Chennai",
"country": "India",
"order_index": 1
},
{
"firstname": "Jane",
"lastname": "Smith",
"phone": "919876543211",
"order_index": 2
}
]
}

Sample Response

If the provided information is valid, your web server will get a sample response from TeleCMI Platform as given below

{
"code": 200,
"msg": "Leads Added Successfully"
}

Properties

These are the list of properties and its description

PropertyTypeDescription
codenumberThe response code.
msgstringLeads Added Successfully

HTTP status codes

TeleCMI API platform represents the following status code to identity the errors.

Status codeStatus TypeDescription
200SuccessWe received the request
400ErrorLead Name Already Exists
400ErrorDuplicate phone numbers found
404ErrorAccount Not Found (Invalid app id or secret)
422ErrorParameter missing
422ErrorInvalid phone number
500ErrorInternal Server Error
Note
  • Phone Format: Ensure phone numbers are provided with the country code but without the + prefix or special characters.
  • Bulk Limit: You can upload up to 1000 leads in a single request.
  • Unique Name: lead_name must be unique across your account's campaigns.