Users
List all users
Retrieve a paginated list of all registered users in your workspace.
The List Users endpoint retrieves a paginated list of all users in your application. This is useful for admin dashboards, CRM systems, or managing accounts at scale.
Endpoint
Query Parameters
Parameter | Type | Required | Description |
---|---|---|---|
page | int | No | The page number to retrieve (default: 1). |
limit | int | No | Number of users per page (default: 25, max: 100). |
status | string | No | Filter users by status (active, suspended, pending). |
search | string | No | Search by name or email. |
Headers
Key | Value | Required |
---|---|---|
Authorization | Bearer <access_token> | Yes |
Response
Successful Response (200 OK)
Field | Type | Description |
---|---|---|
data | array | List of user objects. |
pagination.page | int | Current page number. |
pagination.limit | int | Number of records per page. |
pagination.total_pages | int | Total number of pages available. |
pagination.total_records | int | Total number of users in the system. |
Error Response (401 / 403)
Error Code | Meaning |
---|---|
unauthorized | Missing or invalid access token. |
forbidden | User does not have permission to list all users. |
Example Usage
cURL
JavaScript (Fetch)
Use query parameters like status and search to narrow results and reduce response payload size.