A REST API for SMS to South Africa numbers, with South Africa's sender rules applied automatically and every message showing the carrier that carried it. Point your SDK at southafrica.woyra.io.
POPIA governs personal information. Opt-out must be honoured within a reasonable period and free of charge.
Opt-out keywords honoured automatically: STOP, UNSUBSCRIBE, CANCEL, END, QUIT.
southafrica.woyra.ioGlobal
curl -X POST https://southafrica.woyra.io/v1/messages \
-H "Authorization: Bearer $WOYRA_KEY" \
-H 'Idempotency-Key: order-4821' \
-H 'Content-Type: application/json' \
-d '{
"channel": "sms",
"to": "+27712345678",
"from": "YOURBRAND",
"body": "Your order 4821 is out for delivery.",
"routing": {"strategy": "conversion_optimized", "max_cost_usd": 0.03}
}'The same key works on every endpoint. Calling southafrica.woyra.io applies South Africa's rules and, where residency requires it, keeps the data in the global region.
Alphanumeric sender IDs, no registration · billed in ZAR · global data region
South Africa allows an alphanumeric sender, and asks for no registration to use one. Set `from` to your brand and the message arrives under it. Nothing to file, nothing to wait for, which is the exception rather than the rule in this part of the world.
A recipient in South Africa who replies STOP, UNSUBSCRIBE, CANCEL, END, QUIT is suppressed on your account immediately, and the next send to them is refused rather than delivered. You write nothing for this; it is the law in most markets and the right behaviour in all of them.
Every message to South Africa records the carrier it went out on, the score that carrier held at the time, the reason it was chosen and what it cost. It is on the message in the API response and in your logs. Carriers are scored on whether codes are actually entered, not on whether a receipt said OK.
An account on the South Africa endpoint is billed in US dollars today. Billing in ZAR is where this is going, and it is a real advantage when it arrives, but a converted price needs a published rate behind it and there is not one yet, so we quote one currency rather than invent a second. Funds are reserved at the published price when a message is accepted and settled when it is delivered; a message we never deliver is never charged for, and a hard spend cap you set is enforced rather than invoiced.
South Africa allows alphanumeric sender IDs, so a message can arrive from your brand name rather than a number, with no registration needed.
STOP, UNSUBSCRIBE, CANCEL, END, QUIT. A recipient who replies with one is suppressed on your account automatically.
ZAR, prepaid, with a hard spend cap you set per project.
Global
E.164: a plus, the country code +27, then the subscriber number, as in +27712345678. Woyra strips spaces, hyphens, brackets and a leading 00, but it will not guess a missing country code, because the same digits belong to a different subscriber in every country.
southafrica.woyra.io, though the same API key works on every endpoint Woyra runs. Which one you call decides the compliance rules applied, the currency you are billed in, and — where residency requires it — which data plane answers.