Webhooks v1 reference

The bodies Cademí sends to a webhook set to payload version 1. Version 1 is deprecated and receives fixes only; new webhooks should use version 2.

Every event is a POST with a JSON body: event_id, event_type (the event name, in Portuguese) and the data in event.

Students

EventNameWhen
Student createdusuario.criadoSent 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 accessusuario.criado.gratisSent every time a student is created through a free access flow (free sign-up form or redirect).
Access grantedusuario.acesso.adicionadoSent 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 acceptedtermo.assinadoSent every time a student accepts the platform terms or a product terms.

Learning progress

EventNameWhen
Lesson completedaula.concluidaSent every time a student completes a lesson.
Product startedcurso.iniciadoSent every time a student starts a product.
Product at 50%curso.progresso.50Sent every time a student crosses 50% progress in a product.
Product at 75%curso.progresso.75Sent every time a student crosses 75% progress in a product.
Product at 90%curso.progresso.90Sent every time a student crosses 90% progress in a product.
Product milestonecurso.progressoSent 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 completedcurso.concluidoSent every time a student completes every lesson of a product.
Progress reachedusuario.progressoSent every time the student progress in a product reaches the percentage set in the webhook. Carries progress_percentage.

Exams

EventNameWhen
Exam passedprova.aprovadoSent every time a student passes an exam.
Exam failedprova.reprovadoSent every time a student fails an exam.

Certificates

EventNameWhen
Certificate issuedcertificado.emitidoSent every time a certificate is issued to a student, reissues included.

Deliveries

EventNameWhen
Delivery addedentrega.adicionadaSent 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