Skip to main content
FIXED · organisation MUST With organisations enabled, each organisation has one signing secret. Send the human Owner to the dashboard. Never ask for it in chat or expose it to AI tools.
An authorised server can use an Owner session or the organisation API credential. Admin and Member sessions cannot retrieve it. Store it on the receiving server. Without organisations, the webhook signing secret is only the owning credential’s KEY_SECRET part. In either mode pass the webhook signing secret as keySecret to the Node verifier.
NOT OFFERED → do this instead · number call.bookings has no account field or per-number secret. After signature verification, look up number in your own tenant table. It is the business to number inbound and from number outbound. YOU CAN CHANGE · number Set delivery destinations per number. Pre-call settings can be scoped to an agent or number. Keep the delivery destination and your signature-verification secret separate. SCOPE · operation Verify X-Nixflex-Signature (t=<timestamp>,v1=<hex>) with HMAC-SHA256 over timestamp + ”.” + the original raw request body. Compare the digest in constant time and enforce a freshness policy before trusting the payload. Read the compact AI rules Recover delayed, repeated or missing webhook deliveries by reconciling saved work with authenticated resource reads.
Acceptance: Durable save first ·
Duplicates: Atomic identity check ·
Recovery: Read current state
The important part
  • Save verified events durably before returning 2xx.
  • Use an atomic deduplication key and a separate durable processing queue.
  • Delivery timing is not a deadline or a guarantee that an event will arrive.

Understand delivery timing

The queued path defaults to five attempts. Completed calls and call.bookings normally start with a 60-second queue delay; SMS booking events use five seconds, and started calls request about two seconds. Retry backoff is 5, 5, 5 and 60 minutes. These are queue settings, not delivery deadlines; retention, recovery, account closure and missing data can stop or delay work. Queued 2xx and 3xx responses count as delivered. Avoid redirects: they are not followed as successful forwarding. Network failures, 408, 429 and 5xx are retryable; other 4xx are treated as permanent. The transport helper can also retry a transport failure once. Return a prompt 2xx only after validated work is durably saved, and reconcile missed events through the call API. The signature timestamp describes delivery, not call start. Compare it with the receiver’s current clock; an old call can legitimately produce a newly signed late event.

Make duplicate delivery harmless

After verification, atomically store/deduplicate the event and queue durable processing before returning a prompt 2xx. For call events, use (account, event, call_id) within each receiver, taking account identity from trusted configuration. Call ID alone would incorrectly merge started, completed and booking events. A separate check and insert can race: use a unique constraint and transaction. Quarantine a null identifier needed for deduplication. Legacy started/completed retries can contain fresher fields, so update projections deliberately without repeating business actions. SMS booking events have no call_id or universal event ID. Store the verified delivery under a separate SMS path; a trusted-account plus raw-body digest can suppress exact queue redeliveries, but it is not a universal booking-action ID. Protect business actions separately using the confirmed booking operation and your own records. Do not deduplicate only by booking UID: later moves and cancellations can affect the same booking.

Reconcile delayed results

Read current call or message state when necessary. For missed booking events, use GET call booking results: only ready has a result, and none requires complete empty evidence. processing, deleted and unavailable must not be mapped to zero bookings. A completed call event is not a guarantee analysis and recording are already available. Fetch recording access from its authenticated endpoint. Delivery retries and eventual failures mean events are not an exactly-once or guaranteed-delivery channel.

Diagnose a missing event

Do not place a replacement call or create another booking because its webhook is late. Those are new external actions, not delivery recovery.

Prove the receiver before rollout

Use a controlled signed event, replay it to test deduplication, and test a processing failure after durable acceptance. Confirm that the queue can resume without another external action. Keep raw customer payloads and signing material out of routine logs; record safe IDs and error codes.