v1
latestOpenAPI 3.1.02026-07-26549156879.0 KBTrainings > Session
Create a new training session
Create 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-07-01/resources/trainings/sessions
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"
}