Send Your First WhatsApp Message

Learn how to register a Waplix instance, scan the QR code to authenticate, and send a test WhatsApp text message.

Follow these steps to send your first WhatsApp message in less than 5 minutes using Waplix.

Step 1: Sign up and get your API Key

Register an account in the Waplix Portal. Copy your API Token from the API Keys tab. It is used inside the Authorization: Bearer YOUR_API_KEY header.

Step 2: Connect a WhatsApp Instance

Create a new instance in the dashboard or trigger the Create Instance API. Once created, request the connection QR code via the dashboard or scan the payload from Get QR Code API. Scan it using WhatsApp linked devices.

Step 3: Dispatch your first message

Send a POST request to /api/v1/messages/send:

curl -X POST "https://api.waplix.io/api/v1/messages/send" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"instance_id":"demo_instance","to":"15551234567","message":"Hello from Waplix!"}'
      

Step 4: Confirm delivery

Review the API response which returns a success indicator and a WhatsApp message ID (e.g. MSG_DEMO_001). If you configured webhooks, Waplix dispatches message.sent, message.delivered, and message.read callbacks to track state changes.

Was this page helpful?