Calls the GetTxtRecordForVerify operation to generate a TXT record. The record is used to retrieve domain names and subdomain names, add the subdomain name verification function, and perform batch retrieval.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes GetTxtRecordForVerify

The operation that you want to perform. Set the value to GetTxtRecordForVerify.

DomainName String Yes

The domain name.


The function verified by using the TXT record. Valid values:

Lang String No en

The language type.

Response parameters

Parameter Type Example Description
DomainName String

The domain name.

Note If you do not specify this parameter, it is not returned.
RR String aliyunRetrieval

The host record.

RequestId String 9CC0D642-49D4-48DE-A1A5-9F218652E4A7

The ID of the request.

Value String c99419e6997f41daaa3e*****

The value of the DNS record.

Note The validity period is three days.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.