Skip to main content

Overview

The Users API allows you to list users, retrieve user details, and manage user accounts. User management capabilities depend on your permissions within the organization or instance.

List Users

Retrieve a list of users. The list may be filtered based on organization context and your permissions.

Query Parameters

string
Filter by username
string
Filter by first name
string
Filter by last name
boolean
Filter by active status
Search users by username, first name, or last name
string
Sort by: username, first_name, last_name, id, is_active
integer
Page number for pagination
integer
Number of results per page
string
JSON Logic filter expression. Available fields: username, first_name, last_name, id, is_active
string
Organization context (shows organization members)
string
Organization slug
integer
Organization ID

Response

integer
Total number of users
string
URL for the next page
string
URL for the previous page
array
Array of user objects
integer
User ID
string
Username
string
First name
string
Last name
string
Email address
boolean
Whether the user account is active
boolean
Whether the user has staff privileges
boolean
Whether the user has superuser privileges
string
Last login timestamp
string
Account creation timestamp

Get User Details

Retrieve detailed information about a specific user.

Path Parameters

integer
required
User identifier

Response

Returns a user object with all available fields.

Get Current User

Retrieve details of the currently authenticated user.

Response

integer
User ID
string
Username
string
First name
string
Last name
string
Email address
array
Array of group memberships
boolean
Staff status
boolean
Superuser status
boolean
Account active status
string
Last login timestamp
string
Registration date

Update a User

Update user profile information. Users can update their own profile, while administrators can update any user.

Path Parameters

integer
required
User identifier

Request Body

string
First name
string
Last name
string
Email address
Some fields like username, is_staff, and is_superuser can only be modified by administrators.

Delete a User

Delete a user account. This operation typically requires administrator privileges.
Deleting a user will affect all resources owned by that user. This action cannot be undone.

Path Parameters

integer
required
User identifier

User Registration

Create a new user account. See the Authentication page for registration details.

Search Users

Find users by partial matching on multiple fields:
The search parameter matches against:
  • Username
  • First name
  • Last name

Filter Active Users

Retrieve only active user accounts:

List Organization Members

Get users within a specific organization:
Or using the organization header:

Example: User Management

Example: Find Users by Role

Find users in an organization with a specific role:

User Permissions

User capabilities depend on their role:

Regular Users

  • View their own profile
  • Update their own profile
  • View users in their organizations
  • Create projects and tasks

Organization Maintainers

  • All regular user permissions
  • View all organization members
  • Invite users to organization
  • Assign roles to members

Administrators

  • All permissions
  • Create and delete users
  • Modify any user account
  • Access system-wide user list
  • Manage user privileges