Create a DNS record
POST
https://api.shadw.cloud/v1/domains/{domain}/recordsCreate a DNS record. shadw's authoritative DNS server answers queries for the domain from these records.
Authentication
AuthorizationbearerTokenA platform API key (hive_…, created under Settings → API Keys) or a JWT of at most 1 hour from POST /v1/token, which is server-only once HIVE_JWT_SECRET is set. An API key scopes the request to the team it was created under.
Path parameters
domainstringRequiredThe domain name.
Body parameters
type"A" | "AAAA" | "CNAME" | "TXT" | "MX" | "NS"RequiredRecord type.
namestringRequiredSubdomain (e.g. "www"), or an empty string for the apex.
valuestringRequiredRecord value (IP, hostname, text…).
ttlnumberOptionalTime-to-live in seconds (default 60).
prioritynumberOptionalPriority (MX records).

