WhatsApp API

Quick start (5 steps)

Go from zero to your first WhatsApp message in a few minutes. For deeper guides, see Getting started.

  1. Register — create an account at whatsapp.s.co.tz/register and verify your email.
  2. Connect WhatsApp — in the dashboard, create an instance, open the QR code, and scan it with WhatsApp on your phone (Linked devices).
  3. Create an API key — choose live mode for real sends or test mode to simulate messages without a connected phone.
  4. Send a message — replace the placeholders below and run:
    curl -X POST https://whatsapp.s.co.tz/api/v1/messages/text \
      -H "Authorization: Bearer sk_live_YOUR_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "instance_id": "inst_xxxxxxxxxxxx",
        "to": "+255712345678",
        "text": "Hello from the WhatsApp API"
      }'
  5. Webhooks (optional) — add a webhook URL in the dashboard to receive delivery and message events. See Webhooks for event types and signing.