Skip to main content
Users can generate new API Tokens in the User Profile/Access Tokens tab in Phrase Platform Settings page. Supported applications are:
  • Phrase Connectors API
  • Phrase Language AI
  • Phrase Strings
  • Phrase Studio
  • Phrase TMS
  • Quality Evaluator API
  • Phrase Style Guides
  • Phrase Content Groups

Exchanging API tokens for JWT

Exchange the generated API Token for Access Token using Phrase Platform OAuth Token endpoint with urn:ietf:params:oauth:grant-type:token-exchange grant type. This is extension of OAuth basic grants which is specified in OAuth 2.0 Token Exchange (RFC-8693). Supported parameters are: Other fields from the Specification are not supported at the moment. Main endpoint URLs:
  • https://eu.phrase.com/idm/oauth/token (EU datacenter)
  • https://us.phrase.com/idm/oauth/token (US datacenter)
Sample request
With curl:
The response is in JSON format:
  • access_token - the generated JWT access token
  • issued_token_type - the type of returned token, always urn:ietf:params:oauth:token-type:access_token
  • token_type - how to use the token, always Bearer
  • expires_in - validity of the token in seconds

Using JWT in APIs

Use the token to access Platform APIs of specific application - passing it in HTTP Authorization Header: