Sign in

Add learners to course

documented

Enroll learners in a course.

POST /courses/{course_id}/learnersCoursesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{BASE_URL}}/api/v3/courses/{{$course_id}}/learners" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"user_id": {{$user_id}}, "role": "{{$role}}"}'
Add learners to course · CYPHER Learning · OpenIntegrations