edit-icon download-icon

TransferInCheckMailToken

Last Updated: Apr 23, 2018

Description

The TransferInCheckMailToken API provides the token in the registrant verification email for domain name transfer in.

Request parameters

Parameter Type Required Sample value Description
Token String Yes 3bdbaa0e-faa2-4ad2-98f4-bcfeb0237054 Token received in the email.
Lang String No en Language of the information returned by the API, which has the following enumerated values: zh (Chinese) and en (English). The default value is en.
UserClientIp String No 127.0.0.1 User IP address.

Response parameters

Parameter Type Sample value Description
RequestId String AF7D4DCE-0776-47F2-A9B2-6FB85A87AA60 Unique request ID.
SuccessList String test.com List of successfully verified domain names.
FailList String test.com List domain names that fail verification.

Samples

Sample request

  1. /?Action=TransferInCheckMailToken
  2. &Token=3bdbaa0e-faa2-4ad2-98f4-bcfeb0237054
  3. &<Public request parameter>

Sample of a normal response

  • XML format
  1. <TransferInCheckMailTokenResponse>
  2. <FailList/>
  3. <RequestId>C99AA313-4A94-4896-915B-4D4043C063DA</RequestId>
  4. <SuccessList>
  5. <SuccessDomain>test.com</SuccessDomain>
  6. </SuccessList>
  7. </TransferInCheckMailTokenResponse>
  • JSON format
  1. {
  2. "FailList":{
  3. "FailDomain":[]
  4. },
  5. "RequestId":"3E5677B5-6F55-4518-9A55-A9CE57313C9D",
  6. "SuccessList":{
  7. "SuccessDomain":["test.com"]
  8. }
  9. }

Sample of an abnormal response

  • XML format
  1. <Error>
  2. <RequestId>0F260AD0-67BD-44EC-AB95-F50FD0F25D16</RequestId>
  3. <HostId>domain.aliyuncs.com</HostId>
  4. <Code>TokenFailed</Code>
  5. <Message>Invalid email link, please get a new verification email</Message>
  6. </Error>
  • JSON format
  1. {
  2. "Code":"TokenFailed",
  3. "HostId":"domain.aliyuncs.com",
  4. "Message":"Invalid email link, please get a new verification email",
  5. "RequestId":"EA123BFB-2D07-4AB6-B6E5-28F4D64D6BD4"
  6. }

Error codes

See the error codes of the product.

Thank you! We've received your feedback.