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":"c15df177-ab82-40d1-a135-7a6a65e08af0","url":null,"departmentUrl":null,"status":"Activated","creationDateTime":"2022-05-21T22:56:17.566841+00:00","lastModifiedDateTime":"2022-05-21T22:56:17.566841+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":"bdbbab7a-1393-403f-9164-0d5c7c12413a","additionalDepartments":[{"id":"4699f84a-572d-4a43-8056-09ffb2f9f150","dataSource":"RelesysAPI"}],"userGroups":[{"id":"4daa5dec-eaf6-4e20-9c6b-354c6fc6de63","dataSource":"RelesysAPI"},{"id":"c8b3f60c-aebc-4356-9f19-4afb1e93bf33","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