Order updates
Send a Meta-approved template with the customer’s name and order number filled in, the moment the status changes.
"template_id": 42,
"type": "text",
"placeholder": ["Kwame", "ORD-4821"]/send/message/templateWhatsApp API
One REST API for text, media, templates and Flows. Every message is tracked to delivery.
POST/send/message
curl -X POST "https://api.chatbotsafrica.com/api/v1.0/send/message" \
-H "Content-Type: application/json" \
-d '{
"apikey": "YOUR_API_KEY",
"destination": "233241234567",
"message": "Hello! Thanks for reaching out to us."
}'Response200
{
"success": true,
"channel": "whatsapp",
"message": {
"whatsapp_id": "233241234567",
"message_id": "wamid.HBgLMjMzMjQxMjM0NTYV...",
"status": 200,
"api_type": "Text Message",
"message_status": "sent"
}
}Reference
19 endpoints behind one key. Full parameters, and a playground that sends nothing real, are in the docs.
Open the full referenceEverything a customer can receive in a chat.
/send/messageText. A plain text message.
/send/imageImage. An image from a public URL, with an optional caption.
/send/documentDocument. A PDF, DOCX or other file from a public URL.
/send/audioAudio. An audio clip from a public URL.
/send/videoVideo. A video from a public URL, with an optional caption.
/send/stickerSticker. A WebP sticker from a public URL.
/send/locationLocation. A pinned location.
/send/contactContact card. One or more contacts in WhatsApp’s native format.
/send/list/messageList. An interactive list of selectable options.
/send/quick/replyQuick reply. A message with tappable reply buttons.
/send/flow/messageWhatsApp Flow. Launch a Flow, like a booking form, inside the chat.
/send/reply/messageDirect reply. A threaded reply to a message the customer sent.
For messages you start, outside the 24-hour window.
/send/message/templateSend a template. A Meta-approved template, with its variables filled in.
/send/template/listList templates. Every approved template on your chatbot, with buttons and replies.
Pick up what customers send you.
/get/media/urlRetrieve media. Look up a file by the media ID from an inbound webhook.
/media/downloadDownload media. Download the image, document, audio or video a customer sent.
Know what happened, and what is left to spend.
/delivery/reportDelivery report. Delivery status and billing details for one message.
/wallet/balanceWallet balance. Your current credit balance.
Keep consent on record.
/send/opt/contactOpt in or out. Record a contact’s consent for business-initiated messages.
Get started
01
Set one up in your dashboard and submit it for approval. Approval usually takes about a day.
02
Once approved, the key sits in your chatbot’s settings. It is the only credential you need, so there is no separate token to fetch.
03
POST to the base URL with the key, a destination number and your message. You get back a message ID to track it with.
What teams send
Send a Meta-approved template with the customer’s name and order number filled in, the moment the status changes.
"template_id": 42,
"type": "text",
"placeholder": ["Kwame", "ORD-4821"]/send/message/templateAttach a PDF from a URL and name it, so the receipt is in the chat before the customer asks.
/send/documentLaunch a WhatsApp Flow so customers pick a slot on a form without leaving the conversation.
/send/flow/messageRecord who has opted in or out, then look up any message by its ID to see whether it landed and what it cost.
GET /delivery/report
?apikey=YOUR_API_KEY
&message_id=wamid.HBgLMjMz.../delivery/reportFAQ
Anything else? Email info@chatbotsafrica.com and we usually reply within one working day.
Create a chatbot in your dashboard and submit it for approval, which usually takes about 24 hours. Once it is approved, the key is on your chatbot’s settings page.
Yes. The API docs include a mock playground. Every endpoint has a Send Mock Request button that shows the exact request and response shape, without spending credit or sending a WhatsApp message.
Sending endpoints draw on your wallet credit, and you can check the balance with one call. For message rates or volume pricing, contact us and we will go through your use case.
WhatsApp only allows free-form messages within 24 hours of a customer’s last message. To start a conversation, or to write after that window, send an approved template. List the ones on your chatbot with the templates endpoint.
Yes, 500 requests a minute. Requests that are missing a field or have an invalid one return a 422 with a list of what to fix.
WhatsApp is the main API. The same docs also list text, image and quick-reply endpoints for Messenger and Instagram, which need a chatbot on that channel with an account connected.
Create a chatbot, copy your key and try a call in the playground before you spend anything.