Authorization header.
There are two kinds:
Sessions are stateless. There is no cookie, no CSRF token, and no server-side
session; the token is the whole of the request’s identity.
User access tokens
A user access token is an Auth0-issued JWT, sent as a bearer token:X-Organization-Id names the organization the request acts in. The signed-in
person must be a member of it, and their role there decides what they can do. A
request to an organization-scoped operation without the header is refused with
403. See Your account for the roles.
Requesting a token
The web app requests these Auth0 scopes:X-Organization-Id, not from the requested scopes.
Streaming endpoints
The two Server-Sent Events endpoints take a user access token. API keys are not accepted there; to collect inbound messages with a key, list them withGET /api/v1/inbound/messages.
GET /api/v1/inbound/stream takes the token in the Authorization header like
everything else.
GET /api/public/inbound/stream takes it as a token query parameter,
because the browser EventSource API cannot set request headers.

