tencent cloud

All product documents
APIs
SMS Reply
Last updated: 2024-12-19 10:53:14
SMS Reply
Last updated: 2024-12-19 10:53:14

API Description

Feature description

This API is used for Tencent Cloud SMS to notify the business of the SMS reply by calling back the service URL after a user receives an SMS message and replies to it.

Sample URL

POST http://example.com/sms/callback

Request Parameters

The following table lists the request parameters.
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
Sample request:
{
"extend": "Extended code",
"mobile": "13xxxxxxxxx",
"nationcode": "86",
"sign": "SMS signature",
"text": "User reply",
"time": 1457336869
}

Response Parameters

The following table lists the response parameters.
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.
Sample response:
{
"result": 0,
"errmsg": "OK"
}
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon