Tools at a glance
These tools take you from first request to a reliable production integration. Start in the sandbox, add webhooks for delivery status, and copy working code from the samples.
| Tool | What it does | When to use it |
|---|---|---|
| Sandbox | A safe copy of the API that never sends real messages. | While building and testing. |
| Webhooks | Delivery status callbacks sent to your server. | As soon as you need to know a message arrived. |
| Code samples | Ready-to-run requests in 11 languages. | To get started quickly in your stack. |
| SDKs & libraries | Thin helpers around the same HTTP calls. | To write less boilerplate. |
Sandbox
The sandbox mirrors the production API at https://sandbox.avenolink.com. Requests are validated and answered exactly like real ones, but nothing is delivered and no credits are spent. That makes it the right place to build error handling and try edge cases.
- Use sandbox keys, which are separate from production keys.
- Point your code at the sandbox host using an environment variable, so going live is a configuration change, not a code change.
- Test failures on purpose: a missing field, a bad number, a wrong key.
- Confirm your webhook endpoint handles every status before you switch over.
AVENOLINK_API_HOST=https://sandbox.avenolink.com
AVENOLINK_SMS_KEY=YOUR_SANDBOX_SMS_KEYWebhooks
A webhook is a URL on your server that AvenoLink calls whenever something changes, such as a message being delivered. It saves you from repeatedly asking the API for status.
{
"id": "evt_7h2k9p1x",
"type": "message.delivered",
"created_at": "2026-11-11T09:41:12Z",
"data": {
"message_id": "msg_4f8a2c91",
"batch_id": "bat_xk9m2p4q",
"channel": "sms",
"recipient": "265XXXXXXXXX",
"status": "delivered"
}
}- 1
Create an endpoint
Add a public
POSTroute on your server that accepts JSON, for example/webhooks/avenolink. - 2
Respond fast
Return
200straight away, then do heavy work in the background. Slow responses may be treated as failures. - 3
Handle repeats
Use the event
idto ignore an event you have already processed. The same event can arrive more than once. - 4
Match to your records
Look up the
message_idorbatch_idyou stored when you sent the message, then update its status.
Code samples
Every send endpoint comes with copy-ready examples in cURL, JavaScript, Python, PHP, Java, C#, C++, Go, Rust, Swift and Kotlin. USSD and webhook handlers have samples too. Each one shows the exact headers and body, so you can paste it in and run it.
- Find them next to each endpoint in the docs, or on the REST API section of the developers page.
- Replace the placeholder key and phone numbers with your own sandbox values.
- Swap the host for the sandbox while testing.
SDKs and helper libraries
You never need an SDK, because the API is plain HTTP. Helper libraries simply wrap those calls. See the SDKs page for supported languages, requirements and a small wrapper you can drop into any project.
More tools
| Tool | Description |
|---|---|
| Postman collection | Import every endpoint and try requests without writing code. |
| Command line | Send messages and check delivery from your terminal. |
| Message templates | Reusable SMS, WhatsApp and email content your team can call by name. |
| Sender ID manager | Register and track the sender names your SMS use. |