Get course enrollment settings
Enrollment limit and waitlist setting of one course.
GET https://cotlet.dev/api/v1/thought-industries/contents/{content_id}/course
read
Opens the content and reads its Enrollment step > Access tab: whether Limit Enrollments is on, the maximum number of enrollments and whether Enable Waitlisting is on. These settings belong to a session, so a webinar with several sessions returns one entry per session.
Parameters
| Name | Type | Description |
|---|---|---|
| content_id string required | string | Course or other content ID from list_courses. |
Request
curl https://cotlet.dev/api/v1/thought-industries/contents/content_8c41d2/course \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("thought-industries", "get_course", {"content_id":"content_8c41d2"}) const result = await cotlet.call('thought-industries', 'get_course', {"content_id":"content_8c41d2"}); cotlet call thought-industries get_course --data '{"content_id":"content_8c41d2"}' Example response
{
"content_id": "4b1c2d3e-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"title": "Safety basics",
"type": "course",
"sessions": [
{
"name": "Default",
"limit_enrollments": false,
"max_enrollments": null,
"waitlisting": false
}
]
}