Reports the delivery status of the SMS message corresponding to each message ID to the Alibaba Cloud international SMS platform.
Operation description
Metric description:
-
OTP sent: The number of verification codes sent.
-
OTP conversions: The number of verification codes successfully received and reported back by users.
Conversion rate = OTP conversions / OTP sent.
The conversion rate feedback feature may intrude on your business system to some extent. To prevent API call fluctuations from affecting your business logic, consider the following measures:
Use an asynchronous mode, such as a queue or event-driven approach, to call the API.
Implement a fallback mechanism to protect your business logic, such as manual fallback or automatic fallback by using a circuit breaker.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dysms:SmsConversion |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MessageId |
string |
No |
The message ID. |
1008030300**** |
| Delivered |
boolean |
Yes |
Specifies whether the user replied to the message you sent. Set this parameter to true if the user replied to the message. Otherwise, set this parameter to false. |
true |
| ConversionTime |
integer |
No |
The timestamp when the message was delivered to the recipient. The value must be a UNIX timestamp in milliseconds.
|
1349055900000 |
| To |
string |
No |
The phone number of the recipient. The number must be in the format of country code + phone number. For more information about country codes, see Country codes. |
8521245567**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| ResponseCode |
string |
The status code. A value of OK indicates that the request is successful. For other error codes, see Error codes. |
OK |
| ResponseDescription |
string |
The description of the status code. |
OK |
| RequestId |
string |
The request ID. |
F655A8D5-B967-440B-8683-DAD6FF8D**** |
Examples
Success response
JSON format
{
"ResponseCode": "OK",
"ResponseDescription": "OK",
"RequestId": "F655A8D5-B967-440B-8683-DAD6FF8D****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.