v2

latestOpenAPI 3.1.02026-07-312303692.4 MB
Authentication

Whoami

Return information about the account associated with the current token

get/api/v1/auth/whoami

Response

envIdstring nullable

The environment ("organization") that the current token is attached to

appIdstring nullable

The dispatch application that the current token is limited to, if there is one

streamAppIdstring nullable

The stream application that the current token is limited to, if there is one

permissionSource'OidcJwt' | 'SvixJwt' | 'RegionalAuthToken' | 'GlobalAuthToken' | 'Unknown' required

The authentication type of the current request

sessionIdstring nullable

The session associated with the current request

Example response

{
  "envId": "org_1srOrx2ZWZBpBUvZwXKQmoEYga2",
  "appId": "app_1srOrx2ZWZBpBUvZwXKQmoEYga2",
  "streamAppId": "strm_2yZwUhtgs5Ai8T9yRQJXA",
  "sessionId": "user_1FB8"
}