For the complete documentation index, see llms.txt. This page is also available as Markdown.

List users

Retrieves a paginated list of users with comprehensive filtering and search capabilities. This endpoint is designed for user management, allowing administrators to find and monitor users based on vari

Endpoint

GET/v2/user

Link

List Users API Documentation

Endpoint: GET /v2/user

Request

Authentication

An API key is required for authentication. Include it in the Authorization header.

  • Header: Authorization

  • Value: Your API key token

Query Parameters

Pagination Parameters

Parameter
Type
Description
Required
Example

meta.page

integer

Page number (starts from 0).

No

0

meta.pageSize

integer

Number of items per page.

No

50

Filtering & Search Parameters

Parameter
Type
Description
Required
Example

uuid

string

Unique user identifier.

No

user_123abc

cuid

string

Customer identifier.

No

cust_456def

name

string

User's full name.

No

John Smith

customerName

string

Customer name.

No

Acme Corp

email

string

User email address.

No

[email protected]

phone

string

User phone number.

No

+1234567890

status

string

User status (see values below).

No

ACCEPT

fromCreateAt

string

Start creation date (ISO format).

No

2024-01-01T00:00:00Z

toCreateAt

string

End creation date (ISO format).

No

2024-03-31T23:59:59Z

Status Values

  • NOT_SET - Status not specified

  • NEW - Registered user

  • READY_FOR_MODERATION - Ready for review

  • MODERATED - Under moderation

  • VERIFY - Verification in progress

  • ACCEPT - Approved user

  • REJECT - Rejected user

  • BANNED - Banned user

Headers

Key
Value
Required

Authorization

Bearer <JWT>

Yes

Accept

application/json

Yes


Response (200 OK)

Returns a paginated list of users with metadata.

Response Fields

Meta Object

Field
Type
Description
Example

pageSize

integer

Items per page.

50

page

integer

Current page number.

0

total

string

Total users available.

"150"

User Object (items[])

Field
Type
Description
Example

uuid

string

Unique user identifier.

user_123abc

username

string

User's login name.

johnsmith

status

string

Current user status.

ACCEPT

is2fa

boolean

2FA enabled status.

true

createAt

string

Account creation timestamp.

2024-01-15T10:30:00Z

updateAt

string

Last update timestamp.

2024-03-20T14:22:00Z

name

string

User's full name.

John Smith

comment

string

Administrative comments.

VIP customer

Example Response:


Examples

Basic Pagination Request

Filter by Status and Date Range

Search by Email and Name


Error Responses

  1. Unauthorized:

  2. Invalid Date Format:

  3. Invalid Status:


Notes

  • Pagination: Default pageSize is typically 20-50 items if not specified

  • Combined Filters: Multiple filters are applied with AND logic

  • Performance: Large result sets may require specific indexing for optimal performance

  • Data Freshness: Results reflect current user state at time of request

Common Use Cases:

  • User administration and moderation dashboards

  • Customer support user lookup

  • Audit and compliance reporting

  • User activity monitoring

  • Account status reviews

Best Practices:

  • Always use pagination for large datasets

  • Combine filters to narrow down results

  • Use specific identifiers (uuid, email) for precise searches

  • Monitor total field to understand result set size before pagination

Real request

Real response

200 OK

Last updated