brand_id.
Send the key
Include the key in theAuthorization header using the bearer scheme:
Keep keys safe
- Store keys in a secrets manager or server environment variable.
- Never put a key in browser code, mobile binaries, logs, or source control.
- Never send a key in a URL or query parameter.
- Revoke and replace a key immediately if it is exposed.
Permissions
Permissions are explicit. Product operations use these permissions:
The
photoshoots:generate permission includes reading the templates required
for generation and retrieving the resulting photoshoot.
A valid key without the required permission receives 403 Forbidden. A
missing, disabled, expired, or invalid key receives 401 Unauthorized.
Rate limits
API keys have a broad per-key limit of 120 requests per minute. A rate-limited request returns429 Too Many Requests with a Retry-After header.