Trainings > Session
Create a new training session
Changed onCreate a new training session, do not forget to make it child from a training class if you want it to be displayed in the frontend application.
post/api/2026-10-01/resources/trainings/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
Request body
Example request
{
"name": "Session one",
"description": "This is the first session of this training class",
"duration": "1.5 => 1h 30m"
}Response
CREATED
Example response
{
"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