List all users
List all users
Query Parameters
Default value: 1
The page number to retrieve
Default value: 10
The number of items per page
Include avatar display urls in the response for each user
- 200
- 401
Successfully retrieved the user(s)
Schema
- Array [
- ]
data object[]
The unique id of the user
The initials of the user
The first name of the user
The last name of the user
The full name of the user
phoneNumber object
The phone number of the user in E.164 format
The country code of the user phone number in ISO 3166-1 alpha-2 format
The country calling code of the user phone number
The phone number of the user without country calling code
Possible values: [AVAILABLE
, UNAVAILABLE
]
The availability of the user
avatarUrls object
URL for the small sized avatar of the user (250x250)
URL for the large sized avatar of the user (500x500)
meta object
pagination object
The number of items in the collection
The number of pages in the collection
The current page
Possible values: >= 1
and <= 50
The number of items per page
links object
The url to the first page
The url to the first page
The url to the last page
The url to the previous page
The url to the next page
{
"data": [
{
"id": "64a6b60be7ce3a7774155263",
"initials": "JD",
"firstName": "John",
"lastName": "Doe",
"fullName": "John Doe",
"phoneNumber": {
"e164": "+31612345678",
"countryIsoCode": "NL",
"countryCallingCode": 31,
"number": "612345678"
},
"availability": "AVAILABLE",
"avatarUrls": {
"small": "https://api.rinkel.com/users/64a6b60be7ce3a7774155263/avatar/small?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
"large": "https://api.rinkel.com/users/64a6b60be7ce3a7774155263/avatar/large?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
}
}
],
"meta": {
"pagination": {
"totalItems": 100,
"totalPages": 10,
"currentPage": 1,
"perPage": 10
},
"links": {
"self": "https://api.rinkel.com/users?page=1",
"first": "https://api.rinkel.com/users?page=1",
"last": "https://api.rinkel.com/users?page=10",
"previous": null,
"next": "https://api.rinkel.com/users?page=2"
}
}
}
Unauthorized