A valid request URL is required to generate request examples{
"connected": true,
"custom_domain_available": true,
"host": "accounts.example.com",
"status": "pending",
"status_detail": "<string>",
"verification": [
{
"type": "CNAME",
"domain": "<string>",
"value": "<string>",
"reason": "<string>"
}
],
"last_checked_at": "2023-11-07T05:31:56Z",
"verified_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Read the custom portal domain
Requires org:update. The address your customers reach the hosted portal at, and what still has to happen in DNS before it works.
Not connected is a state, not a 404: the answer still carries custom_domain_available, so a screen knows whether the capability exists on the server before it offers a form.
This read never asks the edge. It reports what the last check learned — POST .../verify is the call that asks.
Ungated on every plan, like disconnecting: a domain nobody can see is a domain nobody can take down.
A valid request URL is required to generate request examples{
"connected": true,
"custom_domain_available": true,
"host": "accounts.example.com",
"status": "pending",
"status_detail": "<string>",
"verification": [
{
"type": "CNAME",
"domain": "<string>",
"value": "<string>",
"reason": "<string>"
}
],
"last_checked_at": "2023-11-07T05:31:56Z",
"verified_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Authorizations
Headers
The organization the caller is acting on — the org_… code that appears in the panel URL. It identifies; the membership JOIN is what authorizes, so a forged code reads nothing: the answer is not_a_member (403), which does not mean the session is over. Absent, the session's default organization answers, or — if that membership was revoked while the session was open — any other one the caller still holds.
Response
The domain, or the not-connected state.
The address your customers reach the hosted portal at.
connected is false for an environment that has none, which is a state a screen renders rather than a 404 — and custom_domain_available still answers, because a screen has to know whether the capability exists on the server before it offers the form.
Every status that is not verified names a different repair.
pending: nothing answers for this host yet — add the records in verification. misconfigured: something answers and it is not us — remove or replace it. verified: nothing to do. Only an explicit yes from the edge ever reaches verified.
pending, misconfigured, verified