All Products
Search
Document Center

Phone Number Verification Service:SearchVerification

Last Updated:Apr 07, 2024

Queries the result of a verification.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceSidstringNo

The service ID that is displayed in the Phone Number Verification Service console.

FA00000000000001
TostringNo

The mobile phone number of the recipient. You must add the country code to the beginning of the mobile phone number.

6212345****01
CodestringNo

The verification code.

1234
VerificationIdstringNo

The unique authentication ID that is returned by calling the StartVerification operation.

rJXlaR2q5LpKfREtpRPMBfDVQvELZwmBbK5yVR7gr3nLbNAcolLGPYCJaVHt/i+I
SendDatelongNo

The time when a text message is sent, in milliseconds. You can query text messages that were sent within the last 30 days.

1677600000000,
PageSizelongNo

The number of entries to return on each page.

10
CurrentPagelongNo

The number of the page to return. Pages start from page 1.

1

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request. An ID is a unique identifier that Alibaba Cloud generates for a request.

HF14955E-EEB5-3CE4-AE50-00F7FC8C1D62
Messagestring

The message that was returned.

OK
Modelobject

The data that was returned for the request.

{ "records": \[ { "sendDate":, "channel": "", "serviceSid": "", "to": "", "updatedDate":, "verificationId": "", "status": "" } ], "pageNo": , "totalPage": 1, "pageSize": 20, "totalCount": 1, }
Codestring

The HTTP status code that was returned for the request.

OK
Successboolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.

  • false: The request failed.

true

Examples

Sample success responses

JSONformat

{
  "RequestId": "HF14955E-EEB5-3CE4-AE50-00F7FC8C1D62\n",
  "Message": "OK",
  "Model": {
    "test": "test",
    "test2": 1
  },
  "Code": "OK",
  "Success": true
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history