Documentation
Export a redirect file
GET
/v1/exports/redirectsLinksEvery live link as a redirect file for another server, so links on your own domain keep working anywhere: netlify (a _redirects file, also read by Cloudflare Pages), nginx, apache or worker (a Cloudflare Worker). Free on every plan.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
format | netlify | nginx | apache | worker | required |
Example request
Terminal
curl "https://snip.link/v1/exports/redirects" \
-H "Authorization: Bearer $SNIP_KEY"Errors
| Status | Meaning |
|---|---|
| 400 | The body or query is invalid. details names each field. |
| 401 | The API key is missing, malformed or revoked. |
| 429 | Either the key exceeded its requests-per-second limit (honor Retry-After), or a daily or plan quota is used up (details.reason). |