Webhook aanmaken
POST/api/v1/webhooks
scope: webhooks:managegratis
Een https-URL en de events die u wilt ontvangen. Het geheim voor de handtekening staat alleen in dit antwoord.
Body
| Naam | Type | Omschrijving |
|---|---|---|
urlverplichtOpenbare https-URL | string | Openbare https-URL |
eventsverplichtEvents om te ontvangen | enum[] | Events om te ontvangen case.created · case.status_changed · report.published · report.processed · value.corrected · value.conflict · portfolio.hit · auction.linked |
enabledWebhook aan of uit | boolean | Webhook aan of uit |
Antwoord · HTTP 201
Antwoord · HTTP 201
| Naam | Type | Omschrijving |
|---|---|---|
dataverplicht | object | |
data.secretverplicht | string |
Antwoord · HTTP 422
Validation error
Antwoord · HTTP 422
| Naam | Type | Omschrijving |
|---|---|---|
errorverplicht | object | |
error.codeverplichtStable error code, for example not_found or validation_failed | string | Stable error code, for example not_found or validation_failed |
error.messageverplichtHuman-readable explanation | string | Human-readable explanation |
error.detailsExtra information, such as the fields that failed validation | object | Extra information, such as the fields that failed validation |
De velden van het antwoord staan in openapi.json. Hoe elke waarde met bron is opgebouwd, leest u bij Gegevens en brondocumenten