Factory API
Public API for Factory platform. Requires authentication via the `Authorization: Bearer` header.
Authentication
The Factory Public API authenticates every request with a bearer token. Pass your Factory API key in the Authorization header as a Bearer token. Requests without a valid API key receive a 401 response.
Factory API key or JWT token for authentication
Authorization: Bearer $FACTORY_API_KEYCreate an API key
Create API keys in the Factory App before you call the API. Keys are shown once, so copy the value immediately and store it in your secret manager or shell environment.
- Open Factory API keys settings.
- Create a new API key and give it a name that matches the integration.
- Copy the key, store it securely, and load it as an environment variable.
export FACTORY_API_KEY="fk-your-api-key"Base URL
All endpoints are relative to the production base URL. Prepend it to each operation path shown on the group pages.
https://api.factory.aiAPI version 0.1.0
Resource groups
The API is organized into 6 resource groups. Each group page lists its operations with parameters, request and response schemas, and a curl example.