---
title: "Export a domain's required DNS records as CSV"
method: GET
path: "/v1/projectId/{projectId}/domains/{domainId}/export/csv"
tags: ["Sending Setup"]
---

# Export a domain's required DNS records as CSV

`GET /v1/projectId/{projectId}/domains/{domainId}/export/csv`

## Request

- Base URL: `https://api.bluefox.email`
- URL: `https://api.bluefox.email/v1/projectId/{projectId}/domains/{domainId}/export/csv`
- Auth: HTTP bearer

Returns a raw CSV file (Content-Disposition attachment), not the usual {status, result} JSON envelope.

## Path parameters

- `projectId` string, required
- `domainId` string, required

## Response `200`

CSV file

## Other responses

- `400`: Invalid request body or query - every violation found (missing/invalid/unexpected fields) is reported in one response, semicolon-separated, not just the first one hit.
- `403`: Missing or invalid API key

---

[API](https://skmtc.dev/bluefox/apis/bluefox-email-public-api.md) · [All operations](https://skmtc.dev/bluefox/apis/bluefox-email-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bluefox/apis/bluefox-email-public-api/revisions/fa1a0a835c7f?raw)
