Skip to main content

Getting Started

This guide will help you send your first message using the WazzAPI API for programmatic WhatsApp messaging.
1

Get Your API Key

API keys can be created from your WazzAPI Dashboard or via the API Keys endpoint.
Keep your API key secure and never expose it in client-side code.
2

Send Your First Message

Use the cURL command below to send a test message. Replace YOUR_API_KEY, PHONE_NUMBER, and ACCOUNT_ID with your actual values.
curl -X POST https://api.wazzapi.io/api/v1/messages \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "+1234567890",
    "message": "Hello from WazzAPI!",
    "whatsappAccountId": "wa_abc123"
  }'
3

Track Message Status

You can check the status of your message using the message ID returned in the response.
curl -X GET https://api.wazzapi.io/api/v1/messages/msg_12345 \
  -H "Authorization: Bearer YOUR_API_KEY"

Base URLs

WazzAPI provides the following environments:
EnvironmentURL
Productionhttps://api.wazzapi.io
Staginghttps://staging-api.wazzapi.io
Localhttp://localhost:3000

Next Steps

Now that you’ve sent your first message, explore more features: