---
title: "Create a JWT"
method: POST
path: "/auth/issue-token"
tags: ["Authentication"]
---

# Create a JWT

`POST /auth/issue-token`

Returns a new access token.

## Request body

- object
  - `scope` string, required
  - `expires_in` string, required

## Response `200`

- IssueTokenResponse
  - `token` string, required

## Changes

- **2025-10-15** `e67d02739533` — 2 info
  - api tag `Authentication` added
  - api tag `AuthTokens` removed
- **2025-10-07** `7143ea51f307` — 14 breaking, 1 info
  - removed the enum value `inbox:read:messages` of the request property `scope`
  - removed the enum value `inbox:write:event` of the request property `scope`
  - removed the enum value `inbox:write:events` of the request property `scope`
  - removed the enum value `inbox:write:messages` of the request property `scope`
  - …11 more

[Change history](https://skmtc.dev/trycourier/apis/courier/changes/auth/issue-token/post.md)

---

[API](https://skmtc.dev/trycourier/apis/courier.md) · [All operations](https://skmtc.dev/trycourier/apis/courier/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycourier/courier/revisions/71020f2e0980/schema)
