GetSmsSign
After you request an SMS signature, you can call this operation to query the approval details of the signature.
Operation description
-
This operation queries information about only the first created signature or the latest approved signature.
-
For more information about the changes to the new and original operations, see Announcement on updates of SMS signature and template operations in Short Message Service.
-
Review time: Alibaba Cloud typically reviews an SMS signature within 2 hours after it is submitted. Reviews are conducted from 9:00 to 21:00 from Monday to Sunday, and are postponed on public holidays.
-
If an SMS signature is rejected, the reason for the rejection is returned. For more information, see Suggestions on how to handle a rejected SMS signature. You can call the UpdateSmsSign operation or modify the rejected SMS signature on the Signatures page in the console.
-
You can call the QuerySmsSignList operation to query all SMS signatures under your account, including their approval statuses, types, and names.
-
The queries per second (QPS) limit for a single user is 150. If you exceed the limit, API calls are throttled, which may affect your business. We recommend that you call this operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dysms:GetSmsSign |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SignName |
string |
Yes |
The name of the SMS signature. The signature must be an existing one under your account.
|
阿里云 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. Alibaba Cloud generates this ID to uniquely identify a request. Use this ID to troubleshoot issues. |
F655A8D5-B967-440B-8683-DAD6FF8DE990 |
| Code |
string |
The request status code. Valid values:
|
OK |
| Message |
string |
The description of the status code. |
OK |
| SignName |
string |
The name of the SMS signature. |
登录验证 |
| SignStatus |
integer |
The approval status of the signature. Valid values:
|
2 |
| CreateDate |
string |
The date and time when the SMS signature was created. |
2024-06-03 10:02:34 |
| OrderId |
string |
The ticket ID. Reviewers use this ID to query the review progress. Provide this ticket ID to accelerate the review. |
20044156924 |
| QualificationId |
integer |
The qualification ID. This is the ID of the qualification associated with the SMS signature application. |
2004393**** |
| Remark |
string |
A description of the SMS signature's use case. The description can be up to 200 characters long. |
登录场景验证码 |
| AuditInfo |
object |
The approval information. |
|
| RejectInfo |
string |
The reason the signature was rejected. |
通过资质信息,不能判断是否可以申请此签名。 |
| AuditDate |
string |
The time the signature was reviewed. |
2024-06-03 12:02:34 |
| FileUrlList |
array |
A list of supplementary business certificates or screenshots of business scenarios. |
|
|
string |
Information about the file uploaded to OSS. |
10098689758*****/1234qwe.png |
|
| SignCode |
string |
The code of the SMS signature. |
SIGN_100000077042023_17174665*****_ZM2kG |
| SignTag |
string |
The signature tag. Valid values:
|
2 |
| ApplyScene |
string |
The content of the application scenario. |
http://www.aliyun.com/ |
| ThirdParty |
boolean |
Indicates whether the signature is for personal use or for third-party use.
|
false |
| SignUsage |
string |
The use case of the signature. |
已注册商标名称。 |
| RegisterResult |
integer |
This parameter is deprecated. Use the The result of the signature's real-name registration. Valid values:
For more information about real-name registration for SMS signatures and suggested operations, see Real-name registration for SMS signatures. |
1 |
| AuthorizationLetterId |
integer |
The ID of the Letter of Authorization. |
1000********1234 |
| AuthorizationLetterAuditPass |
boolean |
The approval status of the Letter of Authorization. Valid values:
Valid values:
|
true |
| SignIspRegisterDetailList |
array<object> |
A list of carrier registration statuses. To get the data for this parameter, you must update the SDK to version 4.1.2 or later. |
|
|
array<object> |
|||
| RegisterStatus |
integer |
The registration status. Valid values:
For more information about real-name registration for SMS signatures and suggested operations, see Real-name registration for SMS signatures. |
0 |
| OperatorCode |
string |
The carrier type. Valid values:
|
telecom |
| OperatorCompleteTime |
string |
The time the carrier provided feedback, in `yyyy-MM-dd HH:mm:ss` format. |
2025-06-13 15:55:26 |
| RegisterStatusReasons |
array<object> |
A list of reasons for the registration status. |
|
|
object |
|||
| ReasonCode |
string |
The code of the reason for the registration status. Valid values:
|
REGISTER_TIMEOUT |
| ReasonDescList |
array |
A list of reason descriptions. A reason code may have zero or more descriptions. |
|
|
string |
The reason description. |
报备超时。 |
|
| TrademarkId |
integer |
The ID of the trademark entity. |
|
| AppIcpRecordId |
integer |
The ID of the APP ICP filing entity. |
Examples
Success response
JSON format
{
"RequestId": "F655A8D5-B967-440B-8683-DAD6FF8DE990",
"Code": "OK",
"Message": "OK",
"SignName": "登录验证",
"SignStatus": 2,
"CreateDate": "2024-06-03 10:02:34",
"OrderId": "20044156924",
"QualificationId": 0,
"Remark": "登录场景验证码",
"AuditInfo": {
"RejectInfo": "通过资质信息,不能判断是否可以申请此签名。",
"AuditDate": "2024-06-03 12:02:34\n"
},
"FileUrlList": [
"10098689758*****/1234qwe.png\n"
],
"SignCode": "SIGN_100000077042023_17174665*****_ZM2kG",
"SignTag": "2",
"ApplyScene": "http://www.aliyun.com/\n",
"ThirdParty": false,
"SignUsage": "已注册商标名称。",
"RegisterResult": 1,
"AuthorizationLetterId": 0,
"AuthorizationLetterAuditPass": true,
"SignIspRegisterDetailList": [
{
"RegisterStatus": 0,
"OperatorCode": "telecom",
"OperatorCompleteTime": "2025-06-13 15:55:26",
"RegisterStatusReasons": [
{
"ReasonCode": "REGISTER_TIMEOUT",
"ReasonDescList": [
"报备超时。"
]
}
]
}
],
"TrademarkId": 0,
"AppIcpRecordId": 0
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ForbiddenAction | Access to the account is denied. Please contact the administrator. | |
| 404 | SignatureNotFound | The signature does not exist. | The corresponding signature cannot be found under the account. |
See for a complete list.
Release notes
See Release Notes for a complete list.