Administration

Platform API Access Token Management

Content is machine translated from English by Phrase Language AI.

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 Access tokens 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 Dashboard:

  1. From the user menu (top right), select Settings and click on Profile.

    The Profile settings page opens.

  2. Select the Access tokens tab and click Generate token.

    The Generate access token window is displayed.

  3. Provide a Token name and select the desired application from the Service dropdown.

  4. Click Generate token.

    The generated token is displayed in the One-time access token display! window.

  5. 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 Access tokens 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.

Was this article helpful?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.