cloadyDocs
API ReferenceEndpointsWorkspaces

Verify a custom domain

Checks for the `verification` TXT record (`_cloady.<domain>`) or a delegation to Cloady's nameservers and, when either is there, marks the domain and its subdomains in this workspace verified. Answers the domain's settings; `verified` says whether it passed. New records can take a few minutes to appear. Needs the developer role.

POST
/api/workspaces/{workspaceSlug}/domains/{domain}/verify
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
domain*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/workspaces/string/domains/string/verify"
{  "domain": "string",  "kind": "registered",  "dns": "registrar",  "verified": true,  "verification": {    "name": "string",    "value": "string"  },  "zoneTaken": true,  "nameservers": [    "string"  ],  "registration": {    "expiresAt": "string",    "autoRenew": true,    "renewal": -9007199254740991,    "privacy": true,    "locked": true,    "glue": [      {        "host": "string",        "ips": [          "string"        ]      }    ]  },  "dnssec": {    "enabled": true,    "ds": [      {        "keyTag": -9007199254740991,        "algorithm": -9007199254740991,        "digestType": -9007199254740991,        "digest": "string"      }    ]  },  "transfer": {    "direction": "in",    "status": "pending",    "startedAt": "string",    "registrar": "string",    "error": "string",    "price": -9007199254740991,    "detail": "string",    "paymentIntentId": "string",    "refund": "pending",    "submitted": true  },  "transferPrice": -9007199254740991}