AACBIZ Communication Log in Sign up

API Reference · v1

Send SMS, WhatsApp and email from your own platform

Every message on this page is a real endpoint of the ACBIZ Communications API - the same one powering every message sent from the dashboard. Authenticate with an API key, call an endpoint, and your platform's event becomes your customer's notification.

Quickstart

Every request is authenticated with an API key generated from Settings → Developer API inside your organization (log in if you already have an account). Send it as a bearer token:

curl -X POST https://communicate.acbizglobal.net/api/comm/sms \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "msisdn": "260971234567", "message": "Your OTP is 482916. Valid for 5 minutes." }'

A successful send returns the message's status immediately:

{ "success": true, "data": { "id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6", "msisdn": "260971234567", "network": "MTN", "status": "sent", "credits_charged": 1, "created_at": "2026-10-07 09:12:03" } }

Authentication

Pass your key in either header - both are accepted on every /api/comm/* route:

A missing or revoked key returns 401. Each key carries its own scopes (what it's allowed to do) and rate limit (requests/minute), both set when you create the key.

Endpoints

General

GET/api/commno scope required

API info and a list of every endpoint below, returned live from the server.

Wallet

GET/api/comm/walletwallet:read

Your organization's current credit balance and alert thresholds.

SMS

POST/api/comm/smssms:send

Send a single SMS. Numbers are normalised to the 260 country code automatically.

{ "msisdn": "260971234567", // required "message": "Your OTP is...", // required, max 918 characters "originator": "ACBIZ", // optional - alphanumeric, max 11 chars. Defaults to your org's Sender ID "idempotency_key": "order-882" // optional - safe to retry with the same key }
GET/api/comm/sms/:idsms:send

Look up a previously sent message's delivery status by the id returned when it was sent.

Email

POST/api/comm/emailemail:send

Send a single transactional email.

{ "to": "customer@example.com", // required "subject": "Payment received", // required, max 200 characters "message": "Hi Chanda, your...", // required "idempotency_key": "receipt-882" // optional }
GET/api/comm/email/:idemail:send

Look up a previously sent email's delivery status.

WhatsApp

POST/api/comm/whatsapp/templatewhatsapp:send

Send an approved WhatsApp template message - the only way to message a customer outside an active 24-hour conversation window, same as WhatsApp's own rules.

{ "msisdn": "260971234567", // required "template": "order_confirmation", // template name (or use "template_id") "variables": ["Chanda", "ZMW 350.00"],// must match the template's variable count "idempotency_key": "order-882" // optional }
POST/api/comm/whatsapp/messagewhatsapp:send

Send a free-form WhatsApp reply. Only works inside an open 24-hour window (i.e. the customer messaged you recently) - otherwise send a template instead.

{ "msisdn": "260971234567", "body": "Thanks for reaching out!" }
GET/api/comm/whatsapp/:idwhatsapp:send

Look up a previously sent WhatsApp message's delivery status.

GET/api/comm/whatsapp/conversationswhatsapp:read

List inbound WhatsApp conversations, newest first. Supports ?limit= (max 100) and ?offset=.

GET/api/comm/whatsapp/conversations/:idwhatsapp:read

A single conversation's full message thread, inbound and outbound, in order.

Scopes

Each API key is created with one or more scopes - it can only call endpoints its scopes allow. A key can also be given * for full access.

ScopeGrants
sms:sendSend SMS messages and check their status
email:sendSend emails and check their status
whatsapp:sendSend WhatsApp template and free-form messages
whatsapp:readRead the WhatsApp inbox (conversations and threads)
wallet:readRead the credit wallet balance

Idempotency

Every send endpoint accepts an optional idempotency_key. Retry the same request with the same key and you'll get back the original message instead of sending a duplicate - the response includes "idempotent_replay": true when that happens. Useful when a request times out on your end and you're not sure if it actually sent.

Rate limits

Each API key has its own per-minute rate limit, set when the key is created. Going over it returns 429 with the limit in the error message.

Errors

Every error follows the same shape: {"success": false, "error": "...", "code": 123}.

CodeMeaning
401Missing, invalid or revoked API key
402Not enough wallet credits to send this message
403This key doesn't have the required scope
404Message or conversation not found
409WhatsApp 24-hour window is closed - send a template instead
422Missing or invalid request field
429Rate limit exceeded for this key
502The gateway (SMS/email/WhatsApp provider) rejected the message

Ready to connect your platform?

Create a free account, generate an API key from Settings → Developer API, and start sending.