POST request the moment an event occurs.
When you need webhooks
Webhooks are useful any time you want to react to learning activity in your own systems. Common use cases include:- Push notifications — If you’re using the WebView integration, LearnInk uses webhooks to deliver push notification triggers. Your backend should receive these and forward them to users via your own notification infrastructure. This is the most critical webhook use case for WebView customers.
- Progress tracking — Record course completions or certificate awards in your own database
- Automations — Trigger downstream workflows when users hit milestones (e.g. unlock content, update a CRM record)
- Compliance reporting — Log training completion events for audit purposes
How it works
- An event occurs in LearnInk (e.g. a user completes a course)
- LearnInk creates an event object and sends it as an HTTP
POSTto your registered endpoint URL - Your endpoint processes the event and returns a
200response to acknowledge receipt - If no
200is returned, LearnInk retries delivery on a fixed schedule
Event structure
Every webhook payload follows the same structure:type field identifies the event. The data object contains the relevant details — its shape varies by event type. A full Event Catalog with every available event, its payload schema, and example data is available inside the LearnInk admin dashboard under Settings → Developers → Webhook.
The
timestamp field reflects when the event occurred, not when it was delivered. Users in offline mode have events queued and delivered when they reconnect — your backend may receive events from several days ago if a user has been offline for an extended period.Ready to set up your webhook?
Step-by-step setup guide
Follow the four-step guide to create your endpoint, test it in staging, and register it in production.
The two event categories
There are two key categories of events you can subscribe to:1. Notifications events
Thenotifications.sent event contains an array of push notification payloads to be forwarded to users. These are generated by both scheduled training reminders and manual notifications sent from the LearnInk dashboard. If you’re using the WebView integration, subscribing to this event and forwarding the notifications to users is essential — the WebView cannot receive notifications any other way.
See the Push notifications guide for full details on how to handle this event.