API Documentation
Build powerful integrations with WACM.in APIs. Automate WhatsApp messaging, manage contacts, sync your eCommerce store, and more.
Overview
WACM.in provides RESTful APIs for WhatsApp Business communication and eCommerce management. All APIs use JSON for request/response payloads and require authentication via Bearer token.
Authentication
All API requests require authentication using a Bearer token. You can obtain your API token from the WACM dashboard under Settings → API.
Method 1: Authorization Header (Recommended)
GET /api/v1/contacts HTTP/1.1
Host: api.wacm.in
Authorization: Bearer your_api_token_here
Accept: application/jsonMethod 2: Query Parameter
curl "https://api.wacm.in/api/v1/contacts?token=your_api_token_here"Security Note
Always use HTTPS for API requests. Never expose your API token in client-side code or public repositories.
Rate Limiting
API requests are rate-limited to ensure fair usage. Rate limits vary by plan.
| Plan | Requests/minute | Requests/day |
|---|---|---|
| Starter | 60 | 10,000 |
| Professional | 300 | 100,000 |
| Enterprise | 1,000 | Unlimited |
When rate limited, you will receive a 429 Too Many Requests response with a Retry-After header indicating how long to wait.
Base URL
https://api.wacm.in/api/v1Quick Reference
Overview of all available endpoints.
WhatsApp Business API
/contactsList all contacts
/contactsCreate a new contact
/contacts/{id}Get contact details
/contacts/{id}Update contact information
/messages/textSend text message
/messages/templateSend template message
/messages/listSend list message
/templatesList message templates
/campaignsList campaigns
/campaigns/sendSend campaign
eCommerce API
/productsList all products
/productsCreate a new product
/products/{id}Get product details
/products/{id}Update product
/products/{id}Delete product
/categoriesList categories
/categoriesCreate category
/ordersList orders
/orders/{id}Get order details
/orders/{id}/statusUpdate order status
Need Help?
Can't find what you're looking for? Our team is here to help you integrate.