Auth API reference

Auth API · Apps

get/v1/apps/{app_id}/custom-domains/{domain_id}/exportAuth

Download the custom domain's DNS records as a BIND zone fragment or a CSV.

`format=bind`: a zone-file fragment (`$ORIGIN <zone>.`, `$TTL 3600`, names relative to the zone, a comment per record with its purpose and any conflict) that Cloudflare and Route 53 import directly. `format=csv`: `type,name,value,priority,ttl,purpose,required`, fully qualified names. By default only records not verified yet; `all=true` for both. Served as an attachment.

Path parameters

app_id*string

Id of the app.

domain_id*string · uuid

Id of the domain.

Query parameters

format*enum (2)

File format: a BIND zone-file snippet or CSV.

allboolean

Include records that already verify.

Response · 200

The file.

Example

Request

GET https://api.auth.productcraft.co/v1/apps/{app_id}/custom-domains/{domain_id}/export
Authorization: Bearer YOUR_TOKEN