Domains
Setup DNS challenge records automatically using a DNS provider
This endpoint automatically creates the required DNS TXT records for ACME DNS-01 challenge validation using a configured DNS provider. The domain must have an active DNS challenge pending (created via POST /domains/{id}/order with dns-01 challenge type).
This is similar to how email domain DNS records are auto-provisioned.
post/domains/{domain_id}/setup-dns
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/domains/{domain_id}/setup-dns
- Auth: HTTP bearer
Path parameters
domain_idinteger required
Domain ID
Request body
Response
DNS records created successfully
Example response
{
"results": [
{
"name": "_acme-challenge.example.com",
"value": "abc123..."
}
]
}Changes
No recorded changes to this operation across all 50 revisions of this API.