GET
/
api
/
v1
/
project
/
users
# To use the Python SDK, install the package:
# pip install memobase

from memobase import Memobase

memobase = Memobase(project_url='PROJECT_URL', api_key='PROJECT_TOKEN')

users = memobase.get_all_users(search="", order_by="updated_at", order_desc=True, limit=10, offset=0)
{
  "data": {
    "users": [
      "<any>"
    ],
    "count": 0
  },
  "errno": 0,
  "errmsg": ""
}

Get the users of a project with various filtering and ordering options.

This endpoint allows you to:

  • Search users by username
  • Order results by different fields (updated_at, profile_count, event_count)
  • Control sort direction (ascending or descending)
  • Paginate results with limit and offset

The response includes user data along with their profile count and event count for better project insights.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

Search string in username field

order_by
enum<string>
default:updated_at

Order by field

Available options:
updated_at,
profile_count,
event_count
order_desc
boolean
default:true

Order descending or ascending

limit
integer
default:10

Limit the number of results returned

offset
integer
default:0

Offset the starting point for pagination

Response

200
application/json

Successful Response

The response is of type object.