Deskhero Developer Hub
Back to deskhero.com
Account

Create jwt token

Creates a labelled personal API token (JWT) that is valid for one year, and registers it as a session so that it can be revoked later.

POST /api/sys/v{version:apiVersion}/account/create_jwt_token
Authorisation
Minimum role: USER

Request arguments

Name Type Source
inputDTO_create_jwt_tokenBody
Request body example

Response

Status
200 (OK)
Type
String
Wrapper
DTO_response_wrap
Other statuses
400 (BadRequest), 403 (Forbidden)
Response body example
DTO_create_jwt_token
NameTypeReadOnlyDescription
labelStringLabel

Generated Aug 4, 2026 18:37