🔨 In Development — This section is still being developed and may change.
Get paginated list of organization users with search, filtering, and sorting capabilities.
POSThttps://api.freddy.aitronos.com/v1/organization/{org_id}/users
org_id string required
Organization ID (e.g., "ORG_B66136CBB1304C98").
page integer optional · Defaults to 1
Page number for pagination.
pageSize integer optional · Defaults to 50
Number of users per page.
searchTerm string optional
Search term to filter users by name or email.
sortBy string optional · Defaults to "createdAt"
Field to sort by.
sortOrder string optional · Defaults to "desc"
Sort order: "asc" or "desc".
filters object optional
Filter criteria object.
A ListOrganizationUsersResponse object.
Bash
- Bash
- Python
- JavaScript
curl -X POST https://api.freddy.aitronos.com/v1/organization/ORG_B66136CBB1304C98/users \
-H "Authorization: Bearer $FREDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"pageSize": 50
}'{
"users": [
{
"id": "uid_abc123def456",
"email": "john.doe@company.com",
"fullName": "John Doe",
"userName": "johndoe",
"status": "active",
"role": "member",
"department": "Engineering",
"lastLoginAt": "2025-01-15T14:30:00Z",
"createdAt": "2025-01-10T09:00:00Z",
"invitedAt": "2025-01-10T08:45:00Z",
"isVerified": true
},
{
"id": "uid_def456ghi789",
"email": "jane.smith@company.com",
"fullName": "Jane Smith",
"userName": "janesmith",
"status": "active",
"role": "admin",
"department": "Product",
"lastLoginAt": "2025-01-14T16:20:00Z",
"createdAt": "2025-01-09T11:15:00Z",
"invitedAt": "2025-01-09T10:30:00Z",
"isVerified": true
}
],
"totalCount": 2,
"page": 1,
"pageSize": 50,
"totalPages": 1,
"hasNext": false,
"hasPrev": false
}