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":"0d5e99ab-a82b-4c93-b3c0-f97c5556136f","url":null,"departmentUrl":null,"status":"Activated","creationDateTime":"2022-10-06T14:44:12.4301931+00:00","lastModifiedDateTime":"2022-10-06T14:44:12.4301931+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":"bd650892-97a9-4f0b-ad49-d884b3bf6aff","additionalDepartments":[{"id":"41a08ad8-dced-4437-8757-83a8f7e066e4","dataSource":"RelesysAPI"}],"userGroups":[{"id":"153333c9-5b9d-4d03-8a1d-968e5eb0b909","dataSource":"RelesysAPI"},{"id":"cd10e1f4-8664-4522-b6a6-4746b4a99ae8","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