Skip to main content
The Style Guide API uses Phrase Platform authentication. Generate an API token for Phrase Style Guides in the Phrase Platform Settings, then exchange it for a JWT as described in the Platform Authentication guide. Include the JWT in the Authorization header on every request:
curl -X GET "https://eu.phrase.com/styleguide/api/v1/styleguides/018e1234-5678-7890-abcd-ef1234567890" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
JWTs expire after a few hours. Re-issue a new JWT from your long-lived API token when the previous one expires; do not store JWTs at rest.