Examples
This section provides sample requests and responses for Voice API calls via IntelSend.
Sample Voice Request
{
"channel":"voice",
"uid": "1245346",
"to": "9495415188",
"from": "9498671145",
"template-id": "67a4868273af5742036b5f01",
// "campaignId":"kdjkadslfjl12323",
"params": {
"NAME": "Riddhi"
}
}
Sample Voice Response
{
"message": "Queued",
"token": "c379bbbb-c400-4a2d-9bdc-c9d48af8f146"
}
Pro Tip 💡
Always check the status and errorCode fields for each recipient to handle success and failure programmatically. Correct spelling for status is important (status, not staus).