A, AAAA, CNAME, MX, and TXT, as well as newer types like HTTPS, SVCB, and ALIAS. The response includes the full record object with its assigned id — store that value, as you’ll need it to update or delete the record later.
Endpoint
POST/v1/domains/{domain}/dns
Path Parameters
string
required
The domain name to add the record to (e.g.
example.com).Body Parameters
string
required
The DNS record type. Must be one of:
A, AAAA, ALIAS, CNAME, HTTPS, MX, NS, PTR, SRV, SVCB, TLS, TXT.string
The record name. Use
@ to target the domain apex (root). Defaults to @ if omitted.integer
Time to live in seconds. Defaults to
3600 (1 hour). Values are clamped to the range 60–86400.string
required
The record value. Format depends on the record type — for example, an IPv4 address for
A records, or a fully-qualified hostname for CNAME records.Request Example
Response
200 OKobject
The newly created DNS record.
boolean
true if the domain is still being provisioned at the registrar. The record is saved and will be applied automatically once provisioning completes.