Phrase
Productivity Access tokenManage localization keys, translations, jobs and branches in Phrase from any Windmill script, flow or app.
Set up in 3 steps
Create an access token
In Phrase, open your profile settings then Access Tokens, and create one with the scopes your scripts need.
Add the resource in Windmill
Open Resources, add a resource of type phrase. Set baseUrl to your data centre — https://api.phrase.com/v2/ for the EU, https://api.us.app.phrase.com/v2 for the US — and paste the token.
Run your first script
Fork any script below and read before writing anything. There are hundreds here, so search by the verb you need.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Unlock a job
Unlink a child key from a parent key
Test a webhook
Show status of an async locale download
Show single job target locale
Show current User
Resend an invitation
Repository Syncs History
Remove keys from job
Remove a user from the account
Remove a target locale from a job
Remove User
Remove Space
Remove Project from Team
Remove Project from Space
Redeliver a single webhook delivery
Publish a release
Mark all notifications as read
Mark all notification groups as read
Mark a reply as unread
Mark a reply as read
Mark a notification group as read
Mark a comment as unread
Lock a job
List webhooks
List webhook deliveries
List variables
List uploads
List translations by locale
List translations by key
Resource type
phrase — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| baseUrl | string | Yes | Different URLs for EU and US data centers: https://api.phrase.com/v2/ or https://api.us.app.phrase.com/v2 |
| token | string | Yes | Access token generated in user settings. |
Questions
Which baseUrl do I need?
The one for the data centre your account lives in. A token from a US account does not answer on the EU host, and the failure looks like a bad token rather than a wrong region.
Is my token stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.