---
title: "/me"
method: GET
path: "/me"
tags: ["Keys"]
---

# /me

`GET /me`

## Request

- Base URL: `https://api.productbyte.com/v1`
- URL: `https://api.productbyte.com/v1/me`
- Auth: HTTP bearer

Returns the workspace, scopes, and project allowlist of the key making the request. Use it to verify a key during integration.

## Response `200`

The key and what it may do.

- object
  - `organization_id` string, required: Workspace the key belongs to.
  - `scopes` string[], required: Permissions granted to this key.
  - `project_ids` string[], required: Projects this key may act on. Empty means every project in the workspace.
  - `expires_at` string, date-time: When the key stops working. Absent if it never expires.

## Other responses

- `401`: Missing, unknown, revoked, or expired key (`API_KEY_UNAUTHORIZED`).
- `429`: Too many requests for this key (`API_RATE_LIMITED`). Back off and retry; `Retry-After` gives the window length.

---

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