> ## Documentation Index
> Fetch the complete documentation index at: https://developers.phrase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

The Style Guide API uses Phrase Platform authentication.

Generate an API token for **Phrase Style Guides** in the [Phrase Platform Settings](https://eu.phrase.com/idm-ui/settings/access-tokens), then exchange it for a JWT as described in the [Platform Authentication guide](/en/api/platform/authentication).

Include the JWT in the `Authorization` header on every request:

```bash theme={null}
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.
