---
title: "Generate a JWT Token"
method: POST
path: "/accountmanager.getjsonwebtoken"
tags: ["User Admin", "Authentication"]
---

# Generate a JWT Token

`POST /accountmanager.getjsonwebtoken`

Generates and returns a non-expiring JSON Web Token for the authenticated user. Allows to restrict the scope of the token by a list of permissions. Used for integration purposes.

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

## Request body

- object
  - `data` object
    - `permissions` string[]

## 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)
