API overview
Base URL, headers, and request conventions for the Wazapin API.
All API requests go to https://api.wazapin.com. This page covers the conventions every integration uses.
Base URL
https://api.wazapin.com
Common headers
X-Api-Key: <api_key>(recommended)Content-Type: application/jsonAccept: application/json
Example request
curl -X GET "https://api.wazapin.com/v1/messages" \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Accept: application/json"
Example response
{
"data": [
{
"id": "msg_123",
"status": "sent",
"to": "6281234567890"
}
],
"meta": {
"next_cursor": "cursor_abc"
}
}
Versioning
- API path uses version prefix:
/v1/... - Breaking changes are released in a new major version.
Next steps
- API playground
- Switch to the API Reference tab for OpenAPI-generated endpoint pages.
- Authentication
- Error handling
- Rate limits
- Reference: contacts
- Send a message
- Channel support