All Products
Search
Document Center

Resource Management:SendPhoneVerificationForMessageContact

Last Updated:Aug 28, 2026

Sends a verification message to a contact's mobile phone number.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ContactId

string

No

The ID of the contact.

c-qL4HqKONzOM7****

PhoneNumber

string

No

The mobile phone number of the contact.

The value must be in the <Country code>-<Mobile phone number> format.

This mobile phone number must match the one specified in the AddMessageContact operation.

86-139****1234

Response elements

Element

Type

Description

Example

object

The returned result.

RequestId

string

The request ID.

CD76D376-2517-4924-92C5-DBC52262F93A

Examples

Success response

JSON format

{
  "RequestId": "CD76D376-2517-4924-92C5-DBC52262F93A"
}

Error codes

HTTP status code

Error code

Error message

Description

400 MissingParameter.ContactId You must specify ContactId.
400 InvalidParameter.ContactId The ContactId is invalid.
400 MissingParameter.PhoneNumber You must specify PhoneNumber.
400 InvalidParameter.PhoneNumber The PhoneNumber is invalid.
400 InvalidParameter.MobileCountryCode The current site does not support the country code.
404 EntityNotExists.Contact This Contact does not exist.
404 EntityNotExists.Contact.Verification This contact verification does not exist.
409 SendValidateCodeExceedsLimitForAccount For the same account, the number of verification codes sent exceeds the limit.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.