Skip to main content

Request Body

The request body defines the parameters required to send a voice message via the IntelSend API.


Parameters

NameTypeRequiredSample ValueDescription
template-idString✅ Yes688b634bf19b87633060398fvalue of the template set via IntelSend admin portal.
campaignIdString❌ Nokdjkadslfjl12323value of the Campaign set via IntelSend admin portal.
channelString✅ Yessmschannel must be sms in case of sending sms campaign
paramsArray of key-value✅ Yes[ { "uid": "abc-123", "to": "abc@gmail.com", "name": "Deepak" }, { "uid": "xyz-123", "to": "xyz@outlook.com", "name": "Jim" } ]Array of objects with key-value pairs. Keys are template variable names; values replace them dynamically. If no variables, array can be empty.
toString✅ Yes3233933379The **sender phone **. Must be assigned/approved.
fromString✅ Yes9498671145The sender phone. Must be assigned/approved.
uidString✅ Yesabc-123Unique identifier for tracking requests. Limit: 40 characters.

🔎 Example JSON Payload

{
"channel":"voice",
"uid": "1245346",
"to": "9495415188",
"from": "9498671145",
"template-id": "67a4868273af5742036b5f01",
// "campaignId":"kdjkadslfjl12323",
"params": {
"NAME": "Riddhi"
}
}

Pro Tip 💡

Always provide a unique uid for each request to avoid duplication and track individual voice messages effectively.

See Also

Refer to the Examples section for full sample requests and responses.