REST API
Full control. Catalogue, quotes, orders and order status as simple JSON calls, with scoped keys.
- Bearer-token keys with four scopes
- Idempotent orders on your own reference
- Poll for delivery: QR code or number and code
Naara for developers
eSIM data for 190+ countries and verification numbers, on one prepaid balance. Use the REST API, paste a widget on any page, or install the WordPress plugin. You keep your margin; we handle delivery.
Start with code, or start with a snippet. Every route uses the same safe checkout and the same prepaid money rules.
Full control. Catalogue, quotes, orders and order status as simple JSON calls, with scoped keys.
No server code. Paste two lines and your site sells eSIMs, numbers and gift cards on a Naara-hosted checkout.
Upload, activate, place a block. Comes pre-filled with your key and tests its own connection.
Quick start
List plans
GET /catalogue returns what you can sell, with your price on every plan.
Quote the price
POST /quote confirms the exact amount before you spend anything.
Place the order
POST /orders with a unique reference. Hand the QR code to your customer.
Confirm delivery
GET /orders/{reference} until the status is completed.
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":"order-1042"}'
<?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' => 'order-1042'],
]);
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: "order-1042" }),
});
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": "order-1042"},
)
print(res.json())
{
"reference": "order-1042",
"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"
}
}
What you get
Keys, balance and orders in one place. Create a key, choose its scopes, top up your prepaid balance and watch each order move from processing to completed.
A shop in two lines. The widget shows tabs for eSIMs, numbers and gift cards on your own site.
Every widget key has its own analytics: views, checkouts opened, orders and conversion, a daily chart, a funnel that shows where shoppers drop off, what sold, and the margin you earned. Compare any week, month or quarter with the one before it.
How widgets workIf a provider or a save fails, your balance is refunded automatically.
Orders are idempotent on your reference: the same request returns the same order.
You see your developer price. Provider cost is never in a response.
Give each key only the scopes it needs, and suspend it in one click.
Grouped the way you look for things: get started, learn the concepts, then go to the exact endpoint.
Create an account, make a key, top up a small balance and send three calls. Questions go to our support team.