All SDKs
C+
C++ SDK
Official SendAfrica C++ client
OfficialProduction ReadyOpen Source · MITv1.0.1
GitHub Repository
SendAfrica/SendAfrica-cpp-sdkv1.0.1
Maintained by the SendAfrica core team. PRs welcome — see the contributing guide.
Installation
Requires C++17, CMake 3.16+
$conan install sendafrica/1.0.1
Quick Start
Send your first SMS in under a minute.
quickstart.cpp
#include <sendafrica/sendafrica.hpp>
#include <iostream>
int main() {
sendafrica::Client client("SA-xxxxx");
auto result = client.sms().send("0712345678", "Welcome to SendAfrica");
std::cout << result.message_id << "\n";
std::cout << result.status << "\n";
std::cout << result.credits_used << "\n";
}Features
SMS Sending
Bulk Sending
Delivery Tracking
Webhook Signatures
Async / AwaitComing soon
Typed Errors
Idempotent RetriesComing soon
Sandbox Mode
Sender ID Mgmt
Documentation
The C++ SDK wraps the SendAfrica REST API in idiomatic C++ — typed request and response objects, retry-with-backoff on transient network errors, and helpers for webhook signature verification and idempotent retries. Every method on the SDK maps 1:1 to an endpoint documented in the API reference.
Recent releases
View full changelog →GitHub Repository
SendAfrica/SendAfrica-cpp-sdkv1.0.1
Maintained by the SendAfrica core team. PRs welcome — see the contributing guide.
