API keys and webhooks

Connect your website, shop or own code to WhatsApp with incoming webhooks, the API and outgoing webhooks.

Settings → Integrations & API has three ways to connect other systems to Wabee. Full details are in the developer docs.

Incoming webhooks (no code)

Give Shopify, a website form, Google Sheets, Zapier or Make a link. When they post data to it, Wabee sends a template (like an order confirmation), adds the contact to a sequence, or only saves the contact.

  1. Click New webhook. It starts switched off.
  2. Copy the URL and paste it into the other system as a webhook (method POST, JSON). In Shopify: Settings → Notifications → Webhooks, for example "Order creation".
  3. Send a test from the other system, then reopen the webhook. Latest data received lists every field. Click one to copy its path.
  4. Fill in Phone number field, for example customer.phone, and an optional Name field and tag.
  5. Under Then, choose Send a template, Add to a sequence or Only save the contact.
  6. For a template, map each variable. From webhook data reads a field from the data, like order_number.
  7. Tick On and click Save.

Anyone with the URL can trigger messages, so keep it private. Numbers without a country code are read as Indian numbers.

More in Incoming webhooks.

API keys

For developers who want to send messages, save contacts and start sequences from their own code.

  1. Under API, enter a key name, like "Website", and click Create key.
  2. Copy the key. It won't be shown again.
  3. Store it in your server's settings or a password manager. Never put it in a web page or app that customers can see.

Delete a key with the bin icon if it's no longer used or may have leaked. The list shows when each key was last used.

See Authentication and the API reference.

Outgoing webhooks

Wabee can send data to your server when something happens:

  • Customer sent a message
  • Delivery status changed (sent, delivered, read, failed)
  • Contact opted out (STOP)
  • Contact opted back in (START)
  • Tracked link clicked
  • WhatsApp form submitted

Enter your URL under Add a URL, tick the events and click Add. Click Secret to see the signing secret your server uses to check each request. To change it, click Rotate secret there: the old secret keeps working for 24 hours while you update your server. Failed deliveries are tried up to 5 times in total.

See Webhooks for the format and how to check the signature.

Good to know

Still stuck? Contact support.