1
Create an API key
Sign into the Figranium web UI and generate an API key from Settings. Copy the value once; you will not see it again.
2
Pass the key to the client
Provide
apiKey when constructing the client. Figranium sends it as Authorization: Bearer <key> by default.3
Switch to the x-api-key header (optional)
Some deployments expect Only
x-api-key instead of the Authorization header. Set apiKeyHeader: "x-api-key":"authorization" (default) and "x-api-key" are valid values.What API keys can access
API keys authenticate every task, execution, schedule, capture, browser, and execution endpoint exposed by the SDK. Server-administration operations (creating API keys, changing themes, and managing proxies) are performed in the Figranium web UI.Related
Client configuration
All available client options, including
baseUrl and timeoutMs.API key
How Figranium API keys work and how to manage them from the web UI.