Initiate Domain Verification
Starts the domain verification process. The dock must have adomain configured before verification can begin.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The dock ID |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
method | string | Required | Verification method: dns or email |
emailAddress | string | Conditional | Required when method is email. Must be an address at the dock’s domain. |
Example Request (DNS)
Response
Example Request (Email)
Response
Error Handling
| Status | Condition |
|---|---|
400 | No domain configured on the dock |
400 | method is email but emailAddress is missing |
401 | Missing or invalid API key |
404 | Dock not found |
DNS propagation can take up to 48 hours. After adding the TXT record, use the Verify Domain (DNS) endpoint to complete verification.