---
title: "Create Read Token"
method: POST
path: "/read-tokens"
---

# Create Read Token

`POST /read-tokens`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/read-tokens`
- Auth: none declared

## Request body

- ReadTokenCreateRequest
  - `label` string, required
  - `scope` ReadTokenScope
    - `repositories` string[], nullable
    - `event_types` string[], nullable
    - `environments` string[], nullable
  - `expires_at` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
