Webhooks v2 reference

The bodies Cademí sends to a webhook set to payload version 2, the default.

Every event is a POST with a JSON body: version, event (the event name), event_id and the data in payload. The Diamond funnel events are the exception: they carry the data in data.

Students

EventNameWhen
Student createduser.createdSent every time a student is created by a sale, by an import, by the dashboard or by the API. Google sign-in does not fire it.
Student created by free accessuser.created.freeSent every time a student is created through a free access flow (free sign-up form or redirect).
Access granteduser.access.createdSent every time a delivery is added to a student by hand, from the dashboard or the API. A delivery granted by a sale fires only delivery.add.
Terms accepteduser.term.signedSent every time a student accepts the platform terms or a product terms.

Learning progress

EventNameWhen
Lesson completedclass.concludedSent every time a student completes a lesson.
Product startedcourse.initiatedSent every time a student starts a product.
Product at 50%course.progress.50Sent every time a student crosses 50% progress in a product.
Product at 75%course.progress.75Sent every time a student crosses 75% progress in a product.
Product at 90%course.progress.90Sent every time a student crosses 90% progress in a product.
Product milestonecourse.progressSent every time a student crosses the 50%, 75% or 90% mark in a product. It is the generic version of the three milestone events.
Product completedcourse.concludedSent every time a student completes every lesson of a product.
Progress reacheduser.progressSent every time the student progress in a product reaches the percentage set in the webhook. Carries progress_percentage.

Exams

EventNameWhen
Exam passedexam.approvedSent every time a student passes an exam.
Exam failedexam.reprovedSent every time a student fails an exam.

Certificates

EventNameWhen
Certificate issuedcertificate.createdSent every time a certificate is issued to a student, reissues included.

Deliveries

EventNameWhen
Delivery addeddelivery.addSent every time a delivery is added to a student, by hand or by a sale.

Diamond funnel

EventNameWhen
Diamond: Checkout abandonedspyhub.diamond.checkout_abandonedThe student opened the checkout and did not buy.
Diamond: Checkout startedspyhub.diamond.checkout_initiatedThe student opened the checkout.
Diamond: Checkout not startedspyhub.diamond.checkout_not_initiatedThe student has not opened the checkout in the expected time.
Diamond: Class 1 completedspyhub.diamond.class_1_concludedThe student completed class 1.
Diamond: Class 1 not startedspyhub.diamond.class_1_not_initiatedThe student has not started class 1 in the expected time.
Diamond: Class 2 completedspyhub.diamond.class_2_concludedThe student completed class 2.
Diamond: Class 2 not startedspyhub.diamond.class_2_not_initiatedThe student has not started class 2 in the expected time.
Diamond: Class 3 completedspyhub.diamond.class_3_concludedThe student completed class 3.
Diamond: Class 3 not startedspyhub.diamond.class_3_not_initiatedThe student has not started class 3 in the expected time.
Diamond: Leadspyhub.diamond.leadThe student entered the funnel.
Diamond: Wonspyhub.diamond.wonThe student bought the product.

On this page