clientRef so you know which client it belongs to.
Eaze Customs signs the request. Check that signature before you parse the body for business use. A missing or invalid signature means you reject the request.
Before you start
- A broker user, or a platform administrator, who can open the broker in the portal.
- An active API key for that broker. The portal cannot save a webhook endpoint until one exists.
- An HTTPS endpoint on the public internet. Private, loopback, and link-local addresses are rejected.
- An API credential that includes the module for the follow-up GET. Import events need
import. NCTS events needncts. RTO events needrto.
Steps
1
Configure the endpoint in the portal
Add the HTTPS URL and choose the events. Copy the signing secret when the portal shows it. See Set Up Webhooks.
2
Verify and ignore duplicates
Follow Verify Signatures. Keep the event
id. The same event can be delivered more than once.3
Read the current resource
Call the GET endpoint for
data.resource. Send clientRef as X-Eaze-Client-Ref. The record may have changed since the event was created.4
Review deliveries in the portal
Open delivery history for the endpoint. Retry a failed delivery from there. See Deliveries & Retries.
Working example
A release notification looks like this:33333333-3333-4333-8333-333333333333 and X-Eaze-Client-Ref: ACME-AMS.
Return a success status only after the signature is valid and you have stored the event ID. Events are not guaranteed to arrive in order, and a missed event is not sent again on its own. Read the resource, or retry a failed delivery in the portal.
Next: Set Up Webhooks.