Getting started
How do I get an API key?+
Contact our team through the contact form or WhatsApp. We will issue a sandbox key so you can start testing, then enable production when you are ready.
Do I need an SDK?+
No. The API is plain HTTP with JSON, so any language that can make a request can use it. See the SDKs page for examples and starter wrappers.
Can I test without sending real messages?+
Yes. The sandbox answers like the real API but never delivers messages and never uses credits.
Which channels can I use?+
SMS, WhatsApp, email and USSD. SMS, WhatsApp and email are sent through the REST API. USSD works through an endpoint you host.
Sending messages
How should I format phone numbers?+
Use international format as digits only, with no plus sign or spaces, for example 265XXXXXXXXX.
Can I message many people at once?+
Yes. Put all the numbers in the recipients array of a single request. This is faster and uses fewer requests than many separate calls.
How long can an SMS be?+
A standard SMS part holds 160 characters. Longer texts are split into parts of 153 characters, and each part uses credit. Messages with emoji or non-Latin characters hold fewer characters per part.
What is a sender ID?+
It is the name customers see as the sender of your SMS, such as your brand. Ask our team to register the one you want.
Delivery and status
My response says queued. Was the message sent?+
queued means we accepted it and it is on its way. The final result arrives through your webhook as delivered or failed.
How do I know when a message is delivered?+
Add a webhook endpoint. We send an event for each status change, including the message_id and batch_id.
Why was a message marked failed?+
Common reasons are an invalid or inactive number, a phone that is switched off for too long, or a network problem. Check the event details, and contact us with the message_id if it is unclear.
Credits and billing
How do credits work?+
Each send uses credits, and the response shows credits_used and credits_remaining so you always know your balance.
What happens when I run out?+
Sends fail with a 402 error until you top up. Check credits_remaining regularly and set up a low-balance alert.
Where can I see pricing?+
See the Pricing page, or contact our team for volume rates.
Security
Where should I keep my API key?+
On your server, in an environment variable. Never put it in a mobile app, a web page or a public code repository.
I shared a key by mistake. What now?+
Contact us to replace it straight away, then update your servers with the new key.
Is my customers' data kept private?+
We treat message content and contact lists as confidential. Read our Privacy and Security pages for the full details.
Still need help?
Message us on WhatsApp at 0883 611 376, email hello@avenolink.com, or use the contact form. Include the batch_id or message_id and we can look into it quickly.