Returns a list of all users
/usershttps://api.oauth.pabau.com/{api_key}/users
Request
Query Parameters: | |
api_key * | |
per_page | (int) If not sent, the default is 20. Maximum 50 |
page | (int) If not sent, the first 20 result will be sent |
order | ASC or DESC. Default DESC |
Response sample
application/json
{
"success": true,
"total": 2,
"users": [
{
"id": 1,
"username": "user@pabau.com",
"full_name": "Dr Pabau",
"job_title": "Manager",
"assigned_services": [
1234567,
1234658
],
"assigned_locations": [
12345,
12346
],
"bio": "Bio for the user"
}
]
}