Authorization header.
Create a key
Open the Developer tab in your account. Give the key a descriptive name, select only the scopes your integration needs, and optionally set an expiration date. The full API key and webhook secret are shown once. Store both in a secret manager. Porn Factory AI stores only a hash of the API key and cannot display it again.Scopes
Use separate keys for production, staging, and local development. Revoke a key
immediately if it may have been exposed.
Authentication errors
401 unauthorized: the key is missing, malformed, expired, revoked, or unknown.403 forbidden: the key lacks the required scope or its account is suspended.429 rate_limited: the key exceeded its request window.
X-RateLimit-Limit,
X-RateLimit-Remaining, and X-RateLimit-Reset headers.