Webhooks
/webhooks
Register a new webhook endpoint.
The url must be HTTPS and respond 2xx within 10 seconds. After creation, set the list of CVRs to monitor with PUT /v1/webhooks/{webhook_id}/cvr-filter to start receiving events.
The secret field in the response is only returned here. Store it now — it is used to verify the HMAC signature on every incoming delivery and cannot be retrieved later. A new secret can only be obtained by deleting and re-creating the webhook.
Returns 403 if you have reached your subscription tier's webhook limit.
post/v1/webhooks
Request
- Base URL: https://api.companydata.dk (the document declares no server; this is the origin it was published from)
- URL: https://api.companydata.dk/v1/webhooks
- Auth: HTTP bearer
Request body
Example request
{
"name": "Production CRM sync",
"url": "https://api.example.com/companydata-webhook",
"headers": {
"X-My-Service-Token": "abc123"
}
}Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.