Developer tools

Everything you need to build, test and monitor your integration: a sandbox that never sends real messages, webhooks for delivery status, and working code in your language.

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.

ToolWhat it doesWhen to use it
SandboxA safe copy of the API that never sends real messages.While building and testing.
WebhooksDelivery status callbacks sent to your server.As soon as you need to know a message arrived.
Code samplesReady-to-run requests in 11 languages.To get started quickly in your stack.
SDKs & librariesThin 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.
.env
AVENOLINK_API_HOST=https://sandbox.avenolink.com
AVENOLINK_SMS_KEY=YOUR_SANDBOX_SMS_KEY

Webhooks

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.

Example event
{
  "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. 1

    Create an endpoint

    Add a public POST route on your server that accepts JSON, for example /webhooks/avenolink.

  2. 2

    Respond fast

    Return 200 straight away, then do heavy work in the background. Slow responses may be treated as failures.

  3. 3

    Handle repeats

    Use the event id to ignore an event you have already processed. The same event can arrive more than once.

  4. 4

    Match to your records

    Look up the message_id or batch_id you stored when you sent the message, then update its status.

While developing on your own computer, use a tunnelling tool to give your local server a temporary public URL that the sandbox can reach.

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

ToolDescription
Postman collectionImport every endpoint and try requests without writing code.
Command lineSend messages and check delivery from your terminal.
Message templatesReusable SMS, WhatsApp and email content your team can call by name.
Sender ID managerRegister and track the sender names your SMS use.