The API can be used to manage your redirects.
Authentication
When logged into your account, navigate to the 'API' tab. Here you can find your Team's API token. With this token you can make the following calls to our API:
Endpoints
GET /api/v1/redirects
: List all redirects.
GET /api/v1/redirects/$REDIRECTID$
: Show a specific redirect by it's ID. You can fetch the ID from the list call or from the control panel.
POST /api/v1/redirects
: Add a new redirect
PATCH /api/v1/redirects
: Update an existing redirect
DELETE /api/v1/redirects/$REDIRECTID$
: Delete a redirect
Documentation
We have an OpenAPI spec based available on the page below: