Skip to content
Last updated

Build customer engagement at scale. Send WhatsApp templates, SMS, and manage live conversations — all through one unified REST API.

Get Started API Reference


Start building in minutes

Get from zero to your first delivered message in under 5 minutes. One API key, one endpoint, every channel.

curl -X POST https://api.payless4messaging.com/whatsapp-api-service/v2/messages \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channel": "WHATSAPP",
    "payload": {
      "sender": "+27123456789",
      "templateName": "seasonal_promo_text",
      "templateId": "your-template-uuid",
      "messageType": "NOTIFICATION",
      "messages": [
        {
          "recipients": [{ "to": "+27987654321", "customerUserId": "ZA.1021033720668862" }],
          "components": [
            { "type": "body", "parameters": ["John"] }
          ]
        }
      ]
    }
  }'

Response (202 Accepted):

{
  "status": "ACCEPTED",
  "message": "Request accepted",
  "requestId": "c3a1f8e2-4b6d-11ee-be56-0242ac120002",
  "channel": "WHATSAPP",
  "timestamp": "2026-01-15T10:30:00Z"
}

Channels

WhatsApp Cloud

Meta's official Cloud API. Send pre-approved templates, session messages, and media with automatic SMS fallback and real-time delivery receipts.

Messaging Guide

WhatsApp Lite

Direct connection via QR code. No template restrictions — send any message at any time, manage groups, and sync contacts.

API Reference

SMS

Direct SMS with GSM 7-bit or Unicode encoding. Also works as automatic fallback when WhatsApp delivery fails.

SMS Guide

Live Chat

Agent-based conversations with ticket management, team assignment, and full message history across WhatsApp, Web, and Facebook.

Live Chat Guide


Platform comparison

FeatureWhatsApp CloudWhatsApp LiteSMS
Template messagesYesYesN/A
Session (chat) messagesYes (24h window)Yes (unrestricted)N/A
SMS fallbackYesYesN/A
QR code connectionNoYesN/A
Group managementNoYesN/A
Contact syncNoYesN/A
Direct messagingN/AN/AYes
Typing indicatorsYesYesN/A
Delivery receiptsYesYesYes

Everything you need to build

Template Messaging

Send pre-approved WhatsApp templates with dynamic variables, media headers, interactive buttons, and multi-card carousels.

Real-time Webhooks

Get notified instantly when messages are delivered, read, or when customers reply. Five webhook types cover every event.

Conversations API

Persistent WhatsApp conversations that stay open for days or months — not limited to the standard 24-hour session window.

Analytics & Reports

Track delivery rates, message volumes, and conversation metrics. Export reports as XLSX or CSV.

Batch Messaging

Send messages at scale with configurable throttling, daily schedules, and full control to pause, resume, or cancel batches.

Contact & Ticket Management

Manage customer records, support tickets with status workflows, and block/blacklist controls — all via API.


Server environments

EnvironmentBase URLChannel
Productionhttps://api.payless4messaging.comWhatsApp Cloud
Productionhttps://api.payless4messages.comWhatsApp Lite

Explore the docs

ResourceDescription
Getting StartedSet up your account and send your first message
AuthenticationAPI key management, security, and best practices
WhatsApp MessagingTemplates, media, buttons, carousels, and SMS fallback
SMS MessagingDirect SMS, encoding, and character limits
WebhooksReal-time delivery receipts and incoming message notifications
ConversationsLong-lived WhatsApp conversations beyond 24 hours
Live ChatAgent chat, tickets, and team management
Error HandlingStatus codes, error format, and troubleshooting
Rate LimitsThroughput limits, pagination, and best practices

Need help?

Our team is here to help you integrate.