Webhooks are fired as fast as possible after the event have taken place in our system. Theese are the supported events:
consent_created: fired when a consent is created.
consent_withdrawn: fired when a consent is withdrawn.
[{"webhook_endpoint": {"public_key":"TRNQzTKQvTxmShKZ4CFyWjdN","target_url":"https://cool.webhook","events":["consent_created","consent_withdrawn"],"created_at":"2018-08-21T16:32:18.364Z","updated_at":"2018-08-21T16:32:18.364Z"}},{"webhook_endpoint": {"public_key":"sDdyTHgDDx4YDYNW5p9hEjMw","target_url":"https://cool.webhook/2","events":["consent_created"],"created_at":"2018-08-21T16:32:18.364Z","updated_at":"2018-08-21T16:32:18.364Z"}}]
{ "message": "API key not found" }
[{"webhook_endpoint": {"public_key":"TRNQzTKQvTxmShKZ4CFyWjdN","target_url":"https://cool.webhook","events":["consent_created","consent_withdrawn"],"created_at":"2018-08-21T16:32:18.364Z","updated_at":"2018-08-21T16:32:18.364Z"}},{"webhook_endpoint": {"public_key":"sDdyTHgDDx4YDYNW5p9hEjMw","target_url":"https://cool.webhook/2","events":["consent_created"],"created_at":"2018-08-21T16:32:18.364Z","updated_at":"2018-08-21T16:32:18.364Z"}}]
​
{ "message": "API key not found" }