---
title: "Generate JWT"
method: GET
path: "/login/jwt"
tags: ["Login"]
---

# Generate JWT

`GET /login/jwt`

Generates a new JWT for the user associated with the API key making the request

## Query parameters

- `time_to_live` integer

## Response `201`

The JWT

- string

## Other responses

- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

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