# Webhooks

> Send EduBase events to your own systems as they happen, when members finish exams, practice tests or journeys, with authentication, retries and an error log.

A webhook makes EduBase call an address in your own system when something happens, such as a member finishing an exam. Your HR system, CRM or data warehouse then learns about results within moments, without polling the API. Organization managers set up webhooks for their organization on its **Webhooks** page.

## Events

| **Event** | Called when |
|---|---|
| **Exam test results** | A member of the organization completes an organizational exam, or such a result changes, for example through extra points. |
| **Practice test results** | A member completes an organizational Quiz set, or such a result changes. |
| **Completing learning journeys** | A member completes a journey, with the outcome. |
| API trigger | You call a dedicated API endpoint. "Useful for testing purposes." |

The call carries the member, the content and the result, including whether it was passed, so your system does not need a second lookup. Field names are listed in the [API reference](https://developer.edubase.net/).

## Set up a webhook

On the organization's **Webhooks** page, choose **Register webhook** and set:

| Setting | Options |
|---|---|
| **Name** | For your own reference. |
| **Event** | One of the events above. |
| **Endpoint** | The URL to call, and the **Call** method: **POST** or **GET**. |
| **Authentication** | **None**, or a **Secret key** sent **As header** (with your header name), **As Bearer token**, or **As data** (with your field name). |
| **Extra data** | Fixed JSON added to every call, or **Organizational custom data** of the member. |
| **Retry** | **Automatically in case of failure, with delay**, or **Disabled**. |

Use HTTPS and a secret key, and check the key on your side before trusting a call.

## Find out why calls fail

Each webhook's **Webhook errors** window lists the "Last few errors encountered during notifications", or "No errors" when recent calls succeeded. To test without waiting for a real result, register a webhook with the API trigger event and fire it through the API.

## Limits

- Webhooks belong to an organization and report on organizational content and members only.
- The events are the ones listed above; other changes are not sent as webhooks.
- A webhook can be inactive; inactive webhooks are marked on the list and send nothing.

## Related

- [The REST API](https://help.edubase.net/integrations/api/)
- [HR and enterprise system synchronization](https://help.edubase.net/integrations/hr-sync/)
- [Integrations](https://help.edubase.net/integrations/)
