Skip to main content
Attexra supports two authentication mechanisms depending on whether the caller is a machine integration or an interactive Console operator.

Service & Agent API Keys (X-API-Key)

Machine integrations authenticate using an X-API-Key header issued for a specific role and permission set:
Keys are hashed before storage; plaintext secrets are displayed only once upon organisation bootstrap (POST /v1/organisations) or key creation (POST /v1/api-keys). Keys can carry explicit scopes (agents:write, authorizations:verify, financial:write, events:read) and can be revoked immediately (POST /v1/api-keys/:id/revoke).

Interactive Console Sessions (Bearer)

Human operators authenticate via /v1/auth/register and /v1/auth/login to receive a session token scoped to their organisation and user role.