dns

Batch create DNS records

Create multiple DNS records in a single transaction. Requires domain ownership. All records will be validated together against DNS zone rules.

post/dns/records/batch

Request

  • Base URL: https://api.namefi.io/v-next
  • URL: https://api.namefi.io/v-next/dns/records/batch
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Headers

x-namefi-eip7702-accountstring

Optional delegated account address to authenticate as when the signer is an approved signer. Preferred header name.

x-namefi-eip1271-accountstring

Legacy alias for x-namefi-erc1271-account. When multiple delegated account headers are present, x-namefi-eip7702-account takes precedence, then x-namefi-erc1271-account.

x-namefi-erc1271-accountstring

Optional delegated account address to authenticate as when the signer is an approved signer. Preferred ERC-1271 header name.

Request body

OR

Response

OK

idstring uuid required
zoneNamestring required
namestring required
type'A' | 'AAAA' | 'CNAME' | 'MX' | 'TXT' | 'NS' | 'SOA' | 'PTR' | 'SRV' | 'CAA' | 'DS' | 'TLSA' | 'SSHFP' | 'HTTPS' | 'SVCB' | 'NAPTR' | 'SPF' | 'ANAME' required
classstring required
ttlinteger required
rdatastring required
zoneLabelsstring[] required
recordNameLabelsstring[] required
labelsstring[] required
zoneLabelsReversedstring[] required
recordNameLabelsReversedstring[] required
labelsReversedstring[] required
createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.