Skip to main content
Webhooks triggered from certain actions in code that will call URLs assigned by you. Tribal Habits provides customers with the ability to have webhooks. Webhooks are a way for web applications to be notified of events in real-time. To set up webhooks follow these instructions: https://support.tribalhabits.com/en/articles/9180944-can-i-create-webhooks-in-tribal-habits Webhooks must be enabled for your organisation. Each webhook is sent as an HTTP POST to your URL with a JSON body and the header Content-Type: application/json. The event field in the payload says which event occurred.

Events

Enrolment events

Each enrolment event is sent for both topic enrolments and pathway enrolments. enrolment_data.knowledge_type is topic or pathway.

Delivery

Each event is sent once. If your URL cannot be reached, delivery is retried up to 3 times. A response with an error status code from your URL is not retried. Your endpoint should return a 2xx status code promptly.