Relesys API Docs

v1.1

https://api.relesysapp.net/api/v1.1

Users

Get User
GET /users/{userId}
https://api.relesysapp.net/api/v1.1/users/{userId}
Get a single user object based on their ID
Scopes: relesys.api, relesys.api:read, relesys.api.users, relesys.api.users:read
URL Path
userId string / guid The user's unique identifier required
Responses
application/json
JSON
{"data":{"id":"19973050-c783-4f29-b4ca-4553a4619a6a","url":null,"departmentUrl":null,"status":"Activated","creationDateTime":"2024-10-04T23:33:04.6663698Z","lastModifiedDateTime":"2024-10-04T23:33:04.6663698Z","externalId":"NUA","name":"New User A","userName":"UserNameA","title":"User Title A","dataSource":"RelesysAPI","email":"personalmaila@testmail.com","secondaryEmail":"businessmaila@testmail.com","phoneNumber":{"countryCode":45,"number":"12345678"},"secondaryPhoneNumber":{"countryCode":45,"number":"12345679"},"birthDate":"2002-12-30T00:00:00Z","primaryDepartmentId":"59892545-da2f-4126-9332-7a48399f143f","additionalDepartments":[{"id":"131a382b-e1fa-4aa3-981e-de713c2c6811","dataSource":"RelesysAPI"}],"userGroups":[{"id":"b2cb8526-79b2-44e6-80bf-d7fa96744640","dataSource":"RelesysAPI"},{"id":"41e79b25-2973-4c01-a145-3e5fdd0b234d","dataSource":"RelesysAPI"}],"employmentDate":"2018-12-30T13:30:00Z","employmentEndDate":"2021-12-30T13:30:00Z","customFields":{"customfieldone":"Custom field 1","customfieldtwo":"Custom field 2"}}}
object
  data object      
   additionalDepartments array[object]      
    dataSource string      
    id string / guid      
   birthDate datetime      
   customFields dictionary`2      
   dataSource string      
   departmentUrl string      
   email string      
   employmentDate datetime      
   employmentEndDate datetime      
   externalId string      
   id string / guid      
   name string      
   phoneNumber object      
    countryCode integer      
    number string      
   primaryDepartmentId string / guid      
   secondaryEmail string      
   secondaryPhoneNumber object      
    countryCode integer      
    number string      
   status string      
   title string      
   url string      
   userGroups array[object]      
    dataSource string      
    id string / guid      
   userName string