---
title: "Who am I"
method: POST
path: "/api/v1/whoami"
---

# Who am I

`POST /api/v1/whoami`

## Request

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

Returns the authenticated user's id, handle, and granted scopes for this connection.

## Request body

- object

## Response `200`

Success.

- object
  - `user_id` string, required
  - `handle` string, required
  - `scopes` string[], required

## Other responses

- `400`: Invalid arguments.
- `401`: Missing, expired or revoked API key.
- `403`: The key's scope, restriction or role does not allow this.
- `404`: Not found, or outside the key's restriction.
- `409`: The document changed since expected_revision.
- `429`: A plan limit or daily quota was reached.

---

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