Reads all Sessions
Changed onReads all Sessions
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/trainings/sessions
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: trainings
- or API key in header x-api-key
Query parameters
This field is used to filter those sessions whose id match with the given.
[ "1" ]
This field is used to filter those sessions whose belong to these trainings.
[ "1" ]
This field is used to filter those sessions whose name include some of the text written.
This field is used to filter those sessions whose starts date is after the given.
This field is used to filter those sessions whose starts date is before the given.
access_id associated to the employee, refers to employees/employees endpoint.
employee_id associated to the employee, refers to employees/employees endpoint.
This field is used to filter those sessions whose belong to this training groups.
[ 1 ]
When this field is active, it filters and orders those sessions that are closest in time, with the first element being the closest.
The mode the session will be handled, online, in person or hybrid.
This field is used to filter the sessions that start at a given date.
[ "2025-02-04T10:31:48.000Z" ]
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"
}
]
}Changes
- info
endpoint added
- info