SendAfrica LogoSendAfrica Blog
Back to Blog
Tutorials

Getting Started with the SendAfrica SMS API

Learn how to send your first SMS using the SendAfrica API in this step-by-step guide.

SendAfrica Team·August 19, 2026· 2 min read 0 views
Getting Started with the SendAfrica SMS API

Getting Started with the SendAfrica SMS API

SendAfrica provides a powerful SMS API that lets you reach customers across Africa reliably and affordably. In this guide, we'll walk you through setting up your first SMS campaign.

Prerequisites

  • A SendAfrica account (sign up here)
  • An API token from your dashboard
  • A verified phone number for testing

Step 1: Get Your API Token

Log in to your SendAfrica dashboard and navigate to Settings > API Keys. Generate a new token and save it securely.

Step 2: Make Your First API Call

curl -X POST https://api.sendafrica.online/v1/sms/send \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+255712345678",
    "message": "Hello from SendAfrica!"
  }'

Step 3: Handle the Response

A successful response looks like:

{
  "status": "queued",
  "message_id": "msg_abc123",
  "credits_used": 1
}

Next Steps

  • Explore the full API documentation
  • Set up webhook delivery confirmations
  • Learn about bulk SMS campaigns

Happy sending!

Share this postTwitterLinkedInWhatsApp

Comments (0)

Leave a comment

No comments yet. Be the first to share your thoughts!

Stay Updated

Get the latest from SendAfrica

New tutorials, product updates, and tips for reaching your customers across Africa.