---
title: "Whoami"
method: GET
path: "/api/v1/auth/whoami"
tags: ["Authentication"]
---

# Whoami

`GET /api/v1/auth/whoami`

Return information about the account associated with the current token

## Response `200`

- WhoamiOut
  - `envId` string, nullable — The environment ("organization") that the current token is attached to
  - `appId` string, nullable — The dispatch application that the current token is limited to, if there is one
  - `streamAppId` string, 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
  - `sessionId` string, nullable — The session associated with the current request

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Validation Error
- `429` — Too Many Requests

---

[API](https://skmtc.net/svix/apis/svix-api.md) · [All operations](https://skmtc.net/svix/apis/svix-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/svix/svix-api/revisions/16dbcc056c48/schema)
