Query parameters
-
comma seperated list of scopes
-
allowed path
-
allowed path
-
number of seconds in the future. 86400
-
max user access type to add to jwt. 2 = write, 1 = edit, 0 = read
-
replace the algorithm part of the jwt with the default value to save 32 chars. true / false
-
build id of the client
-
package id of the client
GET
/api/base/api_token/create_jwt
curl \
--request GET 'https://replace-with-own-host.iw-erp.de/api/base/api_token/create_jwt' \
--header "x-session-token: $API_KEY"
Response examples (200)
{
"id": 42,
"sessionid": "string",
"selectedcustomer": {
"id": 42,
"slackchannel": "string",
"displayname": "string",
"deleted": true,
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z"
},
"start": "2025-05-04T09:42:00Z",
"refreshed_start": "2025-05-04T09:42:00Z",
"ip": "string",
"valid": true,
"is_api_key": true,
"is_dg": true,
"missing2fa": true,
"start_in_vpn": true,
"auth_by_credentials": true,
"auth_by_google": true,
"auth_by_microsoft": true,
"auth_by_cloudflare": true
}