Configure a HTTP webhook
Last updated
Last updated
Webhooks are a premium feature that is not enabled for organizations by default. Make sure you reach out to to enable this integration before configuring one for your organization.
Webhooks allow you to subscribe to events happening on the Didomi platform to implement custom workflows when your users change their consent preferences. When an event is triggered, we'll send a HTTP POST payload to the configured endpoint.
To configure a HTTP Webhook integration for your organization, send a POST /marketplace/integrations
request with the webhook-http
type, the ID of your organization, and the URL (endpoint) through which the events will be received. By default, HTTP webhook authentication is disabled.
The HTTP webhook integration supports OAuth as authentication mechanism. To enable it, you can specify the url and the oauth credentials to get a session token (this token will be sent inside the Authorization
HTTP header in the event webhook request) inside the authentication
object.
This will automatically start sending HTTP POST requests to your configured endpoint whenever a new Didomi event happens and your users consent preferences are updated.
For more information on HTTP webhooks, please visit the .