Routes, prices and status
Every routes, prices and status route, with request, response, errors and samples in curl, Node, Python and PHP.
See the overview for sign-in and the error shape.
Countries
GET /v1/countries
The destinations this account can send to.
Who can call it: Any API key, or a dashboard session token.
curl -X GET "https://api.sms.jtnoble.com/v1/countries" \
-H "Authorization: Bearer $JTSMS_API_KEY"const resp = await fetch('https://api.sms.jtnoble.com/v1/countries', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.JTSMS_API_KEY}` },
});
console.log(resp.status, await resp.text());import os
import requests
resp = requests.get(
"https://api.sms.jtnoble.com/v1/countries",
headers={"Authorization": f"Bearer {os.environ['JTSMS_API_KEY']}"},
timeout=30,
)
print(resp.status_code, resp.text)<?php
$ch = curl_init('https://api.sms.jtnoble.com/v1/countries');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('JTSMS_API_KEY')],
]);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), ' ', $body, PHP_EOL;HTTP 200:
{
"total": 1,
"supported": 1,
"countries": [
{
"country_code": "NG",
"country_name": "Nigeria",
"dial_code": "+234",
"national_digits": [
9
],
"example": "+2348031234567",
"timezone": "Africa/Lagos",
"supported": true,
"availability": "live",
"enabled": true,
"blocked": false,
"route_code": "NG",
"price_per_segment": 0.0116,
"price_currency": "USD",
"default_sender": "MYSHOP"
}
]
}| HTTP | code | Message |
|---|---|---|
| 401 | unauthorized | Not authenticated |
| 429 | rate_limited | Too many requests. Try again in a moment. |
Public prices
GET /v1/pricing
Public pricing - no auth required.
Who can call it: None. This route is public.
curl -X GET "https://api.sms.jtnoble.com/v1/pricing"const resp = await fetch('https://api.sms.jtnoble.com/v1/pricing', {
method: 'GET',
});
console.log(resp.status, await resp.text());import requests
resp = requests.get(
"https://api.sms.jtnoble.com/v1/pricing",
timeout=30,
)
print(resp.status_code, resp.text)<?php
$ch = curl_init('https://api.sms.jtnoble.com/v1/pricing');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
]);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), ' ', $body, PHP_EOL;HTTP 200:
[
{
"route_code": "NG",
"country_code": "NG",
"country_name": "Nigeria",
"currency": "USD",
"price_per_segment": 0.0116,
"price_per_segment_usd": 0,
"sender_id": "MYSHOP"
}
]| HTTP | code | Message |
|---|---|---|
| 429 | rate_limited | Too many requests. Try again in a moment. |
Service notice
GET /v1/public/service-notice
Neutral platform notice for customers (only when new accounts or sending are paused).
Who can call it: None. This route is public.
curl -X GET "https://api.sms.jtnoble.com/v1/public/service-notice"const resp = await fetch('https://api.sms.jtnoble.com/v1/public/service-notice', {
method: 'GET',
});
console.log(resp.status, await resp.text());import requests
resp = requests.get(
"https://api.sms.jtnoble.com/v1/public/service-notice",
timeout=30,
)
print(resp.status_code, resp.text)<?php
$ch = curl_init('https://api.sms.jtnoble.com/v1/public/service-notice');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
]);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), ' ', $body, PHP_EOL;HTTP 200:
{
"notice": null,
"level": null
}| HTTP | code | Message |
|---|---|---|
| 429 | rate_limited | Too many requests. Try again in a moment. |
Brand settings
GET /v1/public/theme
Who can call it: None. This route is public.
| Query | Type | Required | Default | Meaning |
|---|---|---|---|---|
domain | string | No |
curl -X GET "https://api.sms.jtnoble.com/v1/public/theme"const resp = await fetch('https://api.sms.jtnoble.com/v1/public/theme', {
method: 'GET',
});
console.log(resp.status, await resp.text());import requests
resp = requests.get(
"https://api.sms.jtnoble.com/v1/public/theme",
timeout=30,
)
print(resp.status_code, resp.text)<?php
$ch = curl_init('https://api.sms.jtnoble.com/v1/public/theme');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
]);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), ' ', $body, PHP_EOL;HTTP 200:
{
"id": 1,
"domain": null,
"brand_name": "JT Noble SMS",
"tagline": "SMS, OTP and SMPP across Africa.",
"logo_url": "/brand/wordmark-light.svg",
"icon_url": "/brand/icon.svg",
"primary_color": "#00245D",
"accent_color": "#FE6901",
"support_email": "support@jtnoble.com",
"support_phone": "+234 803 477 9997",
"support_phone_alt": "+234 803 545 8847",
"legal_name": "JT NOBLE LIMITED",
"country": "NG",
"auth_url": "https://auth.sms.jtnoble.com",
"dashboard_url": "https://app.sms.jtnoble.com",
"docs_url": "https://docs.sms.jtnoble.com",
"is_default": true,
"source": "auth"
}| HTTP | code | Message |
|---|---|---|
| 429 | rate_limited | Too many requests. Try again in a moment. |
Routes
GET /v1/routes
Active, priced routes (one per country).
Who can call it: Any API key, or a dashboard session token.
curl -X GET "https://api.sms.jtnoble.com/v1/routes" \
-H "Authorization: Bearer $JTSMS_API_KEY"const resp = await fetch('https://api.sms.jtnoble.com/v1/routes', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.JTSMS_API_KEY}` },
});
console.log(resp.status, await resp.text());import os
import requests
resp = requests.get(
"https://api.sms.jtnoble.com/v1/routes",
headers={"Authorization": f"Bearer {os.environ['JTSMS_API_KEY']}"},
timeout=30,
)
print(resp.status_code, resp.text)<?php
$ch = curl_init('https://api.sms.jtnoble.com/v1/routes');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('JTSMS_API_KEY')],
]);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), ' ', $body, PHP_EOL;HTTP 200:
[
{
"code": "NG",
"name": "Nigeria",
"country_code": "NG",
"country_name": "Nigeria",
"currency": "USD",
"price_per_segment": 0.0116,
"sender_id_default": "MYSHOP",
"is_active": true,
"dial_code": "+234",
"region": "Africa"
}
]| HTTP | code | Message |
|---|---|---|
| 401 | unauthorized | Not authenticated |
| 429 | rate_limited | Too many requests. Try again in a moment. |
Route health
GET /v1/routes/health
Per-route delivery stats for the current user (last 7 days).
Who can call it: Any API key, or a dashboard session token.
curl -X GET "https://api.sms.jtnoble.com/v1/routes/health" \
-H "Authorization: Bearer $JTSMS_API_KEY"const resp = await fetch('https://api.sms.jtnoble.com/v1/routes/health', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.JTSMS_API_KEY}` },
});
console.log(resp.status, await resp.text());import os
import requests
resp = requests.get(
"https://api.sms.jtnoble.com/v1/routes/health",
headers={"Authorization": f"Bearer {os.environ['JTSMS_API_KEY']}"},
timeout=30,
)
print(resp.status_code, resp.text)<?php
$ch = curl_init('https://api.sms.jtnoble.com/v1/routes/health');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('JTSMS_API_KEY')],
]);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), ' ', $body, PHP_EOL;HTTP 200:
[
{
"code": "NG",
"name": "Nigeria",
"country_code": "NG",
"total": 25,
"delivered": 17,
"failed": 2,
"delivery_rate": 68,
"status": "warn"
}
]| HTTP | code | Message |
|---|---|---|
| 401 | unauthorized | Not authenticated |
| 429 | rate_limited | Too many requests. Try again in a moment. |
One route
GET /v1/routes/{code}
Who can call it: Any API key, or a dashboard session token.
| Path value | Type | Meaning |
|---|---|---|
code | string | What the person typed. |
curl -X GET "https://api.sms.jtnoble.com/v1/routes/CODE" \
-H "Authorization: Bearer $JTSMS_API_KEY"const resp = await fetch('https://api.sms.jtnoble.com/v1/routes/CODE', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.JTSMS_API_KEY}` },
});
console.log(resp.status, await resp.text());import os
import requests
resp = requests.get(
"https://api.sms.jtnoble.com/v1/routes/CODE",
headers={"Authorization": f"Bearer {os.environ['JTSMS_API_KEY']}"},
timeout=30,
)
print(resp.status_code, resp.text)<?php
$ch = curl_init('https://api.sms.jtnoble.com/v1/routes/CODE');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('JTSMS_API_KEY')],
]);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), ' ', $body, PHP_EOL;HTTP 200:
{
"code": "NG",
"name": "Nigeria",
"country_code": "NG",
"country_name": "Nigeria",
"currency": "USD",
"price_per_segment": 0.0116,
"sender_id_default": "MYSHOP",
"is_active": true,
"dial_code": "+234",
"region": "Africa"
}| HTTP | code | Message |
|---|---|---|
| 400 | bad_request | |
| 401 | unauthorized | Not authenticated |
| 404 | not_found | Route not found |
| 429 | rate_limited | Too many requests. Try again in a moment. |
Countries you can send to
GET /v1/send-countries
Who can call it: Any API key, or a dashboard session token.
curl -X GET "https://api.sms.jtnoble.com/v1/send-countries" \
-H "Authorization: Bearer $JTSMS_API_KEY"const resp = await fetch('https://api.sms.jtnoble.com/v1/send-countries', {
method: 'GET',
headers: { Authorization: `Bearer ${process.env.JTSMS_API_KEY}` },
});
console.log(resp.status, await resp.text());import os
import requests
resp = requests.get(
"https://api.sms.jtnoble.com/v1/send-countries",
headers={"Authorization": f"Bearer {os.environ['JTSMS_API_KEY']}"},
timeout=30,
)
print(resp.status_code, resp.text)<?php
$ch = curl_init('https://api.sms.jtnoble.com/v1/send-countries');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('JTSMS_API_KEY')],
]);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), ' ', $body, PHP_EOL;HTTP 200:
{
"user_id": "3f0c7a52-6d1e-4b9a-8f21-7c5e2a9d1b40",
"enabled_countries": [
"NG"
],
"blocked_countries": [],
"via_sender_ids": {},
"countries": [
{
"country_code": "NG",
"country_name": "Nigeria",
"dial_code": "+234",
"national_digits": [
9
],
"example": "+2348031234567",
"timezone": "Africa/Lagos",
"supported": true,
"availability": "live",
"enabled": true,
"blocked": false,
"route_code": "NG",
"price_per_segment": 0.0116,
"price_currency": "USD",
"default_sender": "MYSHOP",
"default_sender_available": true,
"needs_own_sender": false
}
]
}| HTTP | code | Message |
|---|---|---|
| 401 | unauthorized | Not authenticated |
| 429 | rate_limited | Too many requests. Try again in a moment. |
Subscribe to status mail
POST /v1/status/subscribe
Who can call it: None. This route is public.
Body (JSON):
| Field | Type | Required | Default | Meaning |
|---|---|---|---|---|
email | string | Yes | Email address. |
curl -X POST "https://api.sms.jtnoble.com/v1/status/subscribe" \
-H "Content-Type: application/json" \
-d '{"email":"you@example.mw"}'const resp = await fetch('https://api.sms.jtnoble.com/v1/status/subscribe', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({"email":"you@example.mw"}),
});
console.log(resp.status, await resp.text());import requests
resp = requests.post(
"https://api.sms.jtnoble.com/v1/status/subscribe",
json={"email":"you@example.mw"},
timeout=30,
)
print(resp.status_code, resp.text)<?php
$ch = curl_init('https://api.sms.jtnoble.com/v1/status/subscribe');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"email":"you@example.mw"}',
]);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), ' ', $body, PHP_EOL;HTTP 200:
{
"status": "confirmation_sent"
}| HTTP | code | Message |
|---|---|---|
| 422 | unprocessable_entity | |
| 422 | validation_error | Request validation failed |
| 429 | rate_limited | Too many requests. Try again in a moment. |
Confirm a status subscription
GET /v1/status/subscribe/confirm
Who can call it: None. This route is public.
| Query | Type | Required | Default | Meaning |
|---|---|---|---|---|
token | string | Yes | The token from the status email. |
curl -X GET "https://api.sms.jtnoble.com/v1/status/subscribe/confirm?token=TOKEN"const resp = await fetch('https://api.sms.jtnoble.com/v1/status/subscribe/confirm?token=TOKEN', {
method: 'GET',
});
console.log(resp.status, await resp.text());import requests
resp = requests.get(
"https://api.sms.jtnoble.com/v1/status/subscribe/confirm?token=TOKEN",
timeout=30,
)
print(resp.status_code, resp.text)<?php
$ch = curl_init('https://api.sms.jtnoble.com/v1/status/subscribe/confirm?token=TOKEN');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
]);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), ' ', $body, PHP_EOL;The answer is a short HTML page for the person who opened the link in the email.
| HTTP | code | Message |
|---|---|---|
| 429 | rate_limited | Too many requests. Try again in a moment. |
Platform status
GET /v1/status/summary
Who can call it: None. This route is public.
curl -X GET "https://api.sms.jtnoble.com/v1/status/summary"const resp = await fetch('https://api.sms.jtnoble.com/v1/status/summary', {
method: 'GET',
});
console.log(resp.status, await resp.text());import requests
resp = requests.get(
"https://api.sms.jtnoble.com/v1/status/summary",
timeout=30,
)
print(resp.status_code, resp.text)<?php
$ch = curl_init('https://api.sms.jtnoble.com/v1/status/summary');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
]);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), ' ', $body, PHP_EOL;HTTP 200:
{
"overall": "All Systems Operational",
"overall_status": "operational",
"components": [
{
"id": 1,
"key": "sms",
"name": "SMS Delivery",
"description": "Sending and delivery of SMS to mobile networks",
"status": "operational",
"position": 0,
"enabled": true,
"status_label": "Operational",
"uptime_90d": 100,
"days": [
"operational",
"operational"
]
},
{
"id": 2,
"key": "api",
"name": "API",
"description": "REST API and webhooks",
"status": "operational",
"position": 1,
"enabled": true,
"status_label": "Operational",
"uptime_90d": 100,
"days": [
"operational",
"operational"
]
}
],
"active_incidents": [],
"past_incidents": [],
"updated_at": "2026-11-07T17:50:26.155667+00:00"
}| HTTP | code | Message |
|---|---|---|
| 429 | rate_limited | Too many requests. Try again in a moment. |
Unsubscribe from status mail
GET /v1/status/unsubscribe
Who can call it: None. This route is public.
| Query | Type | Required | Default | Meaning |
|---|---|---|---|---|
token | string | Yes | The token from the status email. |
curl -X GET "https://api.sms.jtnoble.com/v1/status/unsubscribe?token=TOKEN"const resp = await fetch('https://api.sms.jtnoble.com/v1/status/unsubscribe?token=TOKEN', {
method: 'GET',
});
console.log(resp.status, await resp.text());import requests
resp = requests.get(
"https://api.sms.jtnoble.com/v1/status/unsubscribe?token=TOKEN",
timeout=30,
)
print(resp.status_code, resp.text)<?php
$ch = curl_init('https://api.sms.jtnoble.com/v1/status/unsubscribe?token=TOKEN');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
]);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), ' ', $body, PHP_EOL;The answer is a short HTML page for the person who opened the link in the email.
| HTTP | code | Message |
|---|---|---|
| 429 | rate_limited | Too many requests. Try again in a moment. |