WACM.in Logo
Developer API v1

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)

Request Header
GET /api/v1/contacts HTTP/1.1
Host: api.wacm.in
Authorization: Bearer your_api_token_here
Accept: application/json

Method 2: Query Parameter

cURL
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.

PlanRequests/minuteRequests/day
Starter6010,000
Professional300100,000
Enterprise1,000Unlimited

When rate limited, you will receive a 429 Too Many Requests response with a Retry-After header indicating how long to wait.

Base URL

Base URL
https://api.wacm.in/api/v1

Quick Reference

Overview of all available endpoints.

WhatsApp Business API

GET
/contacts

List all contacts

POST
/contacts

Create a new contact

GET
/contacts/{id}

Get contact details

PUT
/contacts/{id}

Update contact information

POST
/messages/text

Send text message

POST
/messages/template

Send template message

POST
/messages/list

Send list message

GET
/templates

List message templates

GET
/campaigns

List campaigns

POST
/campaigns/send

Send campaign

eCommerce API

GET
/products

List all products

POST
/products

Create a new product

GET
/products/{id}

Get product details

PUT
/products/{id}

Update product

DELETE
/products/{id}

Delete product

GET
/categories

List categories

POST
/categories

Create category

GET
/orders

List orders

GET
/orders/{id}

Get order details

PUT
/orders/{id}/status

Update order status

Need Help?

Can't find what you're looking for? Our team is here to help you integrate.