authentication
Quick Start
Send your first WhatsApp message in under 5 minutes.
Follow these steps once. After that, every API call is the same pattern: API key in the header + JSON body.
How to use
- 1
Create a SendWizz account and log in to the dashboard.
- 2
Create a WhatsApp instance and scan the QR code until status is Connected.
- 3
Open that instance page and copy its API key (starts with wsk_).
- 4
Call POST /whatsapp/send-message with header x-api-key and body { to, message }.
- 5
Check the response — success:true means the message was queued for sending.
Tips
- Phone numbers must include country code with no leading 0 (use 923001234567, not 03001234567).
- Each API key works only for the instance it belongs to.
- Always use HTTPS.
Example request
JSON body / query
{
"to": "923001234567",
"message": "Hello from SendWizz!",
"type": "text"
}cURL / code
curl -X POST "https://api.sendwizz.app/api/whatsapp/send-message" \
-H "x-api-key: wsk_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"to":"923001234567","message":"Hello from SendWizz!","type":"text"}'Responses
200Message queued
{
"success": true,
"message": "Message queued successfully",
"data": {
"to": "923001234567@s.whatsapp.net",
"type": "text"
}
}