Free Palestine 🇵🇸Stand for humanity! Palestine has a right to defend itself. Together, we can put an end to the Gaza genocide. Let's unite to #SAVEGAZA and ensure that every life in this region has access to the most basic necessities.

APIMockAPIMock

List of user

Show the list of user information.

GET
/user/all
/user/all?page=1&perPage=20

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

Token is from General Token API

In: header

Query Parameters

pageinteger

Page number, default is 1.

perPageinteger

Number of items per page, default is 20.

curl -X GET "https://apimock.lazycatlabs.com/v1/api/user/all?page=1&perPage=20" \
  -H "Authorization: Bearer <token>"

Success

{
  "diagnostic": {
    "status": "200",
    "message": "Success"
  },
  "data": [
    {
      "id": "8364aa6f-6887-4502-a6b0-62f082196476",
      "name": "Mudassir",
      "email": "[email protected]",
      "photo": "https://user-images.githubusercontent.com/1531684/281937715-f53c55be-4b70-43b5-bb50-11706fb71ada.png",
      "verified": false,
      "createdAt": "2024-08-25T15:04:28.191067",
      "updatedAt": "2024-08-25T15:04:28.191067"
    }
  ],
  "page": {
    "currentPage": 1,
    "perPage": 20,
    "lastPage": 5,
    "total": 100
  }
}