Verify custom domain

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Asks the hosting provider to check the domain's DNS.

Verification normally starts on its own when you link a domain. Call this when you have just fixed the DNS records and don't want to wait for the next automatic check.

A successful call means the check was accepted, not that the domain is verified. Poll Get custom domain status for the result.

A domain whose DNS doesn't point to Base44 yet fails in a way this endpoint doesn't document. Treat any failure here as "the check didn't start", fix the DNS records, and call this again.

post/api/apps/{app_id}/custom-domains/{domain_id}/verify

Path parameters

app_idstring required

ID of the app the domain belongs to.

ID of the app the domain belongs to.

domain_idstring required

ID of the custom domain. Get this from List custom domains.

ID of the custom domain. Get this from List custom domains.

Response

The provider accepted the verification request.

messagestring required

What happened, in plain text.

Example response

{
  "message": "Domain successfully unlinked"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.