Preview draft
Creates a preview deployment of the draft branch with its own URL, <site>--<short id>.
Authentication
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.
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
Request
Response
The name, start and end of the key, when triggered with an API key (CLI / CI)
First 10 characters of the key
Last 10 characters of the key
Present after success. Production deployments have the site's URL; previews use a <site>--<last 8 characters of the id> subdomain