Blog SMS API

SMS API

Orange DRC SMS API ends on December 1, 2026: how to migrate to Coussema

Orange is shutting down its “SMS DR Congo” API on December 1, 2026. If your application sends codes, alerts or reminders through this API, here is what changes, and how to move to Coussema in a few minutes, without changing your logic.

CONTENTS
  1. What changes on December 1, 2026
  2. Before: two calls at Orange
  3. After: a single call at Coussema
  4. Field mapping
  5. What you gain by moving to Coussema
  6. Migrate in 4 steps
  7. Frequently asked questions

What changes on December 1, 2026

On its developer portal, Orange states that the “SMS DR Congo” API is deprecated:

Orange is steering its customers towards its commercial Bulk SMS offer (Messaging Pro). After that date, calls to the API should no longer be considered reliable. The safest course is to migrate before then.

As a reminder, this API was limited to 5 SMS per second and 25,200 SMS per day per SIM card (Orange pricing page).

Before: two calls at Orange

With the Orange API, you first had to get an access token valid for one hour, then send the SMS with that token:

# 1. Access token (valid for 3600 s)
curl -X POST "https://api.orange.com/oauth/v3/token" \
  -H "Authorization: Basic BASE64(client_id:client_secret)" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=client_credentials"

# 2. Send the SMS (201 Created response)
curl -X POST "https://api.orange.com/smsmessaging/v1/outbound/tel%3A%2B2430000/requests" \
  -H "Authorization: Bearer ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"outboundSMSMessageRequest":{
        "address":"tel:+243810000000",
        "senderAddress":"tel:+2430000",
        "senderName":"MYSERVICE",
        "outboundSMSTextMessage":{"message":"Your code is 482913"}
      }}'

After: a single call at Coussema

With Coussema, there is no token to renew: your API key is enough. A single call sends the SMS:

curl -X POST "https://api.coussema.com/v1/sms/send" \
  -H "Authorization: Bearer csm_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: otp-482913" \
  -d '{
        "to": "243810000000",
        "message": "Your code is 482913",
        "senderName": "MYSERVICE",
        "clientReference": "otp-482913"
      }'

The 202 Accepted response confirms that the message is accepted and queued for sending. The final status (delivered or failed) then arrives by webhook or in the SMS report.

In PHP

$ch = curl_init('https://api.coussema.com/v1/sms/send');
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => [
    'Authorization: Bearer ' . getenv('COUSSEMA_API_KEY'),
    'Content-Type: application/json',
    'Idempotency-Key: otp-482913',
  ],
  CURLOPT_POSTFIELDS => json_encode([
    'to' => '243810000000',
    'message' => 'Your code is 482913',
    'senderName' => 'MYSERVICE',
  ]),
]);
$response = curl_exec($ch);

In Python

import os, requests

r = requests.post(
    "https://api.coussema.com/v1/sms/send",
    headers={
        "Authorization": f"Bearer {os.environ['COUSSEMA_API_KEY']}",
        "Idempotency-Key": "otp-482913",
    },
    json={"to": "243810000000", "message": "Your code is 482913", "senderName": "MYSERVICE"},
    timeout=15,
)
r.raise_for_status()  # 202 Accepted

In Node.js

const r = await fetch('https://api.coussema.com/v1/sms/send', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.COUSSEMA_API_KEY}`,
    'Content-Type': 'application/json',
    'Idempotency-Key': 'otp-482913',
  },
  body: JSON.stringify({ to: '243810000000', message: 'Your code is 482913', senderName: 'MYSERVICE' }),
});
if (!r.ok) throw new Error(`Coussema ${r.status}`); // 202 Accepted

Field mapping

Orange APICoussema API
OAuth token (1 hour, to renew)csm_live_… API key in Authorization: Bearer
address: tel:+243…to: 243… (the + is accepted)
outboundSMSTextMessage.messagemessage
senderNamesenderName (your approved Sender ID)
senderAddress in the body and the URLNothing to provide
resource_id in the responsemessage.id and your clientReference
Delivery receipts sent to your URLSigned webhooks and the SMS report in the dashboard
201 Created response202 Accepted response

What you gain by moving to Coussema

  • Every operator in the DRC: your SMS go to Orange, Airtel, Vodacom and other networks’ numbers, from a single API.
  • No token to renew every hour, and one API key per use, with its own permissions.
  • Simple pricing: $0.03 per SMS, with no subscription, and 10 free SMS when you sign up. API access is free.
  • Your sender name (Sender ID) for free, approved by our teams.
  • Mobile Money payment, straight from your account.
  • Delivery reports through signed webhooks and in the SMS report.
  • WhatsApp on the same platform, if you also want to send your codes and alerts on WhatsApp.

Migrate in 4 steps

  1. Create your account on coussema.com: 10 SMS are free for your tests.
  2. Create an API key in the Developers space and top up your balance by Mobile Money.
  3. Request your Sender ID (your brand name): it is free and approved by our teams.
  4. Replace the Orange call with the Coussema call above, then set up your webhook to track deliveries.

Frequently asked questions

Do I have to change my sender name?

No: request the same name as your Sender ID in your Coussema account. It is free and approved by our teams before your first send.

Do my numbers have to change format?

No. Send the number in international format, with or without + (243810000000). No need for the tel: prefix.

How do I know whether an SMS was delivered?

The 202 response confirms it is queued. The final status arrives by signed webhook, and it is shown in the SMS report of your account.

Can I test before paying?

Yes: 10 SMS are free when you sign up, to test your integration.