v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Trainings > Session

Reads all Sessions

Reads all Sessions

get/api/2026-07-01/resources/trainings/sessions

Query parameters

ids[]string[]

This field is used to filter those sessions whose id match with the given.

This field is used to filter those sessions whose id match with the given.

[
  "1"
]
training_ids[]string[]

This field is used to filter those sessions whose belong to these trainings.

This field is used to filter those sessions whose belong to these trainings.

[
  "1"
]
searchstring

This field is used to filter those sessions whose name include some of the text written.

Example:Session 1

This field is used to filter those sessions whose name include some of the text written.

start_afterstring

This field is used to filter those sessions whose starts date is after the given.

Example:2024-01-05T00:00:00.000Z

This field is used to filter those sessions whose starts date is after the given.

start_beforestring

This field is used to filter those sessions whose starts date is before the given.

Example:2025-06-05T00:00:00.000Z

This field is used to filter those sessions whose starts date is before the given.

access_idstring

access_id associated to the employee, refers to employees/employees endpoint.

access_id associated to the employee, refers to employees/employees endpoint.

employee_idstring

employee_id associated to the employee, refers to employees/employees endpoint.

Example:20

employee_id associated to the employee, refers to employees/employees endpoint.

training_class_ids[]string[]

This field is used to filter those sessions whose belong to this training groups.

This field is used to filter those sessions whose belong to this training groups.

[
  1
]
nextboolean

When this field is active, it filters and orders those sessions that are closest in time, with the first element being the closest.

When this field is active, it filters and orders those sessions that are closest in time, with the first element being the closest.

modalitystring

The mode the session will be handled, online, in person or hybrid.

Example:inperson

The mode the session will be handled, online, in person or hybrid.

starts_at[]string[]

This field is used to filter the sessions that start at a given date.

This field is used to filter the sessions that start at a given date.

[
  "2025-02-04T10:31:48.000Z"
]
activeboolean

When this field is active, filter by only active sessions

Example:true

When this field is active, filter by only active sessions

Response

OK

Example response

{
  "data": [
    {
      "id": "1",
      "name": "Session 1",
      "training_id": "1",
      "description": "First session of group January 2025",
      "starts_at": "2025-02-04T10:31:48.000Z",
      "ends_at": "2025-02-04T10:31:48.000Z",
      "due_date": "2025-02-04",
      "duration": "2.5",
      "modality": "inperson",
      "schedule": "schedule",
      "link": "https://www.google.com",
      "location": "Address Street 1223",
      "session_attendance_ids": [
        "1"
      ],
      "session_feedback_id": "1",
      "status": "pending",
      "parent_id": "1"
    }
  ]
}