Skip to main content

Authentication

The Client API uses a header-based access token. There is no JWT or session.

Access Token

Headerx-access-token
WhenRequired on all protected endpoints
Error401 Unauthorized — missing or invalid token

The token is tied to a company. Chat access is restricted to that company.

Create the token in the admin panel: Create Access Token.

Example header

x-access-token: <company-access-token>
const headers = {
'Content-Type': 'application/json',
'x-access-token': ACCESS_TOKEN,
};

Failed authentication

CaseTypical result
Missing token401"Token is required"
Invalid token401 Unauthorized