Webhooks

Create a webhook (returns its secret once). Compliance plan

At most 3 webhooks per key (409 beyond). The body must be at most 4,000 bytes (413 beyond). The URL must be a public https address on the standard port, without credentials.

post/v1/webhooks

Request

  • Base URL: https://api.africacompliancedata.com
  • URL: https://api.africacompliancedata.com/v1/webhooks
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

urlstring uri required

Public https URL

countriesstring[]

ISO codes; empty or omitted = all

featuresstring[]

Empty or omitted = all. 'vat' includes the VAT rate history, 'wht' the tax treaties.

Response

Created

idstring
urlstring
countriesstring[]
featuresstring[]
createdstring date-time
secretstring

Signing secret (whsec_...), shown only once

notestring

Reminder to store the secret now

Changes

No recorded changes to this operation across all 1 revision of this API.