# Creates a new JWT Login Token **GET /api/base/api_token/create_jwt** ## Servers - https://replace-with-own-host.iw-erp.de: https://replace-with-own-host.iw-erp.de () ## Authentication methods - Session token - Jwt token internal - Login config ## Parameters ### Query parameters - **scopes** (string) comma seperated list of scopes - **allowedPath** (string) allowed path - **allowedMethod** (string) allowed path - **validSeconds** (number) number of seconds in the future. 86400 - **maxUserAccessType** (number) max user access type to add to jwt. 2 = write, 1 = edit, 0 = read - **extraShort** (string) replace the algorithm part of the jwt with the default value to save 32 chars. true / false - **iw-build-id** (string) build id of the client - **iw-package-id** (string) package id of the client ## Responses ### 200 Creates a new JWT Login Token #### Body: application/json (object) - **id** (integer) - **sessionid** (string) - **selectedcustomer** (object) - **start** (string(date-time)) - **refreshed_start** (string(date-time)) - **ip** (string) - **valid** (boolean) - **is_api_key** (boolean) - **is_dg** (boolean) - **missing2fa** (boolean) - **start_in_vpn** (boolean) - **auth_by_credentials** (boolean) - **auth_by_google** (boolean) - **auth_by_microsoft** (boolean) - **auth_by_cloudflare** (boolean) [Powered by Bump.sh](https://bump.sh)