Skip to main content

List users

Enterprise Only

This endpoint is only available in the Enterprise package and requires the authenticated user to be a Super Admin.

Method: GET

URL: https://example.com/<MIXPOST_CORE_PATH>/api/panel/users

Authorization: Bearer <token>

Query Parameters:

KeyFormatRequiredDescription
keywordstringoptionalSearch users by name or email
excludearrayoptionalExclude users by ID

Response:

{
"data": [
{
"id": 1,
"name": "John Doe",
"email": "john@example.com",
"is_admin": true,
"settings": {},
"email_verified_at": "Jan 15, 2025 10:30 AM",
"created_at": "Jan 15, 2025 10:30 AM"
}
],
"links": {
"first": "https://example.com/mixpost/api/panel/users?page=1",
"last": "https://example.com/mixpost/api/panel/users?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"per_page": 20,
"to": 1,
"total": 1
}
}