Skip to content

Export a zone redirect map as CSV

GET
/api/zones/{zoneId}/redirect-map/export

Downloads the whole redirect map as a CSV file - "source,target,mode,status", one row per redirect, with a header row. This is the same format the import endpoint accepts, so an exported file can be re-imported as-is. Served as text/csv with a Content-Disposition attachment.

Authorizations

ApiToken

Long-lived API token created via POST /api/api-tokens (returned once in plaintext). A token created with readOnly may only perform safe requests (GET, HEAD, OPTIONS); write requests are rejected on every endpoint.

Type
API Key (header: X-API-TOKEN)
or
JWT

JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer .

Type
HTTP (bearer)

Parameters

Path Parameters

zoneId*

Zone identifier

Type
string
Required

Responses

CSV file (text/csv) as an attachment download.

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI