Integrations & Developer API

Connect everything you already use

Macropage Connect plugs into your existing stack — CRMs, e-commerce platforms, automation tools, and custom systems via REST API and webhooks.

5,000+

Apps via Zapier

REST API

Full programmatic access

Real-time

Webhook event push

Secure

Bearer token auth

Native integrations

Pre-built connectors — set up in minutes, no code required.

E-commerce
S

Shopify

Most Popular

Trigger WhatsApp messages from any Shopify event in real time — orders, shipping, abandoned carts, and more.

  • Order confirmation on purchase
  • Shipping & delivery updates
  • Abandoned cart recovery
  • COD confirmation prompts
  • Review request after delivery
W

WooCommerce

Connect your WordPress store and automate the full order lifecycle on WhatsApp.

  • New order notifications
  • Refund & cancellation alerts
  • Back-in-stock nudges
  • Subscription renewal reminders
R

Razorpay

Send payment confirmations and failed-payment recovery messages the instant a transaction fires.

  • Payment success confirmation
  • Failed payment retry nudge
  • Invoice delivery on WhatsApp
  • Subscription charge alerts

Build your own

Use our REST API and webhooks to connect any tool not listed here.

View API Docs
ZP

Don't see your tool?

Use Zapier or Make to connect Macropage Connect to 5,000+ apps — no code.

Browse on Zapier
REST API

Full programmatic control

Build any custom flow with our REST API. Send messages, manage contacts, pull reports, and configure webhooks — all via simple HTTP requests authenticated with a Bearer token.

https://api.macropage.in/v1

Authentication

Authorization: Bearer YOUR_API_KEY

Get your API key from Dashboard → Settings → API Keys.

POST
/messages/send

Send a free-form text or media message to a contact

POST
/messages/template

Send a Meta-approved template message with variables

GET
/contacts

List all contacts with filters (label, opt-in status)

POST
/contacts

Create or upsert a contact by phone number

GET
/templates

Fetch all approved templates for your WABA

GET
/conversations

List conversations with cursor-based pagination

POST
/webhooks

Register a webhook URL to receive real-time events

GET
/reports/campaigns

Get delivery, read, and reply stats for campaigns

curl -X POST https://api.macropage.in/v1/messages/send \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "919876543210",
    "type": "text",
    "text": {
      "body": "Hi Rahul! Your order #8821 has been shipped 🚀"
    }
  }'

Response 200

{
  "success": true,
  "message_id": "msg_9f8e7d6c",
  "status": "queued",
  "to": "919876543210"
}
Webhooks

Real-time event push

Register any HTTPS endpoint and Macropage will POST a signed JSON payload the moment an event fires — no polling needed. We retry failed deliveries up to 5 times with exponential backoff.

message.received

Customer sent a message to your WhatsApp number

message.sent

Platform successfully submitted message to Meta

message.delivered

Message delivered to customer's device

message.read

Customer opened and read the message

message.failed

Delivery failed — includes error code and reason

contact.optin

Customer opted in to receive messages

contact.optout

Customer sent STOP or opted out

conversation.opened

New 24-hour conversation window opened

template.approved

Meta approved a submitted message template

template.rejected

Meta rejected a template — includes rejection reason

Signature verification

Every payload includes an X-Macropage-Signature header — HMAC-SHA256 of the raw body using your webhook secret. Always verify before processing.

Incoming webhook payload
{
  "event": "message.received",
  "timestamp": "2026-01-15T10:32:00.000Z",
  "account_id": "waba_abc123",
  "data": {
    "message_id": "msg_9f8e7d6c",
    "from": "919876543210",
    "contact_name": "Rahul Sharma",
    "type": "text",
    "text": {
      "body": "Hi! Is my order shipped yet?"
    },
    "conversation_id": "conv_12345",
    "timestamp": "2026-01-15T10:32:00.000Z"
  }
}

Headers sent with every request

Content-Type:application/json
X-Macropage-Event:message.received
X-Macropage-Signature:sha256=abc123...
X-Macropage-Timestamp:1737030720

Ready to connect your stack?

Start your 14-day free trial and access all integrations, REST API, and webhooks from day one.

MacroBot

Online · replies instantly

Powered byMacropage ConnectWhatsApp API ✓
Hi there! 👋 I'm MacroBot, your WhatsApp automation guide. How can I help you today?

Quick questions

Chat with us 👋