Skip to main content
IllumiChat supports two authentication methods. Session authentication (Auth0) is used by the app and browser-based requests. Workspace API keys are used for server-to-server access and no-code integrations such as Zapier.

Session Authentication

Session-based authentication is the primary method for browser-based applications. When a user logs in at app.illumichat.com, Auth0 issues a session cookie that is automatically included in subsequent requests. For browser-based integrations, include credentials: "include" in your fetch calls:

API Key Authentication

Workspace API keys authenticate server-to-server requests to the public v1 REST API and power the Zapier integration. A key acts on behalf of the whole workspace, not an individual user.
API keys use a static bearer token — there is no OAuth2 flow. Auth0 sessions remain the mechanism for browser and in-app requests.

Creating a key

Go to Settings → API Keys in IllumiChat and create a key. Keys begin with the prefix wsk_live_. The full key is shown only once at creation time — copy it somewhere safe. Only workspace owners and admins can create or revoke keys.
Creating and using API keys for write actions requires a Pro plan or higher. Requests from Free workspaces are rejected with 403 plan_upgrade_required.

Making authenticated requests

Send the key as a bearer token:

Scopes

Each key carries one or more scopes. A request that needs a scope the key lacks is rejected with 403 missing_scope. Grant only the scopes an integration needs.

Revoking a key

Revoke a key from Settings → API Keys at any time. Revocation is immediate and disconnects every integration — including any Zaps — using that key.

Public Endpoints

The following endpoints do not require authentication:

Widget Endpoints

SMS Webhooks

SMS webhook endpoints validate the Twilio request signature to verify that incoming requests originate from Twilio.

Authorization

After authentication, IllumiChat checks your permissions before processing each request.

Workspace Roles

Assistant Visibility

visibility governs access to the assistant in the internal Chat workspace, not the embeddable widget (which is controlled by widgetEnabled).

Auth Error Responses

Session tokens expire based on Auth0 configuration. If you receive a 401 response, prompt the user to re-authenticate rather than retrying.