Webhooks
Access your webhooks though the API to mange them.
Event types
Webhooks are fired as fast as possible after the event have taken place in our system. These are the supported events:
consent_created: fired when a consent is created.
consent_withdrawn: fired when a consent is withdrawn.
List all webhooks
GET
https://app.openli.com/api/v1/webhooks
List all webhooks on the project.
Headers
x-api-key
string
Your API key
Add a webhook
POST
https://app.openli.com/api/v1/webhooks
Query Parameters
target_url
string
The URL that the webhook should trigger.
events
string
The events that the webhook should be activated on. If multiple events separated them with a comma.
Headers
x-api-key
string
Your API key
Delete a webhook
DELETE
https://app.openli.com/api/v1/webhooks/:public_key
Path Parameters
public_key
string
The public_key of the webhook.
Headers
x-api-key
string
Your API key
Last updated