Create webhook
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The version of the API for which you registered the webhook. This helps to maintain backward compatibility. If in newer versions the event payload is changed, your webhook will keep receiving the payload from this api version. This will be 'v1.0' for now and we will come up with more versions and a changelog later.
An array of topics to listen to. When any of these topics are triggered, the webhook will be pinged.
REGISTRATIONS.EXISTING.VALIDATION.FAILED
, REGISTRATIONS.EXISTING.VALIDATION.SUCCEEDED
, REGISTRATIONS.NEW.SUCCEEDED
, REGISTRATIONS.NEW.INVALID
, EXEMPTION_CERTIFICATES.VERIFICATION.FAILED
, EXEMPTION_CERTIFICATES.VERIFICATION.SUCCEEDED
, EXEMPTION_CERTIFICATES.EXPIRATION
, NEXUS.THRESHOLD.STATE.ALERT
, CUSTOMS_DUTY.CUSTOMS_CODE.UPDATE
Your webhook url that will be hit once an event happens. Only HTTPS urls are allowed.
Secure string provided by the user. It will be used during HMCA process to keep the event payloads secure. Make sure to keep it safe as you will need it during validating event payloads. This key won't be returned back by any other endpoint.
If the webhook is active or not. If a webhook is disabled it won't be called when a topic is triggered.
ENABLED
, DISABLED
Optional name to define the purpose of the webhook.