SMS YANU documentation home

HTTP API overview

Send SMS to Malawi numbers from your own software over HTTPS and JSON.

The HTTP API lets your software send SMS, check delivery and read your balance.

Malawi only

The HTTP API sends to Malawi numbers (+265) only. A number in any other country is refused with HTTP 422 and the code destination_not_allowed. To reach other African countries, use SMPP.

The basics

ItemValue
Base URLhttps://api.smsyanu.com
Version prefix/v1
FormatJSON in, JSON out (Content-Type: application/json)
AuthenticationAuthorization: Bearer yanu_live_... or yanu_test_...
Phone formatE.164, for example +265888123456. Also accepted: 265888123456, 00265888123456, 0888123456.
TimesISO 8601 with a time zone, for example 2026-11-05T08:30:00+00:00
CurrencyYour balance currency. MWK by default, USD supported.

Endpoints

MethodPathWhat it does
POST/v1/messages/sendSend one SMS.
POST/v1/messages/send-bulkSend to a contact list or many numbers.
POST/v1/verify/startSend a one-time code, then check it with /v1/verify/check.
POST/v1/messages/ratePrice a message before you send it. No charge.
GET/v1/messages/{id}One message with its status and timeline.
GET/v1/messagesList your messages, newest first.
POST/v1/messages/{id}/cancelCancel a scheduled message.
GET/v1/balanceYour balance and currency.
GET / PUT/v1/webhooksRead or set your delivery webhook URL.
POST/v1/webhooks/testSend a test event to your webhook.
POST/v1/webhooks/rotate-secretMake a new webhook signing secret.

To be confirmed

The HTTP API is still being built. The endpoints above exist in the current code. Field names, limits and some error codes may still change before launch. This page will be updated when the API is final.

Next

On this page