Custom domains
Connect a domain, see the DNS records to set and check them.
On this page
Concepts: Domains and sharing
Endpoint summaries come from the OpenAPI document.
GET/v1/projects/{project}/domains
Custom domains of the project with status and the DNS records to set
- Operation (MCP tool)
listProjectDomains- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
POST/v1/projects/{project}/domains
Connect a custom domain; returns the DNS records to set. Counts toward the plan's domain limit
- Operation (MCP tool)
addProjectDomain- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Request body
application/jsonobjectRequired
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
DELETE/v1/projects/{project}/domains/{domain}
Disconnect a custom domain
- Operation (MCP tool)
removeProjectDomain- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
POST/v1/projects/{project}/domains/{domain}/check
Check verification and DNS now
- Operation (MCP tool)
checkProjectDomain- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.