Relesys API Docs

v1.3

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

Sessions

Get Sessions
GET /sessions
https://api.relesysapp.net/api/v1.3/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":"e1bdaefd-64d2-4426-ae35-a8a3aab39b17","departmentId":"5247ec7b-b401-450b-9f8f-2af0c23af570","startTime":"2024-07-27T03:38:10.9884053+00:00","duration":"10.00:00:00"},{"userId":"d246d831-8820-4814-a813-bd6e0052c1e9","departmentId":"da28f333-64e3-48b4-af2d-b6fb1be4eccb","startTime":"2024-07-27T03:38:10.9884053+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