This interface is enabled by default, and the loopback address server needs to start an HTTP service to receive uplink SMS. After receiving the uplink SMS, users need to write their own method to handle the received parameters. We will push you a reply SMS in real-time.
Push request
- URL:http://client_url
- Push method:POST
- Request header :Content-Type: application/json
Push binding uplink receiving address
Log in to https://innopaas.com and configure the SMS settings data push menu for the corresponding SMS product
Example explanation
For example, the uplink SMS return address set by the user account is: http://client_url So when the 253 platform receives the uplink SMS returned by the operator, it will access the following URL with a post request:
curl --location 'http://client_url' \
--header 'Content-Type: application/json' \
--data '{
"receiver": "",
"pswd": "",
"moTime": "1749780816184",
"mobile": "8613900000000",
"msg": "reply content",
"destcode": "10690923",
}'
Note: If the first push is unsuccessful, it will be pushed a second time. If the second push is unsuccessful, it will be pushed a third time. If the third push is unsuccessful, it will not be pushed again. The interval time is 1 minute.
Push POST parameters
Parameter Name | TYPE | REQUIRED | DESCREIDE |
---|---|---|---|
receiver | string | yes | The username for verification. It will be empty if not filled in during configuration. Contact the technical team if you need to configure it. |
receiver | string | yes | The password for verification. It will be empty if not filled in during configuration. Contact the technical team if you need to configure it. |
moTime | string | yes | The time of the user's previous reply, in timestamp format. |
mobile | string | yes | A single phone number |
msg | string | yes | SMS content, text content using UTF-8 encoding |
destcode | string | yes | The destination number for the user's uplink |