Account and billing
| Term | Meaning |
|---|---|
| API key | The secret you send in the x-api-key header. It identifies your account and the channel you are sending on. |
| Credit | The unit you spend to send messages. Every response shows credits_used and credits_remaining. |
| Balance | The number of credits left on your account. |
| Top-up | Adding more credits to your account. |
| Production | The live environment, where messages reach real recipients and use credits. |
| Sandbox | A safe copy of the API for testing. Nothing is delivered and no credits are used. |
Sending
| Term | Meaning |
|---|---|
| Endpoint | A URL you send requests to, such as /api/v1/send/sms. |
| Request body | The JSON you send with a request, holding the recipients and the message content. |
| Recipient | A phone number or email address a message is sent to. |
| International format | A phone number written as digits only, with the country code and no plus sign or spaces, such as 265XXXXXXXXX. |
| Sender ID | The name shown as the sender of an SMS, such as your brand name. |
| Batch | One send request. It has a batch_id and can contain many recipients. |
| Message ID | A unique identifier for one message to one recipient, used to follow it through delivery. |
| Segment | One part of an SMS. Standard messages fit 160 characters, and longer texts are joined from several segments. |
| Unicode SMS | An SMS containing emoji or non-Latin characters. It fits fewer characters per segment. |
Delivery and events
| Term | Meaning |
|---|---|
| Queued | Accepted by AvenoLink and waiting to be sent. |
| Sent | Handed to the network or app for delivery. |
| Delivered | Confirmed as received by the recipient's phone or inbox. |
| Read | The recipient opened the message. Available on WhatsApp. |
| Failed | Could not be delivered, for example because the number is invalid. |
| Delivery report | The final status of a message, sent to your webhook as an event. |
| Webhook | A URL on your server that AvenoLink calls to report an event, such as delivery. |
| Event | A notification sent to your webhook, such as message.delivered. |
| Idempotent | Safe to process more than once with the same result. Webhook handlers should be idempotent, because an event can arrive twice. |
Channels
| Term | Meaning |
|---|---|
| SMS | Text messages sent to any mobile phone, with no app or internet connection needed. |
| Messages sent to customers through the WhatsApp app. | |
| Messages sent to an inbox, with HTML and plain-text content. | |
| USSD | Menu sessions on any phone, started by dialling a short code such as *123#. |
| USSD session | One live menu conversation. It ends when your reply starts with END. |
CON | The start of a USSD reply that keeps the session open and shows another menu. |
END | The start of a USSD reply that shows a final message and closes the session. |
| SPF and DKIM | Email records you add to your domain so receiving mail servers trust your messages. |
| Reply-to | The address that replies to an email are sent to. |
Technical terms
| Term | Meaning |
|---|---|
| REST API | An API that uses standard HTTP requests and JSON, with no special software needed. |
| JSON | A simple text format for structured data, used for every request and response. |
| HTTP status code | A number in every response that tells you whether it worked, such as 200 or 401. |
| Rate limit | A cap on how many requests you can make in a period of time. |
| Exponential backoff | Waiting a little longer before each retry, such as 1, 2 then 4 seconds. |
| Timeout | The longest your code waits for a response before giving up. |
| Environment variable | A setting stored outside your code, the safest place to keep API keys. |
| SDK | A library that wraps API calls for one language. Optional, because the API is plain HTTP. |