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 short-lived JWT minted with POST /v1/token. 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 "@" for the apex.
valuestringRequiredRecord value (IP, hostname, text…).
ttlnumberOptionalTime-to-live in seconds (default 3600).
prioritynumberOptionalPriority (MX records).

