Create a webhook
Creates a webhook (at most 10 per team). The URL must use HTTPS and must not point to private or internal addresses. The response contains the signing secret (secret, whsec_…) — it is only shown here. filters is optional (see /guides/webhooks#filtre).
Authentication
Your API key as a Bearer token.
Body
application/jsonurlstring<uri>requiredHTTPS URL we send POST requests to.
eventsenum<string>[]requiredEvent types, e.g. address.updated, or * for all.
filtersobjectOptional resource filters. Within a field it is "or", between fields "and"; an empty object = all events. Account events (invoice.*, quota.*, subscription.*, job.*) are never filtered. An event where e.g. the municipality cannot be determined is not sent when filtering on municipality. At most 5000 values in total.
Show child attributes(4)
filters.bfe_numreinteger[]BFE numbers (properties).
filters.postnumrestring[]Postcodes (4 digits), e.g. 2100.
filters.adresse_idsstring<uuid>[]Address or access address ids (UUID).
filters.kommunekoderstring[]Municipality codes (4 digits), e.g. 0101.
Request
Response
The webhook with `secret` (only shown here)
idstring<uuid>urlstring<uri>eventsstring[]secretstringThe signing secret — only in the response to the creation.
statusenum<string>activepausedauto_disabledenabledbooleanfiltersobjectOptional resource filters. Within a field it is "or", between fields "and"; an empty object = all events. Account events (invoice.*, quota.*, subscription.*, job.*) are never filtered. An event where e.g. the municipality cannot be determined is not sent when filtering on municipality. At most 5000 values in total.
Show child attributes(4)
filters.bfe_numreinteger[]BFE numbers (properties).
filters.postnumrestring[]Postcodes (4 digits), e.g. 2100.
filters.adresse_idsstring<uuid>[]Address or access address ids (UUID).
filters.kommunekoderstring[]Municipality codes (4 digits), e.g. 0101.
created_atstring<date-time>auto_disabled_atstring<date-time> | nullconsecutive_failuresinteger