# eCommunicate Omnichannel Integration API

# Overview
The eCommunicate Omnichannel Integration API lets you send and receive messages across **WhatsApp Cloud**, **WhatsApp Lite**, and **SMS** from a single platform. Use it to send template notifications, handle live customer conversations, manage contacts, track delivery, and download reports.
## Quick start
1. **Get your API key**
 — call
`POST /authenticate/retrieveApiKey`
 with your email, password, and client reference. No existing key required.
2. **Send a message**
 —
`POST /v2/messages`
 with your template and recipient. The response returns a
`requestId`
 for tracking.
3. **Track delivery**
 — configure a
[webhook](#tag/Webhook-Configuration)
 or poll
`GET /message/status/gstid`
.

## Authentication
Every request requires your **Developer Key** (a UUID) in the `Authorization` header. No `Bearer` prefix — pass the key directly.

```
Authorization: a1b2c3d4-e5f6-7890-abcd-ef1234567890
```
## Platform comparison
| Capability | WhatsApp Cloud | WhatsApp Lite | SMS |
|  --- | --- | --- | --- |
| Template messages | Yes | Yes | — |
| Session (chat) messages | Yes (24-hour window) | Yes (any time) | — |
| SMS fallback | Yes | Yes | — |
| QR code connection | — | Yes | — |
| Groups | — | Yes | — |
| Contacts sync | — | Yes | — |
| Direct SMS | — | — | Yes |

## Messaging rules
- **Notification messages**
 require
`templateName`
 and
`templateId`
. Templates must be approved by Meta before use.
- **Body parameters**
 — if your template body contains
`{{1}}`
,
`{{2}}`
, etc., include a
`body`
 component with matching parameters.
- **Media templates**
 require a
`header`
 component specifying the format (
`IMAGE`
,
`VIDEO`
,
`DOCUMENT`
) and a media URL.
- **Button templates**
 require a
`button`
 component with the button index and parameter values.
- **Carousel templates**
 require a
`carousel`
 component containing a
`cards`
 array, each with its own header, body, and buttons.
- **Chat messages**
 (
`messageType: CHAT`
) can only be sent within the 24-hour customer service window on WhatsApp Cloud. WhatsApp Lite has no window restriction.

## SMS encoding
| Encoding | Flag | Chars per part | Multipart chars | Best for |
|  --- | --- | --- | --- | --- |
| GSM 7-bit | `unicode: false` | 160 | 153 | English, basic Latin |
| Unicode | `unicode: true` | 70 | 67 | Emoji, non-Latin scripts |

## Webhooks
Configure webhook URLs to receive real-time events:
- **Incoming messages**
 (
`incomingMessageURL`
) — customer messages with text, media, location, buttons, reactions, or contacts.
- **Status updates**
 (
`statusUpdateURL`
) — delivery receipts tracking the lifecycle:
`ACCEPTED`
 →
`SENT`
 →
`DELIVERED`
 →
`READ`
 →
`PLAYED`
 (or
`FAILED`
).
- **Session status**
 (
`sessionStatusURL`
) — WhatsApp Lite connection state changes.
- **Platform events**
 (
`eventWebhookURL`
) — template approvals/rejections, quality rating changes, user preferences, number migrations.
- **Chatbot conversations**
 (
`chatbotWebhookURL`
) — chatbot conversation events with chat participant context (participant id, conversation status, agent assignment). Optionally include outgoing bot replies and/or stop emitting once a chat is assigned to a human agent.

Each configuration applies at one of two scopes: a **client default** (`whatsAppNumberId` omitted) covering every WhatsApp number under your client, or a **per-number override** (`whatsAppNumberId` set) targeting one specific number. The platform resolves overrides first and falls back to the default at dispatch time.
## WhatsApp account and number health
> **Applies to: WhatsApp Cloud API only.** WhatsApp Lite numbers are not subject to Meta's quality rating system, messaging tiers, or template review process.

Maintaining good account health is critical for reliable message delivery. Meta monitors how recipients interact with your messages and assigns quality ratings that directly affect your sending capacity.
### Summary of proactive steps to prevent your marketing WhatsApp number from being blocked
Take these steps to protect your WhatsApp number's sending ability:
1. **Set up quick replies for opt-out** — Configure a quick reply that allows recipients to indicate they want to stop receiving marketing messages. When you receive an opt-out request, immediately remove the recipient's WhatsApp number from the marketing campaign. The goal is to handle opt-outs before the recipient clicks "Block" or reports the message to Meta, which could result in Meta restricting or blocking your WhatsApp number from sending messages.
2. **Monitor the `user_preferences` webhook** — Continuously check the `user_preferences` webhook for changes to the `PREFERENCE` field. Possible values:
  - `stop`
 — The WhatsApp user has opted to stop receiving marketing messages from you.
  - `resume`
 — The WhatsApp user has opted to resume receiving marketing messages from you.
When a `stop` preference is received, immediately remove the recipient from all active marketing campaigns. See Meta reference: [user_preferences webhook reference](https://developers.facebook.com/documentation/business-messaging/whatsapp/webhooks/reference/user_preferences).
3. **Monitor the `phone_number_quality_update` webhook** — Track quality updates for your WhatsApp marketing number. You may receive downgrades where `MAX_DAILY_MESSAGES_LIMIT` drops as low as `TIER_50` (a messaging limit of 50 recipients). After a downgrade, quality can recover and upgrade to `TIER_100K` (100,000 recipients) or `TIER_UNLIMITED`. If you receive a downgrade, urgently verify that all recipients who have indicated they do not want to receive WhatsApp messages have been removed from your campaigns. See Meta reference: [phone_number_quality_update webhook reference](https://developers.facebook.com/documentation/business-messaging/whatsapp/webhooks/reference/phone_number_quality_update).

### Quality ratings
Each WhatsApp number has a quality rating based on recipient feedback:
| Rating | Meaning | Impact |
|  --- | --- | --- |
| **High** | Little to no recipient dissatisfaction | Full sending capacity |
| **Medium** | Some recipient dissatisfaction detected | Monitor and adjust content |
| **Low** | High recipient dissatisfaction | Flagged status — limited ability to start new conversations |

When a number drops to **Low** quality, it enters a **Flagged** status. If quality improves within 7 days, the status resets to **Connected**. Continued poor quality may result in further restrictions or suspension.
Quality ratings and messaging limits are applied **per phone number**, but policy violations on any number affect the entire WhatsApp Business Account (WABA).
### Messaging limit tiers
Your messaging limit determines how many unique customers you can message within a 24-hour period:
| Tier | Unique customers per 24 hours |
|  --- | --- |
| `TIER_1K` | 1,000 |
| `TIER_10K` | 10,000 |
| `TIER_100K` | 100,000 |

Meta automatically increases your tier when you consistently send high-quality messages. Conversely, poor quality ratings can reduce your tier.
### Monitoring health
Use the following to monitor your number and template health:
- **Number Health**
 —
`GET /payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getForCurrentLoginUser`
 returns
`qualityRating`
,
`messagingLimitTier`
, and
`lastQualityUpdateTime`
 for each number.
- **Template health**
 —
`GET /whatsapp-api-service/whatsAppTemplates/getWhatsAppClientTemplates`
 returns the quality status for each template per number.
- **Webhooks**
 — configure an
`eventWebhookURL`
 to receive real-time
`phone_number_quality_update`
 and
`message_template_status_update`
 events.
- **Meta Business Manager**
 — check the Phone Number Quality and Template Quality columns directly in the WhatsApp Manager.

### Template quality best practices
Meta reviews every template before approval. To maintain high template quality:
- **Be explicit**
 — the recipient must have opted in to receive the message.
- **Be timely**
 — send shortly after user engagement, not weeks later.
- **Be relevant**
 — personalise content, keep it useful, and include a clear call to action.
- **Use descriptive names**
 — name templates like
`order_confirmation`
 or
`appointment_reminder`
, not
`template_01`
.
- **Avoid common rejection reasons**
 — vague content, incorrect language tags, overuse of emojis or excessive promotional tone, and malformed parameters (
`{{1}}`
,
`{{2}}`
).
- **Choose the correct category**
 — do not mix marketing and utility content in a single template.

### Opt-out compliance for marketing templates
Marketing templates **must** include an opt-out mechanism. This is a Meta policy requirement that directly impacts your account health.
**Requirements:**
- Include a
**quick-reply opt-out button**
 (e.g. "Stop promotions") in your marketing templates, especially for:
  - The first message of a new campaign
  - Messages sent after a long gap in marketing communication
  - Messages sent to inactive or re-engaged users
- **Honour opt-out requests immediately**
 across all numbers on your account.

**Recognised opt-out keywords:** When a recipient replies with any of the following words, eCommunicate automatically treats it as an opt-out: `STOP`, `END`, `CANCEL`, `UNSUBSCRIBE`, `QUIT`.
**How eCommunicate handles opt-outs:**
- When a recipient opts out, eCommunicate
**automatically blocks that number**
 — no further marketing messages will be sent to it.
- You can query blocked numbers via
`GET /payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/getForCurrentLoginUser`
 to see all opt-out blocks.
- If a recipient opts back in, remove them from the blocked list to resume messaging.

**Why this matters:**
- **Reduces block rate**
 — recipients who can opt out gracefully are far less likely to block or report your number, which is the primary signal Meta uses to downgrade quality ratings.
- Prevents campaigns from being flagged or paused by Meta.
- Enables faster messaging limit tier upgrades.
- Ensures compliance with Meta's messaging policies.

### Account ownership
The WABA must be owned by the business sending the messages. Do not add unrelated businesses to your Meta Business Portfolio. Violations result in account restriction or suspension.
## Rate limits & pagination
API rate limits return `429 Too Many Requests` — implement exponential backoff. All list endpoints use page-based pagination with `page` (zero-based) and `size` parameters. See the [Rate Limits guide](/guides/rate-limits) for details.
## Support
Contact [support@ecommunicate.co.za](mailto:support@ecommunicate.co.za) for account issues, rate limit increases, or integration help. Always include the `requestId` from API responses when reporting issues.

Version: 3.0.0
License: Apache 2.0

## Servers

Live — WhatsApp Cloud Server URL
```
https://api.payless4messaging.com
```

Live — WhatsApp Lite Server URL
```
https://api.payless4messages.com
```

## Security

### apikeyAuth

Developer API key provided by eCommunicate.

Type: apiKey
In: header
Name: Authorization

### groupSummaryWebhookKey

The `webhookApiKey` you saved in a group's AI summary settings, sent as-is when eCommunicate calls your API. Left out when no key is saved.

Type: apiKey
In: header
Name: Authorization

## Download OpenAPI description

 - [eCommunicate Omnichannel Integration API](https://docs.ecommunicate.co.za/_bundle/apis/omnichannel.yaml)

## Client Management

 - [GET /payless4messaging-service/WhatsApp/api/v1/clients/me](https://docs.ecommunicate.co.za/apis/omnichannel/client-management/getmyclient.md): Returns the authenticated caller's own client as a `ClientResponse` — reference, display name, balances, country, and feature flags, with **no credentials**. The SMS gateway password is never returned
 - [GET /payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/children](https://docs.ecommunicate.co.za/apis/omnichannel/client-management/listchildren.md): Returns a paginated list of the child clients belonging to the given parent, as credential-free `ClientResponse` records. Use `searchString` to filter by client reference or email.
 - [POST /payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/children](https://docs.ecommunicate.co.za/apis/omnichannel/client-management/createchild.md): Creates a client under the parent named in the path. Anything the request leaves blank is inherited from the parent — account type, pricing model, country, timezone, and opening balances.
 - [PUT /payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/sms-fallback](https://docs.ecommunicate.co.za/apis/omnichannel/client-management/setsmsfallback.md): Configures SMS fallback for the given client. When enabled, an SMS is sent automatically if the recipient is not on WhatsApp or WhatsApp delivery fails. The gateway password is **write-only**: it is n
 - [PUT /payless4messaging-service/WhatsApp/api/v1/clients/me/popia-compliance](https://docs.ecommunicate.co.za/apis/omnichannel/client-management/setpopiacompliance.md): Enables or disables POPIA (Protection of Personal Information Act) compliance for your own account. When enabled, the platform enforces South African data protection requirements on message handling a
 - [GET /payless4messaging-service/WhatsApp/Client/getForCurrentLoginUser](https://docs.ecommunicate.co.za/apis/omnichannel/client-management/getcurrentclient.md): **Deprecated.** Returns the full client record, including the SMS gateway password. Use [Get my client](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/client-management/getmyclient) (`GET
 - [POST /payless4messaging-service/WhatsApp/Client/createChildClient](https://docs.ecommunicate.co.za/apis/omnichannel/client-management/createchildclient.md): **Deprecated.** Takes the parent in the request body. Use [Create a child client (v1)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/client-management/createchild) (`POST /api/v1/clients/
 - [GET /payless4messaging-service/WhatsApp/Client/getChildClient](https://docs.ecommunicate.co.za/apis/omnichannel/client-management/getchildclients.md): **Deprecated.** Takes the parent as a query parameter and returns full client records. Use [List child clients (v1)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/client-management/listch
 - [POST /payless4messaging-service/WhatsApp/Client/updateClientSMSFallback](https://docs.ecommunicate.co.za/apis/omnichannel/client-management/updatesmsfallback.md): **Deprecated.** Takes a whole client object, so an omitted `smsPassword` blanks the stored one. Use [Configure SMS fallback (v1)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/client-mana
 - [POST /payless4messaging-service/WhatsApp/Client/updatePopiaCompliance](https://docs.ecommunicate.co.za/apis/omnichannel/client-management/updatepopiacompliance.md): **Deprecated.** Accepts a whole client object but only ever updates your own account, whatever client is in the payload. Use [Set POPIA compliance (v1)](https://ecommunicate-api-docs.redocly.app/apis/
## User Management

 - [GET /payless4messaging-service/WhatsApp/api/v1/users/me](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getme.md): Returns the authenticated caller's own profile as a credential-free `UserResponse`.
 - [GET /payless4messaging-service/WhatsApp/api/v1/users](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/listclientusers.md): Returns every user in the authenticated client's organization as a lean summary — id, name, email, role, live-chat role, avatar, and availability — with **no credentials or secrets**. Use this to popu
 - [POST /payless4messaging-service/WhatsApp/api/v1/users](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/createuser.md): Create an organization user. Takes **no password** — a one-time temporary password is generated and returned once in the response; the user must set their own password on first login. The client is ta
 - [PUT /payless4messaging-service/WhatsApp/api/v1/users](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/updateuser.md): Update an organization user's profile, identified by `id`. Carries no credentials and returns a credential-free `UserResponse`.
 - [DELETE /payless4messaging-service/WhatsApp/api/v1/users/{id}](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/deleteuser.md): Soft-deletes an organization user, identified by `id`: the user is disabled, signed out, and removed from any teams, but the record is retained. Carries no credentials.
 - [GET /payless4messaging-service/WhatsApp/api/v1/users/page](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getuserspage.md): Retrieve a paginated list of a client's users as credential-free `UserResponse` records.
 - [PUT /payless4messaging-service/WhatsApp/api/v1/users/availability](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/changeavailability.md): Toggle the authenticated agent's online/offline status; returns a credential-free `UserResponse`.
 - [PUT /payless4messaging-service/WhatsApp/api/v1/users/agent-chat-limit](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/setagentchatlimit.md): Set the maximum number of concurrent chats an agent can handle for the given client.
 - [POST /payless4messaging-service/WhatsApp/api/v1/users/me/password/change](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/changemypassword.md): Change the authenticated caller's own password. Requires old password, new password, and confirmation.
 - [GET /payless4messaging-service/WhatsApp/api/v1/users/me/credits](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getmycredits.md): Retrieve the WhatsApp credit balance for the authenticated caller.
 - [POST /payless4messaging-service/WhatsApp/SystemUsers](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/createsystemuser.md): **Deprecated.** Accepts and returns credential-bearing `SystemUser` fields. Use [Create a user](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/createuser) (`POST /api/v1/us
 - [PUT /payless4messaging-service/WhatsApp/SystemUsers](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/updatesystemuser.md): **Deprecated.** Accepts and returns credential-bearing `SystemUser` fields. Use [Update a user](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/updateuser) (`PUT /api/v1/use
 - [GET /payless4messaging-service/WhatsApp/SystemUsers/getCurrentLoginSystemUser](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getcurrentuser.md): **Deprecated.** Returns credential-bearing `SystemUser` fields. Use [Get my profile](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/getme) (`GET /api/v1/users/me`), which r
 - [GET /payless4messaging-service/WhatsApp/SystemUsers/getCurrentClientUsers](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getclientusers.md): **Supervisor-only.** Returns the full `SystemUser` records for the client (including credential-bearing fields), so it is restricted to callers with the supervisor role and returns `403` otherwise. Fo
 - [GET /payless4messaging-service/WhatsApp/SystemUsers/getUsersForClient](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getusersforclient.md): **Deprecated.** Returns credential-bearing `SystemUser` records. Use [List users (paginated)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/getuserspage) (`GET /api/v1/use
 - [PUT /payless4messaging-service/WhatsApp/SystemUsers/changeAvailableStatus](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/changeavailabilitystatus.md): **Deprecated.** Returns credential-bearing `SystemUser` fields. Use [Change availability](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/changeavailability) (`PUT /api/v1/u
 - [PUT /payless4messaging-service/WhatsApp/SystemUsers/updateAgentChatLimit](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/updateagentchatlimit.md): **Deprecated.** Use [Set agent chat limit](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/setagentchatlimit) (`PUT /api/v1/users/agent-chat-limit`). Behaviour is identical.
 - [POST /payless4messaging-service/WhatsApp/SystemUsers/changePassword](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/changepassword.md): **Deprecated.** Use [Change my password](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/changemypassword) (`POST /api/v1/users/me/password/change`). Behaviour is identical.
 - [GET /payless4messaging-service/WhatsApp/SystemUsers/getWhatsAppCreditsForCurrentLoginUser](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getwhatsappcreditsforcurrentloginuser.md): **Deprecated.** Use [Get my WhatsApp credits](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/getmycredits) (`GET /api/v1/users/me/credits`). Behaviour is identical.
## API Key Management

 - [POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey](https://docs.ecommunicate.co.za/apis/omnichannel/api-key-management/retrieveapikey.md): Retrieve your Developer API key by authenticating with your account credentials. This is the recommended first step for new integrations — it does **not** require an existing API key. Send your accoun
 - [POST /payless4messaging-service/WhatsApp/SystemUsers/generateAPIKey](https://docs.ecommunicate.co.za/apis/omnichannel/api-key-management/generateapikey.md): Generates a new Developer API key. **Warning:** This invalidates the previous key immediately. All integrations using the old key will stop working.
## Team Management

 - [POST /pl4chat-service/team/add](https://docs.ecommunicate.co.za/apis/omnichannel/team-management/createteam.md): Create a new team for organizing agents. Specify the team name, supervisor, and client reference.
 - [POST /pl4chat-service/team/update](https://docs.ecommunicate.co.za/apis/omnichannel/team-management/updateteam.md): Update a team's name, supervisor, or other properties.
 - [POST /pl4chat-service/team/remove](https://docs.ecommunicate.co.za/apis/omnichannel/team-management/removeteam.md): Permanently delete a team. Members are unassigned but their user accounts are not affected.
 - [GET /pl4chat-service/team/list/{clientRef}](https://docs.ecommunicate.co.za/apis/omnichannel/team-management/getteams.md): Retrieve all teams for a client reference.
 - [GET /pl4chat-service/team/{id}](https://docs.ecommunicate.co.za/apis/omnichannel/team-management/getteambyid.md): Retrieve a single team's details by its UUID.
 - [GET /pl4chat-service/team/members/{teamId}](https://docs.ecommunicate.co.za/apis/omnichannel/team-management/getteammembers.md): Retrieve all members assigned to a specific team.
 - [GET /pl4chat-service/team/free-members/{clientRef}/{teamId}](https://docs.ecommunicate.co.za/apis/omnichannel/team-management/getfreemembersforteam.md): List users who are not currently assigned to the specified team. Useful for populating an 'add member' interface.
 - [POST /pl4chat-service/team/add-member](https://docs.ecommunicate.co.za/apis/omnichannel/team-management/addteammember.md): Assign a user to a team.
 - [POST /pl4chat-service/team/remove-member](https://docs.ecommunicate.co.za/apis/omnichannel/team-management/removeteammember.md): Remove a user from a team without deleting their account.
 - [GET /pl4chat-service/team/names/{clientRef}](https://docs.ecommunicate.co.za/apis/omnichannel/team-management/getteamnames.md): Retrieve a lightweight list of team names for a client. Useful for populating dropdown selectors.
 - [GET /pl4chat-service/team/supervisors/{clientRef}](https://docs.ecommunicate.co.za/apis/omnichannel/team-management/getsupervisors.md): Retrieve all users with the supervisor role for a client.
 - [GET /pl4chat-service/team/agents/{clientRef}](https://docs.ecommunicate.co.za/apis/omnichannel/team-management/getagents.md): Retrieve all users with the agent role for a client.
## Balance & Billing

 - [GET /payless4messaging-service/WhatsApp/Billing/getCostForCurrentLoginUser](https://docs.ecommunicate.co.za/apis/omnichannel/balance-and-billing/getbillingcosts.md): Retrieve the current messaging cost configuration for your account, including per-message rates by channel and message type.
 - [GET /whatsapp-api-service/SMSBalance/getClientBalance](https://docs.ecommunicate.co.za/apis/omnichannel/balance-and-billing/getsmsbalance.md): Check your current SMS credit balance. Use this before sending SMS campaigns to verify sufficient credits are available.
 - [GET /payless4messaging-service/WhatsApp/WhatsAppClientBalanceHistory/getForCurrentClient](https://docs.ecommunicate.co.za/apis/omnichannel/balance-and-billing/getbalancehistory.md): Retrieve a paginated history of balance transactions including top-ups, message costs, and adjustments.
## Messaging

 - [POST /whatsapp-api-service/v2/messages](https://docs.ecommunicate.co.za/apis/omnichannel/messaging/sendunifiedmessage.md): The primary messaging endpoint — routes to WhatsApp or SMS based on the `channel` field in the request body. Set `channel` to `WHATSAPP` for template notifications and session messages, or `SMS` for d
 - [POST /whatsapp-api-service/v2/channels/whatsapp](https://docs.ecommunicate.co.za/apis/omnichannel/messaging/sendwhatsapp.md): Send WhatsApp template notifications and session (chat) messages directly to the WhatsApp channel. Use this endpoint when you only need WhatsApp delivery without the unified routing layer. **Template
 - [POST /whatsapp-api-service/v2/channels/sms](https://docs.ecommunicate.co.za/apis/omnichannel/messaging/sendsms.md): Send SMS messages directly through the SMS gateway. Each message in the `messages` array specifies a recipient, text content, and optional tracking ID (`ctId`). Set `unicode: true` for messages contai
## WhatsApp Number Management

 - [GET /payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getForCurrentLoginUser](https://docs.ecommunicate.co.za/apis/omnichannel/whatsapp-number-management/getclientnumbers.md): Retrieve a paginated list of WhatsApp numbers assigned to your account. Each number includes its provider type (Cloud or Lite), quality rating, messaging tier, and connection status.
 - [GET /payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getAllForCurrentLoginUser](https://docs.ecommunicate.co.za/apis/omnichannel/whatsapp-number-management/getallclientnumbers.md): Returns all WhatsApp numbers assigned to your account in a single response without pagination. Useful for populating dropdown selectors or syncing your local number list. For large accounts, prefer th
 - [POST /payless4messaging-service/WhatsApp/WhatsAppClientNumbers/registerWLNumber](https://docs.ecommunicate.co.za/apis/omnichannel/whatsapp-number-management/registerwlnumber.md): Register a WhatsApp Lite number and assign it to the authenticated user's client. The provider is set to `WL` and the billing model to `message`. If `hostingType` is omitted, it defaults to `WHATSAPP_
## Template Management

 - [POST /whatsapp-api-service/whatsAppTemplates/createTemplate](https://docs.ecommunicate.co.za/apis/omnichannel/template-management/createtemplate.md): Submit a new WhatsApp message template for Meta approval. The template is validated locally and forwarded to Meta's template review process. Approval typically takes minutes but can take up to 24 hour
 - [PUT /whatsapp-api-service/whatsAppTemplates/updateTemplate](https://docs.ecommunicate.co.za/apis/omnichannel/template-management/updatetemplate.md): Update components of an existing template. The `templateRequest` field must contain the stringified JSON of the new template structure. **Important:** This endpoint performs a full entity save. You mu
 - [DELETE /whatsapp-api-service/whatsAppTemplates/deleteTemplate/{templateId}](https://docs.ecommunicate.co.za/apis/omnichannel/template-management/deletetemplate.md): Permanently delete a WhatsApp template by its ID. This removes the template from both eCommunicate and Meta. Deleted templates cannot be recovered — create a new template if needed.
 - [GET /whatsapp-api-service/whatsAppTemplates/approvalRequest](https://docs.ecommunicate.co.za/apis/omnichannel/template-management/gettemplatestatus.md): Check the current approval status of a template. Returns the template details including status (`pending`, `approved`, `rejected`), rejection reason (if applicable), and the full template structure.
 - [GET /whatsapp-api-service/whatsAppTemplates/getWhatsAppClientTemplates](https://docs.ecommunicate.co.za/apis/omnichannel/template-management/getclienttemplates.md): Retrieve a paginated list of all WhatsApp templates for your account. Use searchString to filter by template name, category, language code, or approval status. Results are sorted by sortField (default
## Resend Messages

 - [POST /payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/resendSelectedMessages](https://docs.ecommunicate.co.za/apis/omnichannel/resend-messages/resendselectedmessages.md): Resend specific failed messages by their IDs.
 - [POST /payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/resendAllMessages](https://docs.ecommunicate.co.za/apis/omnichannel/resend-messages/resendallmessages.md): Resend all failed messages matching the given filters (date range, template, status).
## Live Chat

 - [GET /pl4chat-service/api/v2/chats](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/listchatsv2.md): Paginated chat list for the authenticated agent, selected by `scope`. The agent and client are resolved from your API key / session. Returns a lean `ChatParticipantResponse` page and replaces the depr
 - [GET /pl4chat-service/api/v2/chats/{id}](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getchatv2.md): Fetch a single chat as a lean `ChatParticipantResponse`. Tenant-checked.
 - [POST /pl4chat-service/api/v2/chats/{id}/terminate](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/terminatechatv2.md): Close the conversation (and trigger the rating widget if configured). Takes only the chat id — the closing agent is resolved from your API key / session. Replaces toggling `conversationClosed` on the
 - [POST /pl4chat-service/api/v2/chats/{id}/open](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/openchatv2.md): Reopen a previously closed conversation and assign it to the calling agent (resolved from your API key / session). Replaces toggling `conversationClosed=false` on the deprecated [Terminate or reopen a
 - [POST /pl4chat-service/api/v2/chats/{id}/take](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/takechatv2.md): Claim a chat that is waiting in the unassigned inbox and assign it to the calling agent (resolved from your API key / session). The assignment is atomic: if two agents take the same chat at once, one
 - [GET /pl4chat-service/ChatParticipant/system/tickets](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getsystemticketnumbersbydate.md): Retrieve global system tracking numbers (gstn) from chat participants created within the specified date range. The client is resolved from the authenticated user's API key or session.
 - [GET /pl4chat-service/api/v2/messages/tracking/{trackingNumber}](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getmessagesbytrackingnumberv2.md): Retrieve the conversation history for a tracking number (GSTN or CTN) as lean `MessageResponse` objects, scoped to your client. Replaces the deprecated [Get chat messages by tracking number](https://e
 - [GET /pl4chat-service/api/v2/messages/ctid/{ctId}](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getmessagebyctidv2.md): Look up a single message by its custom tracking id (`ctId`) as a lean `MessageResponse`. Tenant-checked — returns `404` if the message does not belong to your client.
 - [GET /pl4chat-service/api/v2/messages](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getmessagesv2.md): Retrieve the messages for a chat participant as a lean, curated payload (`MessageResponse`) — only the fields a live-chat UI needs, plus the quoted-reply context (`quotedExternalMessageId`, `quotedTex
 - [POST /pl4chat-service/api/v2/messages](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/sendmessagev2.md): Send an agent reply on any channel through a single endpoint. The target channel is set via the `channel` field (`WHATSAPP`, `WEB`, or `FACEBOOK`) and routing is handled server-side — replacing the pe
 - [POST /pl4chat-service/api/v2/messages/media](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/uploadmediav2.md): Upload a media file and receive a hosted `mediaUrl` (plus the detected `mediaType`) to attach to a [Send an agent message](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/sendmess
 - [POST /pl4chat-service/api/v2/messages/typing](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/sendtypingindicatorv2.md): Show a typing indicator to the customer. The sender/recipient are resolved from the participant — you only pass `participantId` (and optionally the last inbound `messageId`, which the server otherwise
 - [POST /pl4chat-service/api/v2/messages/read](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/markasreadv2.md): Mark the participant's conversation as read — clears the unread badge and sends a read receipt to the customer. Pass `participantId` (and optionally the last inbound `messageId`, which the server othe
 - [GET /pl4chat-service/ChatParticipant](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getchatparticipants.md): **Deprecated.** Use [List chats (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2), which returns a lean `ChatParticipantResponse` and selects the list with a `sco
 - [GET /pl4chat-service/Message/trackingNumber/{trackingNumber}](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getchatmessagesbytrackingnumber.md): **Deprecated.** Use [Get messages by tracking number (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/getmessagesbytrackingnumberv2), which returns the lean `MessageResponse`
 - [GET /pl4chat-service/Message/getMessagesByChatParticipant](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getmessagesbychatparticipant.md): **Deprecated.** Use [Get messages for a chat participant (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/getmessagesv2) instead, which returns a leaner curated payload (`Mes
 - [GET /pl4chat-service/ChatParticipant/getUnAssignedParticipants](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getunassignedparticipants.md): **Deprecated.** Use [List chats (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2) with `scope=unassigned`. Retained for existing integrations.
 - [GET /pl4chat-service/ChatParticipant/getMyParticipants](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getmyparticipants.md): **Deprecated.** Use [List chats (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2) with `scope=my`. Retained for existing integrations.
 - [GET /pl4chat-service/ChatParticipant/getTeamParticipants](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getteamparticipants.md): **Deprecated.** Use [List chats (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2) with `scope=team`. Retained for existing integrations.
 - [GET /pl4chat-service/ChatParticipant/getClosedParticipants](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getclosedparticipants.md): **Deprecated.** Use [List chats (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2) with `scope=closed`. Retained for existing integrations. Retrieve conversations
 - [GET /pl4chat-service/ChatParticipant/getMissedParticipants](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getmissedparticipants.md): **Deprecated.** Use [List chats (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2) with `scope=missed-agent`. Retained for existing integrations. Retrieve conversa
 - [GET /pl4chat-service/ChatParticipant/getMissedAfterHoursParticipants](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getmissedafterhoursparticipants.md): **Deprecated.** Use [List chats (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2) with `scope=missed-after-hours`. Retained for existing integrations.
 - [GET /pl4chat-service/ChatParticipant/getMyMissedParticipants](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getmymissedparticipants.md): **Deprecated.** Use [List chats (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2) with `scope=my-missed`. Retained for existing integrations.
 - [GET /pl4chat-service/ChatParticipant/getChatParticipantsByAssignedTo](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/getparticipantsbyassignedto.md): **Deprecated.** Use [List chats (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2) with `scope=my`. v2 resolves the agent from your API key / session, so it return
 - [PUT /pl4chat-service/ChatParticipant/terminateChatParticipantChat](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/terminatechatparticipantchat.md): **Deprecated.** Use [Terminate a chat (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/terminatechatv2) or [Reopen a chat (v2)](https://ecommunicate-api-docs.redocly.app/apis
 - [POST /pl4chat-service/Message/sendMessageWhatsapp](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/sendagentmessagewhatsapp.md): **Deprecated.** Use the unified [Send an agent message (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/sendmessagev2) with `channel: WHATSAPP` — one endpoint covers all chan
 - [POST /pl4chat-service/Message/sendMessageWithAttachment](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/sendagentmessagewithattachment.md): **Deprecated.** Upload media via [Upload media for an agent message (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/uploadmediav2) then send the returned `mediaUrl` with [Se
 - [POST /pl4chat-service/Message/sendTypingIndicator](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/sendchattypingindicator.md): **Deprecated.** Use [Send typing indicator (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/sendtypingindicatorv2), which resolves sender/recipient from the participant (you
 - [POST /pl4chat-service/Message/markReadByAgent](https://docs.ecommunicate.co.za/apis/omnichannel/live-chat/markreadbyagent.md): **Deprecated.** Use [Mark a conversation as read (v2)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/markasreadv2), which clears the unread badge and sends the read receipt for
## Tickets

 - [GET /pl4chat-service/ticket/client/{clientRef}](https://docs.ecommunicate.co.za/apis/omnichannel/tickets/getticketsbyclientref.md): Retrieve all tickets for a given client reference, including rating information.
 - [GET /pl4chat-service/ticket/by-ticket-number](https://docs.ecommunicate.co.za/apis/omnichannel/tickets/getticketbyticketnumber.md): Retrieve a single ticket by its ticket number.
 - [GET /pl4chat-service/ticket/search](https://docs.ecommunicate.co.za/apis/omnichannel/tickets/filterticketsbycriteria.md): Search and filter tickets with pagination. Supports filtering by date range, WhatsApp number, rating, ticket number, agent, client ref, and status.
 - [PUT /pl4chat-service/ticket/{ticketId}/status](https://docs.ecommunicate.co.za/apis/omnichannel/tickets/updateticketstatus.md): Update the status of an existing ticket.
 - [GET /pl4chat-service/ticket/getTicketEmailEntitiesByCustomerWhatsappNumberAndClientWhatsappNumber](https://docs.ecommunicate.co.za/apis/omnichannel/tickets/getticketsbycustomerandclientwhatsappnumber.md): Retrieve all ticket entities matching both the customer's and the client's WhatsApp numbers.
 - [GET /pl4chat-service/ticket/getTicketEntityByChatParticipantId](https://docs.ecommunicate.co.za/apis/omnichannel/tickets/getticketbychatparticipantid.md): Retrieve the ticket entity associated with a specific chat participant.
 - [GET /pl4chat-service/ticket/getTicketEmailEntitiesByCustomerWhatsappNumberAndClientRef](https://docs.ecommunicate.co.za/apis/omnichannel/tickets/getticketsbycustomerwhatsappnumberandclientref.md): Retrieve all ticket entities matching a customer's WhatsApp number and client reference (case-insensitive).
 - [GET /pl4chat-service/ticket/getOpenedAndClosedTickets/{clientRef}](https://docs.ecommunicate.co.za/apis/omnichannel/tickets/getopenedandclosedtickets.md): Retrieve all tickets for a client within a date range, including both opened and closed tickets.
## Contacts

 - [GET /payless4messaging-service/WhatsApp/contacts](https://docs.ecommunicate.co.za/apis/omnichannel/contacts/getcontacts_inbox.md): Retrieve a paginated list of customer contacts stored in your account.
 - [POST /payless4messaging-service/WhatsApp/contacts](https://docs.ecommunicate.co.za/apis/omnichannel/contacts/createcontact.md): Add a new customer contact with phone number and name. The contact is associated with the authenticated client.
 - [PUT /payless4messaging-service/WhatsApp/contacts/{id}](https://docs.ecommunicate.co.za/apis/omnichannel/contacts/updatecontact.md): Currently only the `fullName` field can be updated.
 - [DELETE /payless4messaging-service/WhatsApp/contacts/{id}](https://docs.ecommunicate.co.za/apis/omnichannel/contacts/deletecontact.md): Permanently delete a contact by its ID.
## Analytics

 - [GET /payless4messaging-service/WhatsApp/api/v1/whatsapp-analytics/notifications](https://docs.ecommunicate.co.za/apis/omnichannel/analytics/getnotificationsummary.md): Aggregated delivery statistics for your notification (template) messages over a date range, optionally filtered by content type and direction. Each message is counted once, under its latest status: a
 - [GET /payless4messaging-service/WhatsApp/api/v1/whatsapp-analytics/interactions](https://docs.ecommunicate.co.za/apis/omnichannel/analytics/getinteractionsummary.md): Aggregated delivery statistics for your interaction (24-hour session) messages over a date range, optionally filtered by content type and direction. Each message is counted once, under its latest stat
 - [GET /payless4messaging-service/WhatsApp/WhatsAppAnalytics/getNotificationAnalyticsForCurrentLoginUser](https://docs.ecommunicate.co.za/apis/omnichannel/analytics/getnotificationanalytics.md): **Deprecated.** Ignores content-type and direction filters. Use [Get notification summary](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/analytics/getnotificationsummary) (`GET /api/v1/wh
 - [GET /payless4messaging-service/WhatsApp/WhatsAppAnalytics/getInteractionAnalyticsForCurrentLoginUser](https://docs.ecommunicate.co.za/apis/omnichannel/analytics/getinteractionanalytics.md): **Deprecated.** Ignores content-type and direction filters. Use [Get interaction summary](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/analytics/getinteractionsummary) (`GET /api/v1/what
## Message Reports

 - [GET /whatsapp-api-service/message/status/gstid](https://docs.ecommunicate.co.za/apis/omnichannel/message-reports/getstatusbygstid.md): Look up the current delivery status of a single message using its Global System Tracking ID (GSTID). Returns the latest status, timestamps for each lifecycle stage, and failure details if applicable.
 - [GET /whatsapp-api-service/message/status/ctid](https://docs.ecommunicate.co.za/apis/omnichannel/message-reports/getstatusbyctid.md): Look up delivery statuses for all messages matching your custom tracking ID (CTID) within a date range. Useful when you assigned the same `ctId` to a batch of messages and want to check their collecti
 - [GET /payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/filter](https://docs.ecommunicate.co.za/apis/omnichannel/message-reports/getfilteredmessages.md): Retrieve a paginated, filterable list of all sent and received WhatsApp messages. Filter by date range, template name, message type, and phone number. Use this for message history, delivery auditing,
 - [GET /payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/reply](https://docs.ecommunicate.co.za/apis/omnichannel/message-reports/getincomingreplies.md): Retrieve incoming customer replies to your template messages. Filter by date range, phone number, and template name. Useful for tracking customer engagement with specific campaigns.
 - [GET /payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/timeline](https://docs.ecommunicate.co.za/apis/omnichannel/message-reports/getmessagetimeline.md): Paginated timeline of successful WhatsApp messages filtered by date range and phone numbers.
 - [GET /payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/getMessageAuditReport](https://docs.ecommunicate.co.za/apis/omnichannel/message-reports/getmessageauditreport.md): Retrieve a paginated audit report of WhatsApp conversations. Includes conversation category, cost, and message counts. Filter by client reference, conversation category, and date range.
## SMS Reports

 - [GET /whatsapp-api-service/SMSSendReceiveMessages/getSMSSendReceiveMessagesForCurrentLoginUser](https://docs.ecommunicate.co.za/apis/omnichannel/sms-reports/getsmsmessages.md): Retrieve a paginated list of sent and received SMS messages. Filter by direction, sending mode, and search string.
## Report Downloads

 - [GET /payless4messaging-service/WhatsApp/Excel/getXlsxReportFor/notification-report.xlsx](https://docs.ecommunicate.co.za/apis/omnichannel/report-downloads/downloadnotificationreportxlsx.md): Download a notification (template) message report as an Excel spreadsheet. Filter by date range, search string, template name, and delivery status.
 - [GET /payless4messaging-service/WhatsApp/Excel/getCsvReportFor/notification-report.csv](https://docs.ecommunicate.co.za/apis/omnichannel/report-downloads/downloadnotificationreportcsv.md): Download a notification (template) message report as a CSV file. Filter by date range, search string, template name, and delivery status.
 - [POST /payless4messaging-service/WhatsApp/Excel/sendXlsxReportByEmail/notification-report.xlsx](https://docs.ecommunicate.co.za/apis/omnichannel/report-downloads/emailnotificationreport.md): Generate a notification report and send it as an XLSX email attachment to the specified email address. Filter by date range, search string, template name, and delivery status.
 - [GET /payless4messaging-service/WhatsApp/Excel/getXlsReportFor/interaction-report.xlsx](https://docs.ecommunicate.co.za/apis/omnichannel/report-downloads/downloadinteractionreport.md): Download an interaction (session) message report as an Excel spreadsheet. Filter by date range and search string.
 - [GET /payless4messaging-service/WhatsApp/Excel/getXlsReportFor/summary-mau-report.xlsx](https://docs.ecommunicate.co.za/apis/omnichannel/report-downloads/downloadmausummaryreport.md): Download a Monthly Active Users (MAU) summary report as an Excel spreadsheet. Shows conversation counts and costs aggregated by month.
 - [GET /payless4messaging-service/WhatsApp/Excel/getXlsReportFor/client-summary-mau-report.xlsx](https://docs.ecommunicate.co.za/apis/omnichannel/report-downloads/downloadclientmausummaryreport.md): Download a Monthly Active Users (MAU) summary report for a specific client as an Excel spreadsheet. Optionally filter by client reference.
 - [GET /payless4messaging-service/WhatsApp/Excel/getXlsReportFor/detailed-mau-report.xlsx](https://docs.ecommunicate.co.za/apis/omnichannel/report-downloads/downloaddetailedmaureport.md): Download a detailed Monthly Active Users (MAU) report as an Excel spreadsheet. Includes per-conversation breakdown with costs. Optionally filter by client reference and WhatsApp number.
 - [GET /payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/downloadMessageAuditReport](https://docs.ecommunicate.co.za/apis/omnichannel/report-downloads/downloadmessageauditreport.md): Download the message audit report as an Excel spreadsheet. Includes conversation category, cost, and message counts for the specified date range.
## Webhook Configuration

 - [POST /payless4messaging-service/WhatsApp/WhatsAppClientWebHook](https://docs.ecommunicate.co.za/apis/omnichannel/webhook-configuration/createwebhook.md): Register webhook URLs to receive: - **Incoming Messages** — customer messages to your number. - **Status Updates** — delivery receipts (sent, delivered, read, failed). - **Session Status** — connec
 - [PUT /payless4messaging-service/WhatsApp/WhatsAppClientWebHook](https://docs.ecommunicate.co.za/apis/omnichannel/webhook-configuration/updatewebhook.md): Update an existing webhook configuration. Include the `id` of the row to update. Set any URL to an empty string (`""`) to disable that webhook type while keeping others active. Scope is locked once a
 - [DELETE /payless4messaging-service/WhatsApp/WhatsAppClientWebHook/{id}](https://docs.ecommunicate.co.za/apis/omnichannel/webhook-configuration/deletewebhook.md): Delete a single configuration by id. Removing an override re-exposes that number to the client default; removing the client default leaves any per-number overrides in place but stops events for number
 - [GET /payless4messaging-service/WhatsApp/WhatsAppClientWebHook/getForCurrentLoginUser](https://docs.ecommunicate.co.za/apis/omnichannel/webhook-configuration/getwebhook.md): Returns the **client default** webhook configuration for the authenticated user. Returns an empty body when no default has been created. Use the `/list` endpoint to also retrieve per-number overrides.
 - [GET /payless4messaging-service/WhatsApp/WhatsAppClientWebHook/list](https://docs.ecommunicate.co.za/apis/omnichannel/webhook-configuration/listwebhooks.md): Returns a paginated list of every webhook configuration belonging to the authenticated user's client — the client default (if set) and every per-number override. The client default sorts first; overri
## Webhook Payloads

## Message Processing Config

 - [GET /payless4messaging-service/WhatsApp/api/configs](https://docs.ecommunicate.co.za/apis/omnichannel/message-processing-config/getmessageprocessingconfigs.md): Retrieve message processing configurations for all WhatsApp numbers. Each config includes throughput limits, throttle delays, and daily send schedules.
 - [POST /payless4messaging-service/WhatsApp/api/configs](https://docs.ecommunicate.co.za/apis/omnichannel/message-processing-config/createmessageprocessingconfig.md): Configure batch send schedules and throttling for a WhatsApp number. The `dailySchedules` map defines when messages can be sent for each day of the week. **Note:** The `minMsgDelaySeconds`, and `maxMs
 - [GET /payless4messaging-service/WhatsApp/api/configs/{clientNumber}](https://docs.ecommunicate.co.za/apis/omnichannel/message-processing-config/getmessageprocessingconfigbynumber.md): Retrieve the message processing configuration for a specific WhatsApp number.
 - [PUT /payless4messaging-service/WhatsApp/api/configs/{clientNumber}](https://docs.ecommunicate.co.za/apis/omnichannel/message-processing-config/updatemessageprocessingconfig.md): Update the message processing configuration for a specific WhatsApp number. This is a full replacement -- include all fields in the request body.
 - [DELETE /payless4messaging-service/WhatsApp/api/configs/{clientNumber}](https://docs.ecommunicate.co.za/apis/omnichannel/message-processing-config/deletemessageprocessingconfig.md): Delete the message processing configuration for a specific WhatsApp number, reverting to default platform settings.
## Block & Blacklist

 - [GET /payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/getForCurrentLoginUser](https://docs.ecommunicate.co.za/apis/omnichannel/block-and-blacklist/getblockednumbers.md): Numbers blocked by the system (e.g. due to delivery failures or user opt-out).
 - [DELETE /payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/unblockNumber/{whatsAppBlockedNumber}](https://docs.ecommunicate.co.za/apis/omnichannel/block-and-blacklist/unblocknumber.md): Remove a number from the blocked list, allowing messages to be sent to it again.
 - [GET /payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/getForCurrentLoginUser](https://docs.ecommunicate.co.za/apis/omnichannel/block-and-blacklist/getblacklistednumbers.md): Numbers manually blacklisted by the client. Messages will not be sent to these numbers.
 - [POST /payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber](https://docs.ecommunicate.co.za/apis/omnichannel/block-and-blacklist/blacklistnumber.md): Add a phone number to the blacklist. No messages will be sent to this number.
 - [POST /payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/upload](https://docs.ecommunicate.co.za/apis/omnichannel/block-and-blacklist/blacklistnumbersupload.md): Upload a CSV or text file containing phone numbers to blacklist in bulk.
 - [DELETE /payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/{id}](https://docs.ecommunicate.co.za/apis/omnichannel/block-and-blacklist/removefromblacklist.md): Remove a phone number from the client-managed blacklist by its record ID.
## Batches

 - [POST /payless4messaging-service/WhatsApp/api/batches/control](https://docs.ecommunicate.co.za/apis/omnichannel/batches/controlbatch.md): Pause, resume, or cancel batch message execution. **Scope Resolution (Priority Order):** 1. `batchId` provided → applies to that batch only. 2. `senderId` provided → applies to all active batches fo
## (WhatsApp Lite) Connection

 - [GET /](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-connection/connectwebsocket.md): **Protocol:** `WSS` (WebSocket Secure) Establish a WebSocket connection to receive real-time QR code updates. **Incoming Message Format (Regex):** ``` /userId=(.+?), sessionStatus=(.+?), status=(.+?)
 - [POST /whatsapp-api-service/api/whatsapp-go/session/connect](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-connection/connectsession.md): Initializes a WhatsApp session. After calling this, connect to the WebSocket to receive the QR code.
 - [POST /whatsapp-api-service/api/whatsapp-go/session/webhook](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-connection/setlitewebhook.md): Register a webhook URL to receive incoming messages and events for a WhatsApp Lite number.
 - [GET /whatsapp-api-service/api/whatsapp-go/session/qr](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-connection/getqrcode.md): Retrieve the current QR code as a Base64 string if WebSocket method is not used.
 - [POST /whatsapp-api-service/api/whatsapp-go/session/pairing-code](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-connection/requestpairingcode.md): Generates an 8-character linking code for the "Link with phone number" option.
 - [GET /whatsapp-api-service/api/whatsapp-go/session/status](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-connection/getsessionstatus.md): Check the current connection status of a WhatsApp Lite session. Returns whether the number is connected, disconnected, or requires a QR scan.
 - [POST /whatsapp-api-service/api/whatsapp-go/session/logout](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-connection/logoutsession.md): Logs the number out of WhatsApp Web/Multi-device session.
## (WhatsApp Lite) Groups

 - [GET /payless4messaging-service/WhatsApp/api/v1/groups](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-groups/getgroups.md): Retrieve all WhatsApp groups for the authenticated WhatsApp Lite account.
 - [POST /payless4messaging-service/WhatsApp/api/v1/groups](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-groups/creategroup.md): Create a new WhatsApp group with a name, description, and initial participants.
 - [GET /payless4messaging-service/WhatsApp/api/v1/groups/{id}](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-groups/getgroup.md): Retrieve details of a specific WhatsApp group by its UUID.
 - [PUT /payless4messaging-service/WhatsApp/api/v1/groups/{id}](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-groups/updategroup.md): Update a WhatsApp group's name, description, or participant list. **Important:** This endpoint performs a full entity save. You must include **all** fields in the request body. Any omitted fields will
 - [DELETE /payless4messaging-service/WhatsApp/api/v1/groups/{id}](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-groups/deletegroup.md): Leave and remove a WhatsApp group.
 - [POST /payless4messaging-service/WhatsApp/api/v1/groups/messages](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-groups/sendgroupmessage.md): Send a text or media message to a WhatsApp group.
 - [GET /payless4messaging-service/WhatsApp/api/v1/groups/{groupId}/messages](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-groups/getgroupmessages.md): Retrieve the message history for a specific WhatsApp group with pagination.
 - [GET /payless4messaging-service/WhatsApp/api/v1/groups/{groupJID}/invite-link](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-groups/getgroupinvitelink.md): Generate or retrieve the invite link for a WhatsApp group. Share this link to allow others to join the group.
 - [GET /payless4messaging-service/WhatsApp/api/v1/groups/{id}/summary-settings](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-groups/getgroupsummarysettings.md): Read a group's AI summary settings. A group that was never set up returns the defaults, switched off. `available` says whether AI summaries are switched on for your account. They are switched on by eC
 - [PUT /payless4messaging-service/WhatsApp/api/v1/groups/{id}/summary-settings](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-groups/savegroupsummarysettings.md): Switch AI summaries on or off for a group and choose when and where they are sent. **How it works.** When nobody has written in the group for `quietMinutes`, eCommunicate's AI summarises the messages
## (WhatsApp Lite) Contacts

 - [GET /whatsapp-api-service/api/whatsapp-go/session/contacts](https://docs.ecommunicate.co.za/apis/omnichannel/(whatsapp-lite)-contacts/getcontacts.md): Retrieve contacts synced from the connected phone.
