| Name | Type | Required | Description |
|---|---|---|---|
limit | number | Optional | Number of users to return (default: 10, max: 100) |
page | number | Optional | Page number for pagination (default: 1) |
include | string | Optional | Comma-separated fields to include (e.g., 'avatar,address') |
idstring (UUID)Unique identifier for the user
firstNamestringUser's first name
lastNamestringUser's last name
emailstringUser's email address
avatarstring (URL)URL to user's avatar image
createdAtstring (ISO date)User creation timestamp
{
"data": [
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"avatar": "https://avatars.example.com/u/12345",
"createdAt": "2024-01-15T10:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 100
}
}Copy and paste these examples to get started quickly
const response = await fetch(
'https://mngoapi.laclass.dev/api/your-project/users?limit=10'
);
const users = await response.json();
console.log(users.data);curl -X GET "https://mngoapi.laclass.dev/api/your-project/users?limit=10" \
-H "Content-Type: application/json"