Skip to main content

Verify Domain (Email)

Validates the token sent to the domain owner’s email address. This endpoint is typically called when the user clicks the verification link.
GET /v1/docks/verify-email

Query Parameters

ParameterTypeRequiredDescription
tokenstringRequiredThe verification token from the email

Example Request

curl "https://api.docyard.io/v1/docks/verify-email?token=vrf_abc123def456..." \
  -H "Authorization: Bearer dk_live_a1b2c3d4..."

Response

{
  "success": true,
  "message": "Email verification successful"
}

Error Handling

StatusCondition
400Token is invalid, expired, or already used
401Missing or invalid API key
404No pending verification found for this token