Skip to main content

Add a course to a group

Endpoint URL

POST /api/v2/group-courses/

Add a course to a group

Associates a course with a specific group. To assign a course to a group, provide the course’s unique ID using the course_id attribute and the group’s unique ID using the group_id attribute in the request body. If the request is valid and both the course and group exist, the API creates the association and returns the corresponding group-course relationship details.

Request