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":"6de968bc-ae1e-46ce-8394-2b1ad8a981d4","url":null,"departmentUrl":null,"status":"Activated","creationDateTime":"2023-09-29T21:19:19.5939108Z","lastModifiedDateTime":"2023-09-29T21:19:19.5939108Z","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":"b6ab7ec4-9d1c-4583-b8b9-31f9d0b2ac57","additionalDepartments":[{"id":"15b5531d-cdc8-4f9c-a850-c9da906a135d","dataSource":"RelesysAPI"}],"userGroups":[{"id":"38300c60-7192-41c0-b729-cbb38327df59","dataSource":"RelesysAPI"},{"id":"749f2b9a-b5de-4396-99ab-43e1d1ba222f","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