Docs
arrow_back Embeddables

AI Course Creator Scale and above

The AI Course Creator embeds Coassemble's create-course agent directly in your product — without the builder chrome. Your users describe a course (or upload documents), answer a few intake questions, and the agent builds a full course. It's the same intake experience as the Coassemble app, headless.

By default, once the brief is confirmed the embed emits a course-created event carrying the new course id and a signed builder embed URL — swap your iframe to that URL to let the build animate in the Builder (this is how the app behaves). Set build: 'inline' to build the course headlessly inside this embed instead and receive only the finished course id.

API Endpoint

POST/v1/headless/embed/agent

Body parameters

FieldTypeExampleDescriptionDemo Value
modestringcreate
buildhandoffinlinehandoffhandoff (default) emits a signed builder-embed URL to continue the build in a Builder surface; inline builds the course headlessly inside this embed.
identifierstringyour-user-id
clientIdentifierstringyour-tenant-id
themeIdnumberCustom theme ID to apply to the created course.
options.aibooleantrueForwarded to the course builder on handoff. When false, AI features in the builder (generate, agent panel, refine) are hidden. Does not disable this create-agent embed itself.
options.languagestringenDefault language for the created course.
options.brandVoicebooleanfalseApply the workspace brand voice during authoring.
options.googleDrivebooleantrueEnable Google Drive document import.
options.oneDrivebooleantrueEnable OneDrive document import.
TypeEventDescriptionNotes
agentcourse-createdFires when the course is created. Payload includes { mode, courseId, sessionId, builderEmbedUrl? }. For handoff, load builderEmbedUrl next to continue the build in the Builder.
agentbuild-startedFires (inline build only) when the headless build begins.
agentcloseFires when the user closes the agent.
sessionerrorFires when an error occurs.
sessionexpiredFires when the session expires.

Live Demo