Skip to main content

1. Get your API key

Log in to the WhatsRB Dashboard, go to Settings → API Keys, and create a new key.

2. List your business accounts

Fetch your connected WhatsApp Business accounts to get an account ID:
Response:

3. Send a message

Use the account ID from the previous step:
Response:

4. Track delivery

Message status updates are pushed via webhooks. Register an endpoint (URL must be HTTPS):
The response includes a secret (shown only once) for verifying payloads:
WhatsRB will POST to your URL for each matching event:
Verify the request with the X-Webhook-Signature header and your secret. See Webhooks for the full event list and signature verification.
Supported events: message.received · message.status · message.failed · session.connected · session.disconnected · session.failed · quota.warning · quota.exceeded

Next steps

Send a template

Use pre-approved templates to message users outside the 24h window.

Webhook events

See the full list of events and payload formats.

Error handling

Understand error codes and implement retries.

Ruby SDK

Use the official Ruby client for a better developer experience.