AxeDz

v1.0

  • Overview
  • Quickstart
  • SDK
  • Authentication
  • Payment
  • API Reference
  • Errors

Quickstart

Get up and running in minutes. Create your account, grab an API key, and send your first SMS or email.

1. Create your account

Sign up for free at the dashboard. Verify your email or phone number, and you will start in sandbox mode — a free testing environment where no real messages are sent and nothing is charged.

2. Create an API key

In your dashboard, create a project and generate an API key. You will use this key to authenticate every request you send to AxeDz.

  • Each project can have its own API key
  • You can revoke a key at any time if it is compromised
  • Include your key in the X-API-Key header with every request

3. Install the SDK (optional)

Our SDKs make integration easier by handling authentication and errors for you. You can also use cURL or any HTTP client if you prefer.

Node.js

bash
npm install axedz

Python

bash
pip install axedz

See the SDK guide for complete examples.

4. Send your first SMS

Using cURL

bash
1curl -X POST https://api.axedz.com/v1/sms/send \
2 -H "Content-Type: application/json" \
3 -H "X-API-Key: YOUR_API_KEY" \
4 -d '{
5 "to": "+213555123456",
6 "message": "Hello from AxeDz!"
7 }'

Using the Node.js SDK

Node.js
1const AxeDz = require("axedz");
2 
3const client = new AxeDz("YOUR_API_KEY");
4 
5const result = await client.sms.send({
6 to: "+213555123456",
7 message: "Hello from AxeDz!",
8});
9 
10console.log(result);

5. Send your first email

bash
1curl -X POST https://api.axedz.com/v1/email/send \
2 -H "Content-Type: application/json" \
3 -H "X-API-Key: YOUR_API_KEY" \
4 -d '{
5 "to": "user@example.com",
6 "subject": "Welcome to AxeDz",
7 "body": "Your account is ready."
8 }'

6. Go live

When you are ready to send real messages, top up your wallet through SATIM in the dashboard, then switch your project from sandbox to production mode.

Sandbox vs production

Sandbox is free and simulates delivery — perfect for testing. Production sends real messages and deducts the cost from your wallet balance.

Understanding responses

Every API response follows the same format:

JSON
1{
2 "success": true,
3 "data": {
4 "id": "msg_abc123",
5 "status": "queued"
6 }
7}

If something goes wrong, you will get success: false with a clear message explaining what happened. See the Errors guide for details.