Request Body
Parameters
Name | Type | Required | Sample Value | Description |
---|---|---|---|---|
templateId | Integer | Yes | 1..9999 | Numeric value template that is set via IntelSend admin portal |
sandboxMode | Boolean | No | true | Default: false (send for production). True: Sandbox mode allows sending SMS only to whitelisted numbers. |
useDraftTemplate | Boolean | No | false | Default: false . True: Send the SMS to template in draft mode. False: Send to the latest published version of SMS template. |
parameters | Array of key value | No | [ { "uid": "abc-123", "to": "abc@gmail.com", "name": "Deepak", "address": "1234" }, { "uid": "xyz-123", "to": "xyz@outlook.com", "name": "Jim", "address": "1234" } ] | Array of objects with key-value pairs. Keys are variable names in the SMS template. Values replace content for each variable. If no dynamic variables, array is blank. If a key is null or not passed, default value will be blank ('' ). |
from | String | Yes | info@xyz.com | Assigned from email address |
sendAt | DateTime | No | 2024-11-01 11:00:00 | Datetime format as YYYY-MM-DD HH:mm:ss in UTC timezone. HH → 00-23. Default: Current datetime. |
uid | String | Yes | abc-123 | Limit: 40 characters. Used for tracking purposes. This uid will be returned in request response. Should be unique for each request. |
programId | Integer | Yes | 12345 | Limit: 6 digits only. Used to bundle multiple requests in a single programId. For reporting and billing purposes. |
checkDNC | Boolean | No | true or false | Default: true . If false , we won’t check the email address that has opted out of the previous email. |
Refer to the Examples for sample requests.