How can we help?

Lokalise Integration

Netanel Hugi
Netanel Hugi
  • Updated
Torii SMP
Torii Identity

Overview

Torii integrates with Lokalise and syncs:

  • Users: every member of the connected Lokalise team.
  • User details: email, full name, team role (Owner, Admin, Member, or Biller), and the date the user was added.
  • Licenses: Advanced seat (Owner, Admin, Biller) and Standard seat (Member).
  • You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.

Requirements

Accounts & Permissions

To connect this integration, we require the following:

  • A Lokalise user with the Admin (or Owner) role in the team you want to connect. Lokalise only lets team Admins list team users.
  • A Lokalise paid plan (Explorer or higher). The Lokalise API is included in every paid plan.

Required keys

  • API token
  • Team ID

How to Generate the Required Values

Step 1: Generate an API token

  1. Sign in to Lokalise as a team Admin.
  2. Click your avatar in the bottom-left corner.
  3. Select Profile settings.
  4. Click API tokens.
  5. Click Generate new token and choose a token type:
    • Read-only is enough to sync users.
    • Read/write is needed only if you want to use the Torii actions (remove a user, change a user's role).
  6. Click Generate and copy the token.

Important
The token acts as the user who created it. If that user loses the Admin role in the team, or leaves the team, the sync stops working.

Step 2: Find your Team ID

The Team ID is the number that identifies your Lokalise team. You can get it from the Lokalise API with the token from Step 1:

  1. Run this command, replacing YOUR_API_TOKEN with your token:
    curl -H "X-Api-Token: YOUR_API_TOKEN" https://api.lokalise.com/api2/teams
  2. The response lists every team you belong to. Copy the team_id of the team you want to connect (for example 18821).

How to Connect the Integration

  1. Go to the Integrations page in Torii.
  2. Search for Lokalise and click Connect.
  3. Enter the API token and the Team ID.
  4. Click Connect.

Each connection syncs one Lokalise team. To sync more than one team, connect Lokalise again with the other team's ID.

Actions

These actions are in beta. They require a read/write API token created by a team Admin.

  • Remove Lokalise team user: removes the user from the Lokalise team.
  • Change Lokalise team user role: sets the user's team role to Admin, Member, or Biller. The Owner role cannot be assigned from Torii.

Adding new users from Torii is not supported. Lokalise has no API to invite a user to a team.

Q&A

Q: Why are Members shown on a Standard seat?

A: Lokalise counts Owners, Admins, and Billers as advanced seats. A Member uses a standard seat only when their project permissions are limited to Translator or Reviewer. The Lokalise API does not return project permissions, so Torii shows every Member on a Standard seat.



For any further questions, please contact Torii Support.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request