Webhooks and callbacks
Abi integrations use server-to-server webhooks for asynchronous service events and postMessage callbacks for agreed embedded browser flows.
Webhook handling
Section titled “Webhook handling”- Register a secure HTTPS endpoint through the webhook operation.
- Subscribe only to events your integration handles.
- Authenticate or validate every delivery using the mechanism defined in your partner contract.
- Return a successful response quickly and move slow work to an asynchronous queue.
- Make processing idempotent because deliveries can be retried.
- Log event identifiers and outcomes without logging sensitive payloads.
Use the format-event operation only where your integration contract requires it. The API reference is the source of truth for event names and payload schemas.
Browser callbacks
Section titled “Browser callbacks”For embedded experiences, validate the sender origin and accept only documented message types. Browser callbacks must never carry partner credentials.
