Webhook aanmaken
POST /api/v1/webhooks
scope: webhooks:manage gratis
Een https-URL en de events die u wilt ontvangen. Het geheim voor de handtekening staat alleen in dit antwoord.
Body
| Naam | Type | Omschrijving |
|---|---|---|
url verplicht Openbare https-URL | string | Openbare https-URL |
events verplicht Events 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 |
enabled Webhook aan of uit | boolean | Webhook aan of uit |
Antwoord, HTTP 201
Antwoord, HTTP 201
| Naam | Type | Omschrijving |
|---|---|---|
data verplicht | object | |
data.secret verplicht | string |
Antwoord, HTTP 422
Validation error
Antwoord, HTTP 422
| Naam | Type | Omschrijving |
|---|---|---|
error verplicht | object | |
error.code verplicht Stable error code, for example not_found or validation_failed | string | Stable error code, for example not_found or validation_failed |
error.message verplicht Human-readable explanation | string | Human-readable explanation |
error.details Extra 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