SEND.
AUTOMATE.
SCALE.

Bar9 gives developers a clean REST API to send and automate SMS messages across Algeria’s mobile networks — Djezzy, Mobilis, and Ooredoo.

01

FEATURES

REST API

Simple HTTP endpoints. Send a message in under five minutes. No SDK required — curl works just fine.

v1 · Stable
OTP

One-time password delivery with sub-second latency, configurable expiry, and delivery retry logic built in.

Auth · Verification
BULK SEND

Dispatch thousands of messages in a single API call. Smart rate-limiting and queue management handles the rest.

10k msg/batch
MARKETING

Run targeted SMS campaigns across all DZ networks. Segment your audience, personalise messages, and track conversion in real time.

Campaigns · Analytics
WEBHOOKS

Real-time delivery receipts pushed to your endpoint. Know instantly whether a message was delivered, failed, or is pending.

DLR · Real-time
ANALYTICS

Live dashboards for delivery rates, network performance, and campaign ROI. Export raw logs via API for custom reporting.

Dashboard · Logs
02

HOW IT WORKS

01

Get Your API Key

Sign up, verify your number, and receive your API credentials instantly. No lengthy approval process.

02

Register a Sender ID

Submit your brand name for ANRT registration. Typically approved within 3–5 business days.

03

Send Your First Message

POST to our API with your recipient and message body. Delivery confirmation arrives via webhook.

04

Monitor & Scale

Track delivery rates, open dashboards, and configure retry policies from the console or the API.

POST /v1/messages
1 curl https://api.bar9.dz/v1/messages \
2 -H "Authorization: Bearer $API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "to": "+213661000000",
6 "body": "Your verification code is 7734"
7 }'
Response 200 OK
1 {
2 "data": {
3 "id": "msg_dz_01HXRA8P...",
4 "to": "+213661000000",
5 "status": "queued",
6 "segments": 1,
7 "cost_credits": 5
8 }
9 }