Configure webhook

Set up a webhook for your account so your application can react to Ocrolus events.


You can find a list of supported account-level event types and their sample notifications in the Account-level webhook guide.

📘

Your webhook integration should respond to incoming notifications with a status of 200 OK to indicate that it's working properly.

🚧

We have a better version!

This product is superseded by Org Level Webhooks, which we recommend for improved functionality and integration.

Body Params
url
required

The URL of the endpoint that will receive notifications of Ocrolus events. This should be on your own infrastructure, protected from the outside world on a network level. See here for a list of IP addresses that you can add to your firewall's allowlist.

The domain will be checked for validity, although the webhook itself won't be called. We suggest testing the endpoint after configuring it.

event
array of strings

A comma-separated list of events that will trigger a call to your webhook. To deregister the webhook, provide an empty array.
The event list given in this parameter will replace all existing subscriptions, i.e. providing a single event will subscribe only to that event while unsubscribing from the others.

Responses

Language
Credentials
OAuth2
Choose an example:
application/json