JSON Response
This section explains the response codes used and include JSON response examples returned by the Sandeza platform after a message is sent. These codes provide useful information to help track and verify the success or failure of message delivery.
Description Parameter RC
RC | DESCRIPTION |
---|---|
0 | Success |
1 | Invalid Parameter / Invalid JSON Format |
2 | Internal Error Channel Not Found Invalid Parameter Channel Config Not Found Corporate Not Found Routes Not Found Template Not Found Role email validation not found |
3 | Invalid Recipient |
4 | Invalid Sign |
5 | Invalid Corporate |
6 | Not Ip Whitelist |
7 | Not Enough Token |
8 | Unknown Sender Id |
9 | Invalid Refnum |
10 | Invalid user OTP |
11 | INVALID_TIME |
21 | Unsubscribed Recipients |
22 | Special Characters Not Supported |
23 | Country Not Available |
24 | Character Limit Exceeded |
Response With RC 0
This is a sample JSON Response With RC 0 (success)
{
"rc": "0",
"ref_id": "reffid-sms-001",
"code_sms": "wMjAyMTA0MTQwODA2MjMxNTg3MTQ4NzQS",
"reason_status": ""
}
Response when RC is not 0
This is a sample JSON Response when RC is not 0 (failed)
{
"rc": "8",
"ref_id": "reffid-emaile-000cd",
"code_sms": "",
"reason_status": "Unknown Sender Id"
}