Skip to main content

Response Body

The response body provides the status and details for each SMS request sent via the IntelSend API.


Parameters

NameTypeSample ValueDescription
idString123-abc-...-679Unique UUID returned in the response.
statusStringQUEUED | REJECTEDQUEUED: Request accepted, REJECTED: Request failed.
errorCodeInteger00: No error, other values indicate specific errors.
messageLengthInteger170Number of characters in the SMS body.
smsPartsInteger2Number of billable SMS parts.
messageBodyTypeStringPlain | UnicodeType of SMS content.
toString13233933379Recipient number.
fromString1234567890Sender number.
uidStringabc-123Same UID as in the request.
programIdInteger12345Same program ID as in the request.

🔎 Example JSON Response

{
"id": "123-abc-456-789",
"status": "QUEUED",
"errorCode": 0,
"messageLength": 170,
"smsParts": 2,
"messageBodyType": "Plain",
"to": "13233933379",
"from": "1234567890",
"uid": "abc-123",
"programId": 12345
}

Pro Tip 💡

Check the status and errorCode for each response to handle success and failure cases programmatically.