POST http://example.com/sms/callback
Parameter | Required | Type | Description |
extend | No | string | Extended code of the channel, which is disabled by default (an null value must be entered) |
mobile | Yes | string | Mobile number |
nationcode | Yes | string | Country/Region code |
sign | Yes | string | SMS signature |
text | Yes | string | User reply |
time | Yes | number | Unix timestamp in seconds |
{"extend": "Extended code","mobile": "13xxxxxxxxx","nationcode": "86","sign": "SMS signature","text": "User reply","time": 1457336869}
Parameter | Required | Type | Description |
result | Yes | number | Error code. 0: success; other values: failure |
errmsg | Yes | string | When result is 0, it displays "OK", and when result is not 0, it displays a specific error message. |
{"result": 0,"errmsg": "OK"}
Was this page helpful?