Get Login Token

Exchange your API token and user email for a short-lived JWT.

This is the first call you should make. The returned JWT must be passed as a Bearer token in the Authorization header of all subsequent requests.

Token lifetime: 10 days.

How it works:

  1. Your organisation is looked up by the api_token.
  2. The user_id (email) is verified as a member of that organisation.
  3. A JWT containing an encrypted user payload is returned. The payload is encrypted with your organisation ID as the key, so even if the token is intercepted, the data cannot be read without knowing the org ID.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

API credentials

string
required

Your organisation API token. This is shared with you during onboarding and is unique per organisation.

string
required

Your registered email address. Must be a member of the organisation associated with the API token.

string

Optional phone number or group ID to pre-load a specific conversation context in the session.

Responses

400

Bad request — missing or invalid api_token / user_id

404

API token invalid or user not found in any organisation matching this token

500

Internal server error

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json