Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Add a redirect

POSThttps://api.butterix.com/v1/sites/:site/redirects

Requires the editor role. Works right away, without a deployment, and only while the address has no page. The source starts with / and may end with /*; the target must be an address on this site and may use :splat. Up to 200.

Authentication

AuthorizationBearer

An organization API key, created in the console under Organization settings → API Keys, starting with biti_. It acts as editor and can't do anything that requires admin.

biti_sessionstring

The HttpOnly session cookie set on login. Requests that change data must be same-origin (the Origin header is checked) to prevent CSRF.

Path parameters

sitestringRequired

Site slug or id

Request

This endpoint expects an object.
fromstringRequired
tostringRequired
statusenumOptionalDefaults to 301
Allowed values:

Response

All redirects now