List all users
Changed onUsers listed in descending order of id.
get/users
Request
- Base URLhttps://api.travelperk.com
- URLhttps://api.travelperk.com/users
- AuthAPI key in header Authorization
Query parameters
trip_idstring
Find Users travelling on a Trip with this id. A comma separated list of multiple ids is accepted.
offsetinteger
Pagination offset index, 0 based.
limitinteger
Pagination maximum number of elements to return. See more info in Pagination
user_idstring
Find a single user with this id
Response
200
Example response
{
"users": [
{
"id": "8",
"user_name": "boss@test.com",
"name": {
"last_name": "Morrison",
"first_name": "Boss",
"title": "MR"
},
"preferred_language": "en",
"locale": "en-gb",
"active": true,
"job_title": "Boss",
"phone_numbers": [
"+34 123456789"
],
"emergency_contact": {
"name": "Mrs. Morrison",
"phone": "+34 987654321"
},
"email": "boss@test.com"
}
],
"limit": 10,
"total": 2
}Changes
- info
endpoint added
- info