Skip to main content

2.4 Obtain Validation Email Address

2.4.1 API Information

Environment
Production environmenthttps://portal.racent.com/ssl/DCVemail
Request methodPOST
content-typemultipart/form-data
DescriptionThis interface is used to obtain domain verification email addresses. It returns relevant email addresses on success, and corresponding error codes on failure. Error codes are listed in Appendix 3.1.

2.4.2 Parameter Definition

Parameter nameParameter typeRequiredDescription
api_tokenStringYAuthentication credential. Please contact Racent technical support to generate a token.
domainNameStringYDomain name

Function Return

Parameter nameParameter typeRequiredDescription
codeintYReturn status. Refer to Appendix 3.1 for detailed explanations.
dataArrayNThis parameter is present (Y) when code indicates success. Each item is a specific email address.
errorsObject or StringNThis parameter is present (Y) when there are invalid parameters or logic errors. When there is only one error, this parameter is a string; when there are multiple errors, this parameter is an array, where the key represents the erroneous item.