Messaging
Zeplo provides a unified messaging API that lets you send every type of WhatsApp message your business needs. Whether you are sending transactional alerts, marketing promotions, or rich media content, the messaging endpoint handles it all. Supported message types include plain text, image, document, audio, video, sticker, contacts, location, and interactive messages with buttons and lists.Template Messages
Send pre-approved WhatsApp template messages for notifications, marketing, and authentication outside the 24-hour window.
Reply Messages
Respond directly to incoming customer messages within the 24-hour conversation window using free-form text and media.
Message Status
Track the lifecycle of every message with real-time status updates — sent, delivered, read, and failed.
Media Messages
Attach images, documents, audio, video, and stickers to your messages with automatic upload and hosting.
Basic Usage
- JavaScript/TypeScript
- Python
You can also send messages via cURL. All endpoints accept
Authorization: Bearer <api_key> and Content-Type: application/json headers.Message Types
Best Practices
Free-form messages can only be sent within 24 hours of the last customer message. After the window closes you must use a pre-approved template. Plan your automation flows to send critical information early in the conversation and fall back to templates when the window expires.
Every template must be submitted to Meta for approval before it can be used. Include clear, concise copy and avoid misleading content. Templates are categorized as MARKETING, UTILITY, or AUTHENTICATION — pick the right category to speed up approval.
WhatsApp enforces file size limits per media type: images up to 5 MB, documents up to 100 MB, audio up to 16 MB, video up to 16 MB, and stickers up to 100 KB. Always compress assets before uploading to avoid delivery failures.
Use WhatsApp formatting to improve readability:
*bold*, _italic_, ~strikethrough~, and `monospace`. For longer content, consider using interactive list messages to keep the UI clean and actionable.API Reference: Send Message
Explore the full request schema, response format, and error codes for the send message endpoint.
