2.4 Obtain Validation Email Address
2.4.1 API Information
| Environment | |
|---|---|
| Production environment | https://portal.racent.com/ssl/DCVemail |
| Request method | POST |
| content-type | multipart/form-data |
| Description | This 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 name | Parameter type | Required | Description |
|---|---|---|---|
| api_token | String | Y | Authentication credential. Please contact Racent technical support to generate a token. |
| domainName | String | Y | Domain name |
Function Return
| Parameter name | Parameter type | Required | Description |
|---|---|---|---|
| code | int | Y | Return status. Refer to Appendix 3.1 for detailed explanations. |
| data | Array | N | This parameter is present (Y) when code indicates success. Each item is a specific email address. |
| errors | Object or String | N | This 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. |