Skip to content

Documentation

Export a redirect file

GET/v1/exports/redirectsLinks

Every 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

ParameterTypeRequiredDescription
formatnetlify | nginx | apache | workerrequired

Example request

Terminal
curl "https://snip.link/v1/exports/redirects" \
  -H "Authorization: Bearer $SNIP_KEY"

Errors

StatusMeaning
400The body or query is invalid. details names each field.
401The API key is missing, malformed or revoked.
429Either the key exceeded its requests-per-second limit (honor Retry-After), or a daily or plan quota is used up (details.reason).

Back to getting started