tencent cloud

Short Message Service

Release Notes and Announcements
Announcements
Product Introduction
Glossary
Product Overview
Review Standards
Notes
Signature Review Standards
Body Template Review Standards
Sample Body Templates
Reasons for Rejection
Global SMS
Global SMS Intro
Global SMS Pricing
Getting Started
Console Guide
Console Overview
Global SMS
Marketing Management
Business Statistics
Application Management
General Management
Access Management
Practical Tutorial
How to Send Bulk Best Wishes Messages
How to Send SMS Verification Codes
API Documentation
History
Introduction
API Category
Making API Requests
Status Pull APIs
SMS Statistics APIs
SMS Signature APIs
SMS Delivery APIs
SMS Mobile Number APIs
SMS Conversion Rate APIs
SMS Template APIs
Data Types
Error Codes
SMS Callback APIs
SDK Documentation
SDK Download
SDK for Java
SDK for PHP
SDK for Python
SDK for Node.js
SDK for C#
SDK for Go
SDK for C++
FAQ
Billing
Security
Signature
Template
Message Content
Others
Service Agreement
Tencent Cloud SMS Data Processing and Security Agreement
Tencent Cloud SMS Privacy Policy
Service Level Agreement
Tencent Cloud SMS Services Terms of Service
Contact Us

SMS Reply

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 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"
}

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백