Tuti APIUsers

List users

List the project's users (the people your app signs in or sends with users.sync), by name unless sort says otherwise, each with the reader groups they're in now and their activity.

GET/users

Authorization Bearer token

Query parameters

  • qstring · at most 255 characters

    Finds users by name, email or their id in your app; whoever has that id exactly comes first

  • groupstring · 1–50 characters, matches ^[a-z0-9][a-z0-9_.:-]*$

    Keeps the users in this reader group, by its key

  • companystring · 1–200 characters

    Keeps the users at this company: their company property is this text, as it is (companies.list's names)

  • sortstring

    name (A to Z), or puts the most posts, votes or conversations first, or the latest seen (lastSeen)

    Default: "name"

    One of"name""posts""votes""conversations""lastSeen"

  • limitinteger · 1–100

    How many a page has, up to 100

    Default: 50

  • cursorinteger · at least 0

    Where the page starts: the previous page's nextCursor

    Default: 0

Responses

  • 200A page of the project's users

    application/json · object

    A page of the project's users

    • usersarray of objectrequired

      A page of users

      Show 9 properties
      • idstringrequired

        Their id in your app: the sub of your SSO tokens

      • namestringrequired

        Their name

      • emailstring · nullablerequired

        Their email address, or null when your app hasn't given one

      • avatarstring · nullablerequired

        Their picture's URL, or null

      • propertiesmap of string or number or boolean or array of stringrequired

        What your app tells Tuti about them (users.sync's and SSO tokens' properties), by name: text, numbers, booleans or lists of text

      • groupsarray of stringrequired

        The keys of the reader groups they're in now: those whose conditions their properties match

      • createdAtstringrequired

        When Tuti first heard of them

      • updatedAtstringrequired

        When they last changed

      • activityobjectrequired

        What they did on the portal and widget

        Show 4 properties
        • postsintegerrequired

          Posts they wrote, not merged into others

        • votesintegerrequired

          Their votes on others' posts

        • conversationsintegerrequired

          Their conversations with the team, not spam nor past the plan's history

        • lastSeenAtstring · nullablerequired

          When Tuti last saw them: in the widget, or writing a post, vote, comment or message; null if never

    • nextCursorstring · nullablerequired

      The next page's cursor, or null on the last page

    • totalintegerrequired

      Counts the users that match, all of them, on every page

  • 400The request isn't valid: a field is missing, has the wrong type or is out of range, or the body isn't a JSON object. The message names the field.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 401No API key was sent, or it isn't valid: it was revoked, or whoever created it left the team.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 404Nothing by that name, number or id in this project.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 429Too many requests: past 600 a minute per key, try again after the seconds in the Retry-After header. Some operations have limits of their own (their description gives them), whose 429 has no Retry-After.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

  • 500Something went wrong on Tuti's side. Try again in a moment.

    application/json · Error

    • errorobjectrequired
      Show 2 properties
      • codestringrequired

        What went wrong, for code to check: stays the same

      • messagestringrequired

        What went wrong, for a person: may change

curl 'https://tuti.so/api/v1/users' \
  --header 'Authorization: Bearer YOUR_API_KEY'
const response = await fetch("https://tuti.so/api/v1/users", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY"
  },
});
const text = await response.text();
import requests

response = requests.get(
    "https://tuti.so/api/v1/users",
    headers={
        "Authorization": "Bearer YOUR_API_KEY"
    },
)
print(response.text)
{
  "users": [
    {
      "id": "user-42",
      "name": "Sam from Acme",
      "email": "[email protected]",
      "avatar": "https://example.com/avatars/sam.png",
      "properties": {
        "plan": "enterprise",
        "seats": 40,
        "features": [
          "sso"
        ]
      },
      "groups": [
        "enterprise"
      ],
      "createdAt": "2026-11-02T09:30:00.000Z",
      "updatedAt": "2026-11-02T09:30:00.000Z",
      "activity": {
        "posts": 3,
        "votes": 12,
        "conversations": 2,
        "lastSeenAt": "2026-11-18T16:05:00.000Z"
      }
    }
  ],
  "nextCursor": "50",
  "total": 128
}
{
  "error": {
    "code": "invalid_input",
    "message": "title: Title is too short"
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "This API key isn't valid or was revoked"
  }
}
{
  "error": {
    "code": "not_found",
    "message": "No such post"
  }
}
{
  "error": {
    "code": "rate_limited",
    "message": "Up to 600 requests a minute per key"
  }
}
{
  "error": {
    "code": "internal_error",
    "message": "Something went wrong"
  }
}