Mini Course Generator webhooks let you connect your courses and collections with other tools. You can use webhooks to send certificates, build lead generation workflows, and support many other use cases.
Webhooks for Courses
You can find course webhooks in the course settings. Paste your endpoint URL and select the event or events you want to track.
After you configure this, you will receive a request for each selected event on that course. For example, if you select only Course Finish, a request will be sent each time someone completes your course.
Card End
A Card End request has a body similar to the example below.
{
"Type":"course_answer",
"uniqueId":"eren@minicoursegenerator.com", // learner's email
"courseCode":"vibe-coding-essentials-secure-workflows-and-ai-mastery-229388",
"courseName":"Vibe Coding Essentials: Secure Workflows and AI Mastery",
"answer":{
"cardId":2734339,
"cardType":"information",
"cardText":{page.content},
"answerText":"",
"answerNumeric":0,
"selections":[],
"isCorrect":null,
"answeredAt":"2026-03-17T10:53:51.44271",
"score":0
}
}
Course Finish
A Course Finish request has a body similar to the example below.
{
"Type":"course_finish",
"uniqueId":"eren@minicoursegenerator.com", // learner's email
"courseCode":"vibe-coding-essentials-secure-workflows-and-ai-mastery-229388",
"courseName":"Vibe Coding Essentials: Secure Workflows and AI Mastery",
"cards":{
"2734354":{
"cardId":2734354,
"cardType":"single_choice_survey",
"cardText": {page.content},
"answerText":"",
"answerNumeric":0,
"selections":[],
"isCorrect":null,
"answeredAt":"2026-03-17T10:53:51.44271",
"score":0
}
}
}
Based on the events you choose, Mini Course Generator webhooks send you the learner’s email address (username) and their answers to pages, both when an individual page is completed and when the course is completed.
👀If the collection access setting is “everyone can access,” the webhook generates and sends a random ID as the username instead of an email address.
Webhook for Collections
You can access collection webhooks from the Integrations tab in your collection settings. Paste your endpoint URL and select the event or events you want to track.
Here is an example request body for the Collection started webhook.
{
"EventType":"collection_started",
"CourseCollectionId":"e02ba3b3-5e39-4815-aa79-161842a97515",
"CourseId":152537,
"Progress":5.88,
"Score":0,
"Name":"Eren",
"Username":"mehmeterengunduz6@gmail.com",
"Email":"mehmeterengunduz6@gmail.com",
"StartedAt":"2026-03-17T11:07:59.770459+00:00"
}
Here is an example request body for the Collection completed webhook.
{
"EventType":"collection_completed",
"CourseCollectionId":"e02ba3b3-5e39-4815-aa79-161842a97515",
"Score":10,
"Name":"Eren",
"Username":"mehmeterengunduz6@gmail.com",
"Email":"mehmeterengunduz6@gmail.com",
"CertificateUrl":"https://cdn.minicoursegenerator.com/certificate/LRkQsqXw90GTeWWffgQ1-Q"
}
We listed some popular use cases on webhooks below:
You can look up different opportunities on your own webhook provider as well.

