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
fromString✅ Yes1234567890Assigned 10-digit Caller ID.
sandboxModeBoolean❌ NotrueDefault: false. If true, sends only to whitelisted numbers.
useDraftTemplateBoolean❌ NofalseDefault: false. If true, sends using the draft template. Otherwise, sends latest published version.
templateIdInteger✅ Yes1..9999Numeric template ID set via IntelSend admin portal.
parametersArray❌ No[{"uid":"abc-123","to":"13233933379","name":"Deepak","address":"1234"}, {"uid":"xyz-123","to":"19495790525","name":"Jim","address":"1234"}]Array of key-value objects. Keys match template variables; values replace them.
sendAtDateTime❌ No2024-11-01 11:00:00Format: YYYY-MM-DD HH:mm:ss in UTC. Default: current datetime.
uidString✅ Yesabc-123Limit: 40 characters. Unique identifier for tracking.
programIdInteger✅ Yes123456-digit program ID for bundling requests for reporting and billing.
checkOptoutBoolean❌ NotrueDefault: true. If false, skips checking if the number has opted out.
maxRetryInteger❌ No0-3Default: 0. Number of retries if a voice message is not successfully left.
retryAfterInteger❌ No5-60Minutes to wait between retries to get Live/Machine result.
repeatKeyInteger❌ No0-9,-13,-6Default: -13 or #. Key press to repeat the message.
maxRepeatInteger❌ No0-5Default: 1. Maximum times the message can be repeated.

🔎 Example JSON Payload

{
"from": "1234567890",
"sandboxMode": true,
"useDraftTemplate": false,
"templateId": 10,
"parameters": [
{ "uid": "abc-123", "to": "13233933379", "name": "Deepak", "address": "1234" },
{ "uid": "xyz-123", "to": "19495790525", "name": "Jim", "address": "1234" }
],
"sendAt": "2024-11-01 11:00:00",
"uid": "abc-123",
"programId": 12345,
"checkOptout": true,
"maxRetry": 1,
"retryAfter": 15,
"repeatKey": -13,
"maxRepeat": 2
}

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.