---
title: "Generate a JWT Token (time limited)"
method: POST
path: "/accountmanager.getjsonwebtoken/{minutes}"
tags: ["User Admin", "Authentication"]
---

# Generate a JWT Token (time limited)

`POST /accountmanager.getjsonwebtoken/{minutes}`

Generates and returns an expiring JSON Web Token for the authenticated user. Used for integration purposes.

<!-- theme: info -->
>**Information**:
>The request header must contain real credentials (i.e. not just a session cookie).

## Response `200`

OK

- object
  - `response` object
    - `node` string
    - `csrfToken` string
    - `data` object[]
    - `status` number

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
