SMS DADDY .ORG
DEVELOPER API PORTAL
REST JSON API v1.0 • Fast & Secure SMS Verification

SMS DADDY ORG Developer API

Programmatically allocate real non-VoIP and global virtual phone numbers, receive real-time OTP verification codes, and automate balance & refund workflows directly from your applications, reseller panels, or scripts.

Base URL
https://api.smsdaddy.org/v1
Response Format
application/json (UTF-8)
Billing & Refunds
USD • Instant Auto-Refund
Security & Access

Authentication

All /v1/* endpoints (except /v1/health) require your personal 32-character API Key from your account dashboard. Three authentication methods are supported:

Method Format Status
Header (Primary) X-API-Key: YOUR_API_KEY Recommended
Bearer Token Authorization: Bearer YOUR_API_KEY Supported
Query Parameter ?api_key=YOUR_API_KEY Quick Testing Only
Cloud Architecture

Smart Auto-Routing

SMS DADDY ORG operates a unified multi-node telecommunication cloud. When purchasing a number via POST /v1/order, choose from three routing modes:

01. Auto-Route (Easiest)

Pass only service & country. Our router automatically selects the cheapest & fastest available node.

02. Exact Route Code

Pass route_code (e.g. R3-452) from /v1/services to lock an exact price and node.

03. Specific Node

Pass server (1–9) with service & country to target a preferred routing node.

Fair Usage

Rate Limits & Response Headers

Each API key is limited to 60 requests per minute. For OTP polling, check every 5 seconds. Every response includes tracking headers:

Header Description
X-RateLimit-LimitMaximum requests allowed per 60-second window (60).
X-RateLimit-RemainingNumber of requests remaining in the current window.
X-RateLimit-ResetUnix timestamp when the current rate limit window resets.
X-Request-IdUnique request trace ID for support debugging.
GET /v1/health Public

Verify API availability and server UTC timestamp. No API key required.

200 OK — JSON Response
{
  "success": true,
  "request_id": "req_a1b2c3d4e5f60718",
  "message": "All systems operational.",
  "data": {
    "status": "operational",
    "version": "1.0.0",
    "network": "SMSDaddy Cloud Routing",
    "timestamp": "2026-11-27T06:15:00Z"
  }
}
GET /v1/balance

Retrieve your current USD wallet balance and account status.

get-balance
curl -X GET "https://api.smsdaddy.org/v1/balance" \
  -H "X-API-Key: YOUR_API_KEY"
200 OK — Example Response
{
  "success": true,
  "request_id": "req_91f2a0c812e456ab",
  "message": "Account balance retrieved successfully.",
  "data": {
    "user_id": 14,
    "name": "Alex Mercer",
    "email": "[email protected]",
    "balance": 48.75,
    "currency": "USD",
    "status": "Active"
  }
}
GET /v1/servers

List all active SMS DADDY ORG routing nodes available for number allocation.

200 OK — Example Response
{
  "success": true,
  "message": "Active routing servers retrieved.",
  "data": [
    { "server": 1, "server_code": "S1", "name": "SMSDaddy Node 1", "region": "Global & US Direct", "status": "operational" },
    { "server": 3, "server_code": "S3", "name": "SMSDaddy Node 3", "region": "Premium Multi-Pool", "status": "operational" },
    { "server": 7, "server_code": "S7", "name": "SMSDaddy Node 7", "region": "US Real SIM Network", "status": "operational" }
  ]
}
GET /v1/countries

Fetch all supported countries across our network, or filter by a specific routing node.

Query ParamTypeRequiredDescription
serverintegerOptionalFilter countries available on a specific node (1–9).
GET /v1/services

Search available apps, countries, real-time USD prices, and route_code identifiers.

Query ParamTypeRequiredDescription
serverintegerOptionalFilter by specific routing node (1–9). Omit to search all nodes sorted by lowest price.
countrystringOptionalCountry name or ISO-2 code (e.g. US, United States, GB).
searchstringOptionalSearch by app name or service code (e.g. whatsapp, google).
limitintegerOptionalMax results to return (default 100, max 500).
offsetintegerOptionalPagination offset (default 0).
200 OK — Example Response
{
  "success": true,
  "message": "Available services retrieved.",
  "data": [
    {
      "route_code": "R3-128",
      "server": 3,
      "server_name": "SMSDaddy Node 3",
      "country": "United States",
      "country_code": "US",
      "service_code": "whatsapp",
      "service_name": "WhatsApp",
      "price": 0.45,
      "currency": "USD"
    }
  ],
  "meta": { "count": 1, "limit": 100, "offset": 0 }
}
POST /v1/order

Purchase a phone number instantly. Balance is atomically deducted only after a live number is allocated.

Body ParameterTypeRequiredDescription
route_codestringConditionalExact route code from /v1/services (e.g. R3-128). If omitted, pass service.
servicestringConditionalService name or code (e.g. WhatsApp, Google).
countrystringOptionalCountry name or ISO-2 code (e.g. US, USA, GB).
serverintegerOptionalTarget specific node (1–9). Omit for Smart Auto-Routing.
area_codestringOptional3-digit US area code filter (e.g. 212, 310) on supported US routes.
statestringOptional2-letter US state filter (e.g. NY, CA) on supported US routes.
carrierstringOptionalUS mobile carrier filter (tmo/tmobile, att/at&t, vz/verizon).
order-a-number
curl -X POST "https://api.smsdaddy.org/v1/order" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "service": "WhatsApp",
    "country": "US",
    "area_code": "212"
  }'
201 Created — Example Response
{
  "success": true,
  "request_id": "req_7b4e1190ff02c112",
  "message": "Number allocated successfully.",
  "data": {
    "order_code": "ORD984721",
    "server": 3,
    "service_name": "WhatsApp (United States)",
    "phone_number": "+12125550198",
    "price": 0.45,
    "new_balance": 48.30,
    "currency": "USD",
    "status": "Pending",
    "expires_at": "2026-11-27 06:35:00"
  }
}
GET /v1/order/{order_code}

Poll this endpoint every 5 seconds until status changes from Pending to Completed. If the session expires without receiving an SMS, your balance is refunded automatically and status becomes Refunded.

200 OK — OTP Received
{
  "success": true,
  "message": "Order status retrieved.",
  "data": {
    "order_code": "ORD984721",
    "server": 3,
    "service_name": "WhatsApp (United States)",
    "phone_number": "+12125550198",
    "status": "Completed",
    "otp_code": "482910",
    "sms_text": "Your WhatsApp code: 482-910. Do not share this code.",
    "price": 0.45,
    "expires_at": "2026-11-27 06:35:00",
    "created_at": "2026-11-27 06:15:00"
  }
}
POST /v1/order/{order_code}/cancel

Cancel an active Pending order before an SMS arrives and instantly refund the full cost to your wallet.

200 OK — Refunded
{
  "success": true,
  "message": "Order cancelled and refunded to your wallet.",
  "data": {
    "order_code": "ORD984721",
    "status": "Refunded",
    "refunded": 0.45,
    "new_balance": 48.75,
    "currency": "USD"
  }
}
GET /v1/orders

Retrieve paginated history of your orders. Optional query params: status (Pending, Completed, Cancelled, Refunded), limit (max 100), offset.

GET /v1/transactions

Retrieve your full financial wallet ledger (Credits, Debits, Refunds, Deposits). Supports limit & offset.

Third-Party Software Support

Automation Bot Protocol

Using automation software that expects the classic SMS-Activate plain-text handler protocol? Point your software directly to:

https://api.smsdaddy.org/stubs/handler_api.php
ActionQuery ExampleResponse
getBalance ?api_key=KEY&action=getBalance ACCESS_BALANCE:48.75
getNumber ?api_key=KEY&action=getNumber&service=whatsapp&country=US ACCESS_NUMBER:ID:12125550198
getStatus ?api_key=KEY&action=getStatus&id=ORDER_ID STATUS_WAIT_CODE / STATUS_OK:482910
setStatus ?api_key=KEY&action=setStatus&id=ORDER_ID&status=8 ACCESS_CANCEL
Troubleshooting

Error Codes Reference

HTTPError CodeMeaning
401UNAUTHORIZED / INVALID_API_KEYAPI key missing or incorrect.
402INSUFFICIENT_BALANCEWallet balance is lower than the service price.
403ACCOUNT_RESTRICTEDAccount is suspended or banned.
404ROUTE_NOT_FOUND / ORDER_NOT_FOUNDService route or order code does not exist.
409CANNOT_CANCEL / CANCEL_REJECTEDOrder already completed or within minimum carrier hold window.
422VALIDATION_ERRORMissing or invalid request body parameters.
429RATE_LIMIT_EXCEEDEDExceeded 60 requests per minute limit. Check Retry-After header.
500INTERNAL_ERROR / DATABASE_ERRORTemporary server error. Safe to retry.
503OUT_OF_STOCKNo numbers currently available in stock for the requested route.