Claim App Domain
POST /apps/{app_id}/domains
Claim a hostname and return the TXT record proving you control it.
409 when another app already holds the host. Hostnames are globally unique,
and a silent overwrite would let one builder take another’s traffic — which
is why claim_domain raises rather than upserting.
Authorizations
Parameters
Path Parameters
Header Parameters
Request Body required
object
The hostname to serve this app on. Normalized server-side: case, a trailing dot and unicode all resolve to one canonical form.
Responses
201
Successful Response
object
Everything the builder needs to prove control, and nothing else.
The token is returned ONLY here, at claim time. It is also stored, but there is deliberately no route that reads it back: a token readable on demand is a token an attacker with a stolen read-only key can harvest for every pending domain on the platform.
object
Create the record at this name, e.g. _graph8-challenge.app.example.com
422
Validation Error