Endpoints
Interactive Testing
Examples
GET /apiv2/health

System Health Check

Returns system status, version, configuration and connectivity information.

Authentication: Not required

GET /apiv2/templates?access_token=YOUR_TOKEN

List Approved Templates

Retrieves all approved WhatsApp templates with simplified structure.

Authentication: access_token as GET parameter

POST /apiv2/send/text

Send Text Message

Send text messages with optional header, footer and interactive buttons.

{ "number": "+1234567890", "message": "Hello! How are you?", "header": "Optional Header", "footer": "Optional Footer", "buttons": [ {"id": "btn1", "title": "Yes"}, {"id": "btn2", "title": "No"} ], "access_token": "YOUR_TOKEN" }
POST /apiv2/send/media

Send Media File

Send media files (image, video, audio, document) with optional caption.

{ "number": "+1234567890", "type": "image", "media_url": "https://example.com/image.jpg", "message": "Optional caption", "file_name": "filename.jpg", "access_token": "YOUR_TOKEN" }
POST /apiv2/send/template

Send Template Message

Send WhatsApp template messages with automatic structure building.

{ "number": "+1234567890", "template_id": "welcome_message", "language_code": "en", "parameters": ["John Doe", "Order #12345"], "header_media": { "url": "https://example.com/image.jpg", "filename": "document.pdf" }, "button_payloads": [null, "DISCOUNT25", null], "access_token": "YOUR_TOKEN" }

Interactive API Testing

Test endpoints directly and see how requests are structured:

Complete Practical Examples

Order Notification with Template

Template with header image, dynamic parameters and tracking button:

{ "number": "+1234567890", "template_id": "order_confirmation", "language_code": "en", "parameters": ["John Doe", "ORD-12345", "$49.99"], "header_media": { "url": "https://shop.example.com/logo.jpg" }, "button_payloads": ["TRACK_ORDER", null], "access_token": "your_token_here" }

Promotion with Discount Code

Marketing template with copy code button:

{ "number": "+1234567890", "template_id": "summer_promo", "language_code": "en", "parameters": ["Anna", "50%"], "button_payloads": [null, "SUMMER2025", null], "access_token": "your_token_here" }