Spanish Total.js
English
Documentation For AI agents
Contents

Allow reading users and groups

Let an external app read all users and groups with a token.

.md GitHub
On this page

This setting lets an external app read every group and user profile from the platform. It is off by default. Turn it on only when an app needs it.

  1. Open Setup, then Settings.
  2. Go to Allow reading for all users and groups.
  3. Tick Enable API.
  4. Enter your own long random Access token, or click Generate.
  5. Click SUBMIT.

The Enable API option with the hidden access token

Read the data

Send the token in the X-Token header:

curl -H 'X-Token: your-access-token' https://portal.example.com/users/

The answer is JSON with a groups list and a users list.

Anyone with this token can read the profiles of all your users. Keep it secret and always use HTTPS. Generate a new token if it may have leaked.

Made in Europe