Skip to main content
POST
cURL
This endpoint has a rate limit of 1 request every 3 seconds.
1

Set the domain

Send assignedCustomDomain to POST /v1/apps/{appId}/update. The domain must use Cloudflare nameservers.
2

Publish the TXT record

The application now returns customDomainTxtName and customDomainTxtValue. Create a TXT record with that name and value in your DNS.
3

Confirm

Call this endpoint. While the record has not propagated yet it answers 400 with code: "CUSTOM_DOMAIN_TXT_NOT_FOUND": wait a few minutes and try again.

Authorizations

Authorization
string
header
required

Your CamposCloud API token, sent as Authorization: Bearer <token>.

Path Parameters

appId
string
required

ID of the application

Response

Domain confirmed and routed.

verified
boolean
required
Example:

true