To use the API you need to authenticate your requests using Token Authentication. Specifically, you need to
- Acquire an authentication token from the Transifex (under user settings)
- Uses the Bearer keyword and prepend the token when passing the header.
For example, if the authentication token is
1/0b4e75552e481aeae813aebad53f3de3fcc67ccd, then the HTTP header should look like this:
Authorization: Bearer 1/0b4e75552e481aeae813aebad53f3de3fcc67ccd
To create an API token:
- Head to your User Settings by going to the main navigation, and clicking on your profile image in the top right corner.
- In the left menu, click on API token.
- Click Generate a token.
Once you've generated a token, you can edit its name so it's easier to remember where you use the token.
To keep your API token secure, we'll only show it once, so please be sure to save it somewhere secure. In case you lose your API token, you can regenerate a new one at any time. However, when you regenerate a new token, you'll need to update your applications and replace the old token with the new one.
Security Scheme Type
HTTP Authorization Scheme