How to Connect an API or Webhook to WhatsApp

Prepare a narrowly scoped connection and inspect its actual result.

See this part of the workflow

api webhooks — local product interface with sample data
A quick tour of the Autochatix workspace, recorded locally with sample data. Outbound-webhook configuration entry; no delivery, retry or replay is demonstrated.

What you will do

Prepare a narrowly scoped connection and inspect its actual result. API requests into Autochatix, signed outbound webhooks and provider-specific incoming webhooks are separate interfaces; a signature or retry behaviour documented for one does not automatically apply to the others.

Product source reviewed 4 November 2026. Instructions describe the current supported controls. Local captures use sample data; live channel and provider outcomes require a controlled account test.

Before you begin

Use an authorised developer and an endpoint you control, with HTTPS, a safe test event and a defined recovery policy. Keep raw keys and signing secrets out of frontend code, URLs, screenshots, logs and browser-tool fields.

Where: open /integrations in the signed-in Autochatix app. Your role, subscription and connected provider determine the available actions; the public website does not grant application access.

Steps

  1. For an API key, open My Profile and API Keys. Review the key’s supported scope and lifecycle before changing a working integration. Create the key and copy its returned secret from the one-time dialog into your integration’s secret store. Dismissing or reloading removes the displayed secret; lists retain only the prefix. Use integration keys with supported /api/v1 endpoints; dashboard and superadmin routes require a signed-in session.
  2. If rotating an existing key, safely capture the new one-time secret and update the receiving service through its secret store. The previous key stops working immediately. Coordinate replacement so rotating a key does not silently break an existing caller.
  3. For outbound delivery, open Integrations and use Add webhook. Enter the endpoint and supported event selection, then review the configured signing secret without exposing it in a capture.
  4. At the receiving endpoint, read X-AutoChatix-Timestamp and verify X-AutoChatix-Signature as HMAC-SHA256 over timestamp + a dot + the exact raw request body, using a timing-safe comparison. Reject stale timestamps to limit replay. Apply your own idempotency and durable processing before acknowledging a meaningful event.
  5. Run an authorised controlled event and inspect the receiver, response and available failure record. Also test a rejected signature and endpoint failure in isolation so recovery behaviour is known before relying on the integration.
  6. For an owned WhatsApp channel, the Website WhatsApp widget control can generate a public launcher snippet. Choose the label, greeting, colour and placement, save, then copy the public anchor and hosted script to the website. The snippet contains public number/text settings, never a JWT or API key.
  7. Test the destination and encoded greeting on desktop and mobile. Recopy a static installation after settings change; remove an old snippet to disable that installation. If JavaScript is blocked, its anchor remains usable.

Check the result

Confirm the event belongs to the intended account and reference and that duplicate processing is prevented. A 2xx acknowledgement proves acceptance by the receiver, not completion of every downstream business action.

If something goes wrong

For a signature mismatch, compare the timestamp, raw bytes and secret selection rather than reserialising JSON. For a timeout or repeated failure, inspect the failed-webhook record and endpoint state. Repeated failures can disable the endpoint, requiring investigation before re-enabling.

For help, share the task name, time, safe record reference and exact error with the support team. Redact personal details and secrets; do not include raw credentials or payment information.

Current limits

The general outbound dispatcher makes one attempt with an eight-second timeout; no automatic general retry worker was found. It can disable an endpoint after 15 failures. Build and monitor your own recovery process. Incoming subscription replay tools do not establish an outbound replay feature. The launcher opens WhatsApp; it is not an anonymous website inbox. A click does not create a contact before a real incoming message, and the launcher does not add tracking by default.

Autochatix

Let’s talk about your business

Leave your number and the Autochatix team will call you to discuss your requirements.

Choose your country and enter your number, or include + and your country code.

By requesting a callback, you ask Autochatix to call this number about your enquiry. Privacy Policy.