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":"3f00362d-b9d4-4b40-ba07-684ab53cb205","url":null,"departmentUrl":null,"status":"Activated","creationDateTime":"2021-10-24T10:03:19.3746395+00:00","lastModifiedDateTime":"2021-10-24T10:03:19.3746395+00:00","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:00","primaryDepartmentId":"cf604381-a27c-49cd-8c27-7d2e9dd21313","additionalDepartments":[{"id":"7046031a-2304-4ad5-b28a-ae33a15785e9","dataSource":"RelesysAPI"}],"userGroups":[{"id":"914a6cad-3030-4d1d-92ff-8ef98c374ed5","dataSource":"RelesysAPI"},{"id":"91182858-d0de-4e81-b637-934fd8d9a2a4","dataSource":"RelesysAPI"}],"employmentDate":"2018-12-30T13:30:00","employmentEndDate":"2021-12-30T13:30:00"}}
object
  data object      
   additionalDepartments array[object]      
    dataSource string      
    id string / guid      
   birthDate datetime      
   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