API keys & the Course Builder API
Creating keys, scopes, and building courses programmatically.
Creating an API key
Go to Admin → Integrations → API keys, give the key a name you’ll recognize later (“n8n import”, “CRM poller”) and choose its scopes. The key (it starts with
kc_) is shown once — copy it into your automation tool or secret store right away; after that only a fingerprint is displayed. Lost a key? Revoke it and mint a new one — revocation takes effect immediately.Scopes — give each key only what it needs
- course:write — create and manage courses, modules, lessons, quizzes and media programmatically, including the one-call course import.
- crm:read — read-only feeds of enrollments, quiz attempts, certificates and reviews, made for polling into a CRM or data warehouse.
Keys are scoped to your institute and used as a Bearer token against your own domain. Creating or revoking keys may ask for your passkey — expected for credential changes.
What you can build
- Import a whole course in one call — title, modules, lessons (text, video, documents), quizzes and certificate settings in a single request; videos attach from a public URL automatically.
- AI-generated courses — have an agent or workflow draft the course JSON and post it.
- n8n / Zapier automations — sync learners into any CRM, trigger onboarding emails on enrollment, mirror certificates into your systems.
The full API reference
Endpoints, request/response schemas, error codes and rate limits are documented on the developer portal: developer.klickcourse.com (including a machine-readable OpenAPI spec you can load into Postman or your code generator).