SMS Status
Latest Update Time: 2022.01.05
The Customer Needs To Use The Message ID Returned By The SMS Send Interface To Obtain The Status Of The Sms.
Interface Description
Request URL: https://www.baijia520.com/api.sms/status.html
Request Method: POST
Parameter Type: JSON
Request Parameter
Name | ID | Type | Required | Description |
---|---|---|---|---|
Username | username | String | Yes | Login Username When Registering |
Key | token | String | Yes | Generated And Issued By The System After Opening The Interface Authority, View It In User Center - My Information |
Message ID | id | String | Yes | Message ID Returned By The SMS Sending Interface |
REQUEST EXAMPLE
{ "username": "admin", "token": "123123123", "id": "61CBF9DD0016537A" }
RETURN PARAMETER
Name | ID | Description |
---|---|---|
Status Code | code | 1: Success, 403: Status Has Not Been Updated, Other: Failure,For More Information, Please See The Status Code Description |
SMS Status | status | 0: Failed, 1: Success, 2: Sending, 3: Waiting |
Return Code | result | Return Code, For More Information, Please See The Return Code Description |
RETURN EXAMPLE
Request Succeeded
{ "code": 1, "status": 1, "data": { "result": "DELIVRD:000" } }
Request Failed
{ "code": 500, "msg": "System Error" }
STATUS CODE DESCRIPTION
Status Code | Description |
---|---|
1 | Request Succeeded |
0 | Request Failed |
500 | System Error |
502 | No Interface Usage Rights |
503 | IP Is Not In The System Whitelist |
511 | Authentication Failed |
403 | The Status Has Not Been Updated And Needs To Be Fetched Repeatedly |
404 | Data Does Not Exist |
RETURN CODE DESCRIPTION
Return Code | Description |
---|---|
000 | The Phone Successfully Received The SMS |
020 | The Called Party Failed To Match MCC/MNC |
022 | Duplicate Submission Of The Same Content |
026 | Called Length Error |
027 | Called Is Blacklisted |
028 | The Content Does Not Match The Template |
029 | Prohibited Words Appear In The Content |
030 | Message Content Error |
045 | SMS Content Length Is Too Long |
077 | DR Timeout Error Code |
098 | The Message Is Unreachable Due To Landing Reasons |
099 | Unknown Status |
100 | Destination Restrictions, Beijing, Tibet, Zhejiang, Liaoning, Jiangxi, Henan, Hebei |
178 | HLR Returns The Number Status Is Unknown |
Note: Please Contact The Administrator For Other Error Codes