---
title: "JWT for Token"
method: POST
path: "/Auth/Authorize"
tags: ["Auth"]
---

# JWT for Token

`POST /Auth/Authorize`

**Auth:** Anonymous - no token required.

Converts a Token to a JWT for Authentication

## Query parameters

- `page` integer, required
- `pageSize` integer, required
- `includes` string[], nullable
- `sort` string, nullable
- `filter` string, nullable

## Request body

- PostJwtForTokenRequest
  - `tokens` string[]
  - `keepAlive` boolean
  - `expiryDays` integer, nullable
  - `deviceName` string, nullable
  - `deviceType` string, nullable

## Response `200`

Success - Successfully Generated JWT

- PostJwtForTokenResponse
  - `jwt` string, nullable
  - `tokenCreationId` string, nullable
  - `meta` Meta
    - `page` integer
    - `pageSize` integer
    - `total` integer

## Other responses

- `400` — An Error Occurred - Could not generate JWT

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/fab57bf5558a/schema)
