curl -X GET "https://panel.example.com/api/admin/users?page=1&limit=50" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
{
"data": [
{
"id": "user-uuid-1",
"username": "john.doe",
"email": "john.doe@example.com",
"name": "John Doe",
"role": "user",
"rootAdmin": false,
"suspended": false,
"emailVerified": true,
"twoFactorEnabled": true,
"passwordResetRequired": false,
"createdAt": "2024-01-15T10:30:00Z",
"serversOwned": 3,
"serversAccess": 3
}
],
"pagination": {
"page": 1,
"perPage": 50,
"total": 150,
"totalPages": 3
}
}
Retrieve a paginated list of all users
curl -X GET "https://panel.example.com/api/admin/users?page=1&limit=50" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
{
"data": [
{
"id": "user-uuid-1",
"username": "john.doe",
"email": "john.doe@example.com",
"name": "John Doe",
"role": "user",
"rootAdmin": false,
"suspended": false,
"emailVerified": true,
"twoFactorEnabled": true,
"passwordResetRequired": false,
"createdAt": "2024-01-15T10:30:00Z",
"serversOwned": 3,
"serversAccess": 3
}
],
"pagination": {
"page": 1,
"perPage": 50,
"total": 150,
"totalPages": 3
}
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/xyrapanel/panel/llms.txt
Use this file to discover all available pages before exploring further.
users:read permission.
Show User Object
user or admincurl -X GET "https://panel.example.com/api/admin/users?page=1&limit=50" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
{
"data": [
{
"id": "user-uuid-1",
"username": "john.doe",
"email": "john.doe@example.com",
"name": "John Doe",
"role": "user",
"rootAdmin": false,
"suspended": false,
"emailVerified": true,
"twoFactorEnabled": true,
"passwordResetRequired": false,
"createdAt": "2024-01-15T10:30:00Z",
"serversOwned": 3,
"serversAccess": 3
}
],
"pagination": {
"page": 1,
"perPage": 50,
"total": 150,
"totalPages": 3
}
}
serversOwned count is calculated via SQL query