Skip to main content

List of all users

This endpoint retrieves all your users.

Request

GET https://api.nicereply.com/users

By default, list of users is sorted by created_at.

Query Parameters

Pagination is supported.

ParameterRequiredDefaultDescription
sort_orderNodescValid values is: asc or desc.

Example response

200 OK
{
"data": [
{
"id": "28a9402a-f986-4613-bd58-4776f72b19f6",
"full_name": "Brandon Adams",
"email": "brandon+adams@example.tld",
"role": "restricted",
"created_at": "2023-08-15T10:07:16+02:00",
"updated_at": "2023-08-15T10:07:18+02:00"
},
{
"id": "0422cc3f-5da8-403e-a9e8-e317cce0f4ed",
"full_name": "Lydia Hall",
"email": "lydia+hall@example.tld",
"role": "admin",
"created_at": "2022-12-22T11:27:48+01:00",
"updated_at": "2023-05-12T09:53:13+02:00"
}
// ...
],
"pagination": {
"total": 30,
"count": 10,
"per_page": 10,
"current_page": 1,
"total_pages": 3,
"links": {
"next": "/users?page=2",
"prev": null
}
}
}