Skip to content

SMS Gateway API (1.31)

Direct bulk & transactional SMS over a simple HTTP JSON API.

The eCommunicate SMS Gateway (Payless4SMS) is a direct HTTP/JSON API for sending single and bulk SMS, tracking delivery, receiving replies and delivery receipts, scheduling messages, and managing your credit balance.

It is a standalone product, separate from the WhatsApp-centric Omnichannel Integration API. Use this API when you need plain SMS to any mobile network.

Authentication

Every request is authenticated with an API key: send an X-API-Key: ecomm_... header. Generate and revoke keys from the client portal (API Keys). Always use HTTPS so the key is never sent in the clear.

High-priority (OTP) traffic

For one-time-pin traffic that must deliver in 5–10 seconds, request an OTP token from support and send it as an otpToken header. Valid tokens are routed to a dedicated priority queue with automatic backup-gateway fallback. If the response statusCode is 502, resend via your backup gateway until it returns to 100.

Status codes

Responses carry a string statusCode and statusDescription. Common values: 001 Request Completed · 021 Authentication Failed · 022 Invalid Parameters · 023 Missing Parameters · 100 Accepted For Processing · 126 Blacklisted Destination · 128 Invalid Destination · 129 Duplicate Destination · 136 Batch Size Exceeded (max 1000 recipients) · 137 Insufficient Credits · 201 Batch Scheduled · 500 Message Sent · 501 Queued At MNO · 600 Delivery Success · 620 Failed In Delivery. The gateway sometimes returns equivalent alternates (e.g. Invalid Destination 128/226), so treat statusCode as an opaque string.

Download OpenAPI description
Languages
Servers
Mock server
https://docs.ecommunicate.co.za/_mock/apis/sms
Production
https://api.payless4sms.co.za
Production (alternate host)
https://api.ecommunicate.co.za