Skip to main content
POST
Mint an end-user session token

Authorizations

Authorization
string
header
required

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

application/json
session_id
string
required
allowed_agent_ids
integer[]
client_id
string | null

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.

end_company_id
string | null
end_user
string | null
end_user_email
string | null
ttl_seconds
integer | null

Response

Success.

data
MintSessionTokenResponse · object
required
meta
object
required