This page walks you through every value the Gallabox provider asks for, where to find it in Gallabox, and how to connect the webhook with one click. Gallabox's pages need your Gallabox login, so the steps below link straight to them.
You need: a Gallabox account with a connected WhatsApp number, the Owner or Admin role (or a custom role with "Can view and manage webhooks, API keys"), and the Essential or Advanced plan for webhooks.
1. Create an API key
- In Gallabox open Settings → Developer → API Keys and click Add new (what each option means).
- Complete the two-factor check Gallabox asks for.
- Name the key after this store, for example
CartWhizz store. - Pick the scope. All is simplest. With Restricted, tick at least sending messages, reading templates and managing webhooks.
- Click Add API Key. Copy the API key into Gallabox API key and the Secret key into Gallabox API secret in CartWhizz.
The secret is shown once. If you lose it, delete the key, create a new one and paste both again.
2. Copy the WhatsApp channel ID
- Open Gallabox → Channels and choose your WhatsApp number.
- Click Copy next to the channel ID and paste it into WhatsApp channel ID. It is a code of letters and numbers, not the phone number.
3. Save and connect the webhook
- In CartWhizz open Messaging → WhatsApp, choose Gallabox, turn on Send messages and click Save. Leave Webhook shared secret empty.
- Under Delivery status webhook, click Configure webhook. CartWhizz creates a secret, then creates a webhook in your Gallabox account for Message.Received, Message.WA.Status.Received and Message.WA.Status.Failed, pointing at this store. Your other Gallabox webhooks are not changed.
- Click Check webhook. Connected with two green ticks means delivery reports and replies (including STOP) now reach CartWhizz.
You can also see the webhook in Gallabox under Settings → Webhooks, and its deliveries on the Logs tab.
Prefer doing it by hand? Copy the webhook link shown on the page, add ?token= and your Webhook shared secret, and add it in Settings → Webhooks → Add Webhook with the three events above.
4. Templates
Business-started messages (order updates, offers) need a template approved in Gallabox. In CartWhizz, open the template and set Approved template name to the template's name in Gallabox. If the Gallabox template uses named variables such as {{CustomerName}}, map each exact name to a CartWhizz variable under Named template parameters. Templates with numbered variables {{1}}, {{2}} need no mapping. Templates with a media header or buttons are not sent through Gallabox yet.
If something goes wrong
| Message | What to do |
|---|---|
| Gallabox rejected the API key and secret | Copy both again from Settings → Developer → API Keys, or create a new key. |
| This Gallabox API key may not manage webhooks | Edit the key's permissions to include webhooks, or use a key with All access. |
| Suspended or on a plan without webhooks | Webhooks need the Essential or Advanced plan. |
| Not connected after Configure | Click Configure webhook again; it updates the same webhook instead of adding a second one. |
Your inbox, bots and broadcasts stay in Gallabox. CartWhizz sends store messages and records delivery reports and STOP replies.
