Mint an end-user session token
Mints a short-lived JWT bound to one chat session_id. The Teams relay (or any future end-user-facing channel) attaches it as Authorization: Bearer <token> on subsequent /chat/sessions/<session_id>/* calls. Only service-account or dashboard callers can mint; the resulting token cannot mint or revoke.
A platform service account may pass client_id to mint for another tenant, but only when session_id is that tenant’s Neo Support session (otherwise 403); any non-platform caller passing client_id is rejected with 403.
When the session is scoped to an end-company (white-label sessions are, at create), the minted end_company_id claim is taken from the session itself — a caller-supplied value never widens or changes the session’s scope.
Authorizations
Authorization: Bearer <token> where <token> is either a neo_sk_<env>_<secret> API key (service account) or a Microsoft Entra ID access token (dashboard user).
Body
Target tenant to mint the token for. Honored only for a platform service account, and only when session_id is that tenant's Neo Support session (otherwise 403); any other caller passing it gets 403. Omit to mint for the caller's own tenant.
