Custom domains

Claim a parent domain (verify once, wildcard CNAME once).

Prove control of e.g. theiragency.com with one TXT record and point *.theiragency.com at the fallback origin with one wildcard CNAME. Every client-space hostname under it afterwards registers with zero DNS work. The claim also RESERVES the domain: other accounts cannot register hostnames beneath it.

post/parent-domains

Request

  • Base URL: https://api.stacktr.ee
  • URL: https://api.stacktr.ee/parent-domains
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.stacktr.ee/oauth/authorize, token URL https://api.stacktr.ee/oauth/token, scopes: sites:write, sites:read)

Request body

domainstring required

Response

Claim issued; add the TXT + wildcard CNAME records returned in instructions, then verify.

okboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.