Skip to main content

Validate DCV API

Notifies the CA to check the domain validation status. For email validation, this triggers a resend of the validation email.

Endpoint

POST /api/v1/certificate/validate-dcv

Host:
...

Full URL

/api/v1/certificate/validate-dcv

Request​

Content-Type: application/json
Content-Length: 26

{
"service_id": "o91bZ" // Certificate ID, the `service_id` returned by the Create Certificate Order API
}

Response​

HTTP/1.1 200 OK

Content-Type: application/json
Content-Length: 26

{
"success": true,
"message": "OK"
}
danger

Do not call this API before the user has completed the DNS record setup or file validation. Because DNS results are cached, a failed CA lookup is usually cached for several minutes, during which your (or your customers') certificates will not be issued.

The correct approach is: after the user completes the setup, provide a "Check DNS record" / "Check file content" button on your platform that synchronously calls this API. With this integration, orders under your API are usually issued within 1 minute after the user completes the setup, delivering a better customer experience.