Relesys API Docs

v1.2

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

Users

Get User
GET /users/{userId}
https://api.relesysapp.net/api/v1.2/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":"f03a71de-6413-41f3-ab93-52589c346c0a","url":null,"departmentUrl":null,"status":"Activated","creationDateTime":"2024-04-23T05:37:54.318755Z","lastModifiedDateTime":"2024-04-23T05:37:54.318755Z","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":"4cf24353-75f6-4a62-95ce-8631886f3f73","additionalDepartments":[{"id":"56774270-2551-4045-b3ef-06d6c5cfc15d","dataSource":"RelesysAPI"}],"userGroups":[{"id":"7312b77f-44f6-4cc2-b6b1-18091472eb84","dataSource":"RelesysAPI"},{"id":"db25b0d6-3b58-4a43-bce1-0f763c4342f0","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