Relesys API Docs

v1.1

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

Sessions

Get Sessions
GET /sessions
https://api.relesysapp.net/api/v1.1/sessions
Get a list of Sessions from up to 30 days.

Time Interval:
 All data returned is in a max interval of 30 days
Department Type:
 "Company", "Country", "Department", "District", "Division", "Other", "Partner", "Region", "Store", "Subdepartment"
Scopes: relesys.api, relesys.api:read, relesys.api.insights, relesys.api.insights:read
Query String
departmentId string / guid Filterable optional
departmentType string Filterable optional
startTime datetimeoffset Filterable required
subDepartments boolean Filterable optional
userId string / guid Filterable optional
offset integer Offset value for use in pagination Default: 0 optional
limit integer Total objects to fetch (max 1000) Default: 250 optional
Responses
application/json
JSON
{"count":2,"data":[{"userId":"3d996adf-0a91-4143-bda5-9aeea8f58b7f","departmentId":"df7eaa48-d7f9-46e0-a69d-9aaff1efd51c","startTime":"2024-10-04T23:39:27.6720889+00:00","duration":"10.00:00:00"},{"userId":"e0a6d2c6-8896-42df-8453-b7788f73c8e0","departmentId":"99972d76-75d6-471b-8d74-cbfceed5d07c","startTime":"2024-10-04T23:39:27.6720889+00:00","duration":"5.00:00:00"}]}
object
  count integer      
  data array[object]      
   departmentId string / guid      
   duration timespan      
   startTime datetimeoffset      
   userId string / guid      
  nextUrl string      
  previousUrl string