Place an order

Buy an eSIM or a number. This spends your API balance.

POST /api/v1/orders Scope: order

Send a unique reference so a retry can never double-charge. For an eSIM, relay result.qr_code (or the result.lpa string for manual install) to your customer, then poll the order until it is completed.

For a number, the verification code arrives asynchronously. Poll the order: once the code is received, status becomes completed and result.code holds it. A number that never receives a code times out and its status becomes failed.

Body

FieldTypeNotes
typestringesim or number
plan_idintRequired when type is esim (an id from /catalogue)
number_typestringotp or rental, required when type is number
countrystringRequired when type is number
servicestringRequired when type is number
referencestringOptional idempotency key, up to 64 characters

Responses

StatusMeaning
201Order created
200A repeated reference: the original order, once it has finished saving
402Insufficient balance
409duplicate_in_progress: retry the same reference shortly
422Invalid plan, or number unavailable
500 / 502Not delivered, and your balance was refunded
Order an eSIM
curl -X POST https://naara.app/api/v1/orders \
  -H "Authorization: Bearer $NAARA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"esim","plan_id":12,"reference":"your-order-abc123"}'
<?php
require 'vendor/autoload.php';

$client = new GuzzleHttp\Client(['base_uri' => 'https://naara.app/api/v1/']);

$response = $client->post('orders', [
    'headers' => ['Authorization' => 'Bearer ' . getenv('NAARA_KEY')],
    'json' => ['type' => 'esim', 'plan_id' => 12, 'reference' => 'your-order-abc123'],
]);

echo $response->getBody();
const res = await fetch("https://naara.app/api/v1/orders", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.NAARA_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ type: "esim", plan_id: 12, reference: "your-order-abc123" }),
});
console.log(await res.json());
import os
import requests

res = requests.post(
    "https://naara.app/api/v1/orders",
    headers={"Authorization": f"Bearer {os.environ['NAARA_KEY']}"},
    json={"type": "esim", "plan_id": 12, "reference": "your-order-abc123"},
)
print(res.json())
201 Created
JSON
{
    "reference": "your-order-abc123",
    "kind": "esim",
    "status": "processing",
    "price_usd": 11.0,
    "currency": "USD",
    "result": {
        "iccid": "8944...",
        "qr_code": "https://.../qr.png",
        "lpa": "LPA:1$rsp.example.com$ACTIVATION-CODE"
    },
    "created_at": "2026-07-20T12:00:00+00:00"
}
Order a number
curl -X POST https://naara.app/api/v1/orders \
  -H "Authorization: Bearer $NAARA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"number","number_type":"otp","country":"nigeria","service":"whatsapp","reference":"your-otp-xyz"}'
<?php
require 'vendor/autoload.php';

$client = new GuzzleHttp\Client(['base_uri' => 'https://naara.app/api/v1/']);

$response = $client->post('orders', [
    'headers' => ['Authorization' => 'Bearer ' . getenv('NAARA_KEY')],
    'json' => ['type' => 'number', 'number_type' => 'otp', 'country' => 'nigeria', 'service' => 'whatsapp', 'reference' => 'your-otp-xyz'],
]);

echo $response->getBody();
const res = await fetch("https://naara.app/api/v1/orders", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.NAARA_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ type: "number", number_type: "otp", country: "nigeria", service: "whatsapp", reference: "your-otp-xyz" }),
});
console.log(await res.json());
import os
import requests

res = requests.post(
    "https://naara.app/api/v1/orders",
    headers={"Authorization": f"Bearer {os.environ['NAARA_KEY']}"},
    json={"type": "number", "number_type": "otp", "country": "nigeria", "service": "whatsapp", "reference": "your-otp-xyz"},
)
print(res.json())
201 Created
JSON
{
    "reference": "your-otp-xyz",
    "kind": "number",
    "status": "processing",
    "price_usd": 0.23,
    "currency": "USD",
    "result": {
        "number": "+234...",
        "code": null
    },
    "created_at": "2026-07-20T12:00:00+00:00"
}

From the Naara blog

All posts
Naara Pro & Business Broadcast Messages Done Right: Consent, STOP and What Channels Allow A broadcast can build loyalty or burn your reputation. Here is how Respond handles consent, opt-outs and the rules that differ between channels. Oct 16, 2026 Money, Wallet & Pricing Wallet Top-Ups and Gift Cards on Naara: Paying, Withdrawing and Staying in Control One wallet pays for everything. Here is how to top up, which payment methods you can expect, how to withdraw earnings and how gift cards fit in. Oct 15, 2026 Naara Chat & Community Naara Chat Tips: Gestures, Status Updates and Other Things You Might Have Missed A quick tour of the small features that make Naara Chat faster: swipe to reply, status updates with mentions, scheduled messages and more. Oct 14, 2026 NaaraCredits & Loyalty Earn NaaraCredits by Following Brands: How the Rewards Hunt Works Follow a brand's real social pages, earn credits you can spend on chat and calls, and know exactly how it is checked. Oct 13, 2026 Naara Chat & Community Voice and Video Calls on Naara: What Makes a Call Connect (and Why TURN Matters) Calls inside Naara are peer to peer when they can be and relayed when they must be. Here is what that means for call quality and what to check if a call will not connect. Oct 12, 2026 Developers & Integrations Build on Naara: API Keys, Signed Webhooks and Testing Safely How to connect your own tools to Naara: create a key, call the API, receive signed webhooks and verify them properly. Oct 11, 2026 Developers & Integrations Sell eSIMs on Your Own Website With Naara Widgets and the WordPress Plugin Embed a Naara catalogue on your site, let visitors check out on a hosted page, and track every order, with or without writing code. Oct 10, 2026 Naara Pro & Business Launch Your Own Connectivity Brand: How Naara White Label Works White Label lets an agency or entrepreneur run the Naara platform under its own name. Here is the path from landing page to your own live install. Oct 9, 2026 Travel Handbooks The Naara Travel Handbook Store: Long-Form Guides for People Who Move Across Borders Short blog posts cannot cover a visa, a degree or a first lease. The Handbook Store has book-length guides, with a reader that can read aloud. Oct 8, 2026