Create enrollment
documentedCreate a new enrollment.
POST /enrollmentsEnrollmentsno implementation yet0 runsNo 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://api.thinkific.com/api/public/v1/enrollments" \
-X POST \
-H "X-Auth-API-Key: {{THINKIFIC_API_KEY}}" \
-H "X-Auth-Subdomain: {{THINKIFIC_SUBDOMAIN}}" \
-H "Content-Type: application/json" \
-d '{"course_id": {{$course_id}}, "user_id": {{$user_id}}, "activated_at": "{{$activated_at}}", "expiry_date": "{{$expiry_date}}"}'