API introduction
Get started with the Wasapia API. Learn about authentication and basic endpoints for your automation.
Get started with the Wasapia API. Learn about authentication and basic endpoints for your automation.
Welcome to the Wasapia API! Our simple REST API allows you to integrate and automate your WhatsApp communication.
All API requests should be made to:
https://api.wasapia.com/v1
The API uses API keys for authentication. Generate your API key from your dashboard.
Include your API key in the X-WASAPIA-API-KEY header:
curl -H "X-WASAPIA-API-KEY: YOUR_API_KEY" \
https://api.wasapia.com/v1/contacts
⚠️ Important: Keep your API key secure and never expose it in client-side code.
Content-Type: application/json header for POST/PUT requestsAll responses are JSON with this structure:
{
"success": true,
"message": "Operation completed successfully",
"data": {}
}
{
"success": false,
"message": "Validation failed",
"errors": [
{
"msg": "Phone number must be in international format (+1234567890)",
"param": "phoneNumber",
"location": "body"
}
]
}
The API has rate limits to ensure service quality:
When you exceed the limit, you'll get a 429 Too Many Requests response.
Ready to start? Get your API key and start integrating.