Add custom domain
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Attaches a domain you own to the app. Nothing serves on it until you link it with Link custom domain.
Adding a domain and linking it are separate steps. DNS propagation happens outside Base44, so a linked domain can sit unverified for as long as its nameservers take. The domain's DNS has to point at Base44 before verification can pass, and the Base44 editor's domain settings show the records to set.
If a domain was released by another workspace, the call is rejected with a TXT record to publish. Publish it at the domain's DNS provider and send the same request again to prove you control the domain. A domain your own workspace released is re-added straight away.
Don't retry a request that timed out without checking first. If the domain was added, a second request is rejected as already attached, so look for it in List custom domains before you send the request again.
Adding domains is limited to 30 requests an hour per caller. Some workspaces have a different limit.
<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>
Path parameters
ID of the app the domain belongs to.
ID of the app the domain belongs to.
Request body
Example request
{
"domain": "example.com"
}Response
The domain, attached to the app but not yet linked.
Example response
{
"id": "68b1c0d4e7b91d003c45a1f7",
"domain": "example.com",
"app_id": "6820f3a4e7b91d003c45a1f2",
"last_status_check": "2026-08-15T09:10:00",
"last_status_payload": {
"verificationStatus": "verified"
},
"redirect_target_domain": "www.example.com",
"provider_id": "wix"
}Changes
Changed in 1 of the 14 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○