---
title: "Get authenticated caller identity and resources"
method: GET
path: "/api/whoami"
tags: ["identity"]
---

# Get authenticated caller identity and resources

`GET /api/whoami`

## Request

- Base URL: `https://rstream.io`
- URL: `https://rstream.io/api/whoami`
- Auth: HTTP bearer

## Response `200`

Successful response.

- Whoami
  - `id` string, required
  - `role` string, required
  - `name` string
  - `email` string
  - `permissions` string[]

## Other responses

- `401`: Authentication is required.
- `403`: The token is not authorized.

---

[API](https://skmtc.dev/rstream/apis/rstream-api.md) · [All operations](https://skmtc.dev/rstream/apis/rstream-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rstream/apis/rstream-api/revisions/a840a2c91f22?raw)
