Permanent Token Authorization
Permanent tokens give you secure access to YouTrack from your client applications and scripts. Compared to OAuth 2.0, authorization with a permanent token has the following advantages:
Secure token-based authorization — authorize access without implementing a complex OAuth 2.0 authorization flow to obtain access tokens.
Simple management — create your own permanent tokens in your user profile. If you suspect that your connection has been compromised, you can delete the token at any time and generate a new one.
Scoped access — choose the service scope that the token can access. Permanent tokens only authorize actions that are allowed by the selected token scope and your account permissions.
To learn how to create or delete a permanent token in your user profile, see Manage Permanent Tokens.
Migrate from HTTP Basic Authentication
Starting with YouTrack 2026.3, general HTTP Basic authentication is no longer supported for YouTrack REST API requests.
To update an existing integration, create a permanent token for your YouTrack account and configure the client to send it in the Authorization header using the Bearer scheme:
Replacing a password with a permanent token while continuing to use the Basic scheme does not migrate the integration to Bearer authentication.
Sample Request
The following sample shows a REST API call which utilizes a permanent token as the Bearer attribute of the Authorization header.
Request:
Response: