AUTHAuthorization: Bearer <key>

Authentication

Every request carries an API key. Keys are scoped — an agent key can be limited to DNS writes on specific zones — and rotate without downtime: two keys can be live during a rollover.

Parameters
AuthorizationheaderRequired
Bearer token. Create and scope keys in the console or via POST /v1/keys.
X-Agent-Nameheader
Optional agent identity, e.g. claude-ops/1.4. Shown in activity feeds and audit logs.
curl https://api.majordomainus.com/v1/domains \
  -H "Authorization: Bearer mdk_live_9f2a…" \
  -H "X-Agent-Name: claude-ops/1.4"
200 ok
{
  "data": [ … ],
  "request_id": "req_8f31ab",
  "agent": "claude-ops/1.4"
}