users
Get user
Retrieves a single resource with the given id from the service.
get/users/{id}
Request
- Base URL: https://api.hoorayhr.io
- URL: https://api.hoorayhr.io/users/{id}
- Auth: API key in header authorization
Path parameters
idinteger required
ID of users to return
Response
success
Example response
{
"id": 1,
"entityId": 1,
"email": "user@domain.nl",
"status": 2,
"timezone": "Europe/Amsterdam",
"teams": "[1, 2, 3]",
"companyStartDate": "2021-01-30",
"companyEndDate": "2021-01-30",
"seniorityDate": "2017-01-30",
"initials": "John",
"firstName": "John",
"insertion": "von",
"lastName": "Doe",
"insertionPartner": "of",
"lastNamePartner": "Smith",
"lastNameUsage": "PARTNER_OWN",
"nickName": "Johny",
"formattedLastName": "de Vries - Boompjes",
"displayName": "John Doe",
"birthdate": "2021-01-30",
"birthPlace": "Amsterdam",
"birthCountry": "NL",
"gender": "FEMALE",
"nationality": "NL",
"civilStatus": "UNMARRIED",
"jobTitle": "Developer",
"biography": "Hello! I am John Doe.",
"phone": "0655203256",
"emailPrivate": "user@domain.nl",
"addressStreet": "John Doe Street",
"addressNumber": "102",
"addressAddition": "BIS",
"zipcode": "3411 XX",
"city": "Amsterdam",
"country": "NL",
"emergencyName": "Darlene Doe",
"emergencyRelation": "Mother",
"emergencyPersonalPhone": "0655203256",
"emergencyWorkPhone": "0655203256",
"locale": "nl",
"invitedByUserId": 100,
"invitedAt": "2021-01-30",
"inviteAcceptedAt": "2021-01-30",
"inviteRemindedAt": "2021-01-30",
"onBoardedAt": "2021-01-30",
"currency": "EUR",
"travelAllowanceCurrency": "EUR",
"travelAllowance": 0.23,
"createdAt": "2022-02-15T14:01:17.516Z",
"updatedAt": "2022-02-23T14:01:17.516Z",
"extraFields": [
{
"fieldName": "T-shirt size",
"value": "XL"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.