WappBlaster API Documentation
Build custom integrations with our comprehensive API
Contents
Introduction
The WappBlaster API allows you to integrate WhatsApp messaging capabilities into your applications. With our API, you can send messages, manage contacts, track conversations, and automate workflows.
Our RESTful API uses standard HTTP response codes, authentication, and verbs. All responses are returned in JSON format.
Base URL
https://api.wappblaster.com/v1Authentication
All API requests must include an API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYNever expose your API key in client-side code. Always make API calls from your server.
API Endpoints
/messagesSend a WhatsApp message
Send a text, image, or template message to a WhatsApp number.
Example Request
fetch('https://api.wappblaster.com/v1/messages', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
recipient: '+1234567890',
type: 'text',
content: {
text: 'Hello from WappBlaster API!'
}
})
})/contactsList contacts
Retrieve a list of all contacts in your WappBlaster account.
/conversationsList conversations
Retrieve a list of conversations with detailed message history.
Webhooks
Webhooks allow your application to receive real-time notifications about events in your WappBlaster account. Configure webhooks to be notified when messages are received, delivered, read, and more.
Webhook Events
- message.received - When a new message is received
- message.sent - When a message is sent
- message.delivered - When a message is delivered
- message.read - When a message is read
- contact.created - When a new contact is created
- contact.updated - When a contact is updated
SDKs & Libraries
We provide official client libraries for popular programming languages to make integration easier.
Rate Limits
To ensure the stability of our API, we enforce rate limits on API requests. The limits vary based on your plan:
| Plan | Requests per minute | Messages per day |
|---|---|---|
| Starter | 60 | 1,000 |
| Professional | 120 | 5,000 |
| Enterprise | 300 | Unlimited |
Code Examples
Send a text message
Send a template message
Need help with integration?
Our developer support team is ready to help you implement WappBlaster in your application.
