Session Authentication
Session-based authentication is the primary method for browser-based applications. When a user logs in atapp.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 prefixwsk_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.
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 with403 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).