Skip to main content

Prerequisites

  • A WhatsRB Cloud account with an API key
  • A connected WhatsApp Business Account

1. Get your API key

Log in to the WhatsRB Dashboard and navigate to API Keys. Create a new key and copy it.

2. Send a message

curl -X POST https://whatsrb.com/api/v1/business_accounts/:id/messages \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+33612345678",
    "type": "text",
    "text": "Hello from WhatsRB!"
  }'

3. Check delivery status

Message statuses are delivered via webhooks. You’ll receive events for sent, delivered, read, and failed.

Next steps