FactoraERP Developersfactoraerp.com →

Authentication

API keys

Scopes

ScopeGrants
read:customersGET /api/v1/customers
read:inventoryGET /api/v1/inventory-items
read:salesGET /api/v1/sales-invoices

Sending the key

Use either header:

curl -H "Authorization: Bearer fxk_..." https://brazen-raven-302.convex.site/api/v1/me
curl -H "X-API-Key: fxk_..." https://brazen-raven-302.convex.site/api/v1/me

If both are present, Authorization wins. Never put the key in the URL: a request with an api_key query parameter is refused with 401 so keys don't leak into logs.

Keeping keys safe