APIs & SDKs/shadw REST API/Import DNS records

Import DNS records

POSThttps://api.shadw.cloud/v1/domains/{domain}/import

Bulk-import records (DNS migration) from a list and/or a pasted BIND zone file. Idempotent — exact duplicates are skipped.

Authentication

AuthorizationbearerToken

A 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

domainstringRequired

The domain name.

Body parameters

recordsDnsRecord[]Optional

Structured records to import.

zonestringOptional

Raw BIND-style zone text to parse and import.