Integrations REST API Reference

Users

List, fetch, search, expand, create and update Users through the REST API: teammates and learners across your whole organization, not scoped to a single task.

Updated 2026/11/13

Users are org-wide: unlike Candidates, they aren't scoped to a single task. Reading users requires the List users permission; creating and updating them requires Write users. See REST API Reference for the shared mode, pagination, and List/Fetch/Search conventions used below.

Basic vs. Detailed

  • basic: userId, createdAt, username, fullname, email
  • detailed: adds organizationId, folder, tags, labels, group, favorite, active, roles[]. roles is any combination of Manager, Test Author, Task Operator, Custom Access User, Question Curator, External Question Author.

Passwords are never returned.

List, Fetch, Search

  • GET /users: query params mode, limit, page, username (case-insensitive partial match).
  • GET /users/:id: query param mode.
  • POST /users/filter: query params mode, limit, page; body { folder?, group?, labels?, favorite?, type?, username?, active? }, all AND-combined. type is "teammate" or "regular" (learner); active is whether the user can currently log in.

Expand

POST /users/:id/expand: body { expand: ["activeAfter", "activeBefore"] }. Returns the detailed user plus activeAfter/activeBefore, the window during which this user can sign in, if one is set.

Create

POST /users creates one user and returns it in the detailed shape.

FieldRequiredNotes
usernameYesUnique within your organization
rolesYesAt least one of MANAGER, EDITOR (Test Author), OPERATOR (Task Operator), JOKER (Custom Access User), QUESTIONBANKSUPERVISOR (Question Curator), QUESTIONBANKSUBMITTER (External Question Author), or USER for a learner. USER can't be combined with other roles.
passwordNoSets the user's password; it counts as set by an admin
sendPasswordSetupEmailNotrue emails the user a link to choose their own password; needs email, and can't be sent together with password
fullname, emailNoemail is required if your organization requires an email for every user, and must be unique if it enforces unique emails
folder, group, labels, tags, favoriteNolabels is an array of strings; tags an object of tag name to value

How the user gets a password: send password, or sendPasswordSetupEmail: true, or neither. With neither, the user has no password and can't sign in until an admin sets one or sends a password link from the Users page. A setup link works once and is valid for 7 days.

POST /users
{
  "username": "martinbrown",
  "fullname": "Martin Brown",
  "email": "martinbrown@example.com",
  "roles": ["USER"],
  "folder": "general",
  "tags": { "Department": "Sales" },
  "sendPasswordSetupEmail": true
}

When you asked for a setup email, the response also has passwordSetupEmail: "sent", or "failed" if the email couldn't be sent. A failed email does not undo the user: it exists without a password, and you can send a link from the Users page. Users whose email belongs to a single sign-on domain where passwords are not allowed can't be given a password or a setup email.

Update

PATCH /users/:id changes only the fields you send and returns the updated user in the detailed shape.

  • fullname, email, folder, group, favorite, active
  • labels: { add?: string[], remove?: string[] }, applied to the user's current labels

Usernames, roles and passwords can't be changed through the API.

PATCH /users/AbC123
{
  "group": "group2",
  "labels": { "add": ["2026"], "remove": ["trial"] },
  "active": false
}

Errors

StatusWhen
400Invalid body; no role, or USER combined with other roles; password and sendPasswordSetupEmail together; a setup email without email; a password or setup email for a single sign-on user; an email missing when your organization requires one
403Creating the user would go over the number of teammates or learners your organization can have
404Update: no user with that ID in your organization
409The username or email is already used by another user
501Your organization's users haven't been moved to the current user list yet; contact us

See Errors for the shared error format.