Relesys API Docs

v1.3

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

Users

Get User
GET /users/{userId}
https://api.relesysapp.net/api/v1.3/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":"92dea50e-bf47-455d-b157-cd14b62607b6","url":null,"departmentUrl":null,"status":"Activated","creationDateTime":"2024-09-12T10:01:29.9838493Z","lastModifiedDateTime":"2024-09-12T10:01:29.9838493Z","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":"99666929-91a0-4a83-9f2c-47d6ef630111","additionalDepartments":[{"id":"97cf04af-133f-48b8-8172-7e6c070dbe4b","dataSource":"RelesysAPI"}],"userGroups":[{"id":"3fe71fff-f9ac-43ea-a24d-a251d0675d94","dataSource":"RelesysAPI"},{"id":"dfc0f732-b26b-48a8-84b2-3d8f0de0b27c","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