QuerySmsSign

Updated at:

Queries the review status of a signature.

Operation description

  • In accordance with the regulations of the Ministry of Industry and Information Technology and the relevant requirements of carriers, Alibaba Cloud has upgraded the features of signature-related API operations. Use the new GetSmsSign - Query signature details operation. The response parameters of the new operation return more signature details than the original operation.

  • Review time: Generally, Alibaba Cloud completes the review within 2 hours after a signature is submitted. The review working hours are from 09:00 to 19:00 (UTC+8) Monday to Sunday, excluding public holidays. Submit your application before 18:00.

  • If a signature fails the review, the reason for the failure is returned. Refer to Suggestions for handling SMS review failures, call the ModifySmsTemplate operation, or modify the SMS signature on the Signature Management page.

  • This operation queries the review details of a single signature by signature name. You can call the QuerySmsSignList operation to query the details of all signatures under your current account.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

dysms:QuerySmsSign

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

SignName

string

Yes

The name of the signature. It must be an SMS signature applied for by using the current account.

Alibaba Cloud

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

CC89A90C-978F-46AC-B80D-54738371E7CA

SignStatus

integer

The review status of the signature. Valid values:

  • 0: Under review.

  • 1: Approved.

  • 2: Rejected. Check the Reason response parameter for the reason.

  • 10: Canceled.

1

Code

string

The request status code.

  • A value of OK indicates that the request is successful.

  • For other error codes, see Error codes.

OK

Message

string

The description of the status code.

OK

CreateDate

string

The date and time when the SMS signature was created.

 2019-01-08 16:44:13

Reason

string

The review remarks.

  • If the review status is Approved or Under review, the Reason parameter displays "No review remarks".

  • If the review status is Rejected, the Reason parameter displays the specific reason for the rejection.

The file cannot prove the authenticity of the information. Upload it again

SignName

string

The SMS signature.

Alibaba Cloud

Examples

Success response

JSON format

{
  "RequestId": "CC89A90C-978F-46AC-B80D-54738371E7CA",
  "SignStatus": 1,
  "Code": "OK",
  "Message": "OK",
  "CreateDate": " 2019-01-08 16:44:13",
  "Reason": "The file cannot prove the authenticity of the information. Upload it again",
  "SignName": "Alibaba Cloud"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.