The Phrase Platform provides a unified API token management interface for generating and managing access tokens across all Phrase products.
Access tokens are used to access the Phrase APIs without providing a username and password taking the place of login data. Specific actions can be performed within the API based on granted privileges.
Tokens are organization-specific. Platform users can view and manage tokens for the current Phrase organization in the tab of the user profile settings.
Token expiration and scopes are fixed and cannot be edited. Tokens are limited to all available actions in the selected Phrase application by default.
Generate API tokens
Each user can generate up to 20 access tokens. The API token/secret is valid for 730 days (2 years).
Platform API tokens are long-lived but cannot be used directly with product APIs or the Strings CLI. They must be exchanged for a short-lived JSON Web Token (JWT) via the OAuth token endpoint. The JWT access token expires after 4 hours.
To generate an access token, follow these steps from inside the Platform :
-
From the user menu (top right), select and click on Profile.
The page opens.
-
Select the tab and click Generate token.
The window is displayed.
-
Provide a and select the desired application from the dropdown.
-
Click Generate token.
The generated token is displayed in the window.
-
Click Copy token to save it to the clipboard.
Important
For security reasons, the token will no longer be shown once the window is closed.
Created tokens are listed in the tab with relevant information. Use the search bar or the Filter options to filter tokens by name or service.
To delete one or multiple tokens, select them and click Delete. Deleting a token revokes it permanently.