Integrate DS SMS HUB virtual numbers (Servers 1–6) and social boost orders with hashed API keys, scopes, rate limits, and idempotent purchases.
https://dssmshub.com/api/v1Authorization: Bearer dss_live_… only (no query-string keys).Authorization: Bearer <raw_key> on every request.balance:read, numbers:read, numbers:buy, orders:read, orders:cancel, boost:read, boost:order.{
"success": true,
"message": "OK",
"data": { },
"request_id": "…"
}
Every response includes X-Request-ID and Cache-Control: no-store.
| Method | Path | Scope |
|---|---|---|
| GET | /balance | balance:read |
| GET | /otp/servers | numbers:read |
| GET | /otp/countries?server= | numbers:read |
| GET | /otp/services?server=&country= | numbers:read |
| GET | /otp/price?server=&service=&country= | numbers:read |
| POST | /otp/orders | numbers:buy |
| GET | /otp/orders/{id} | orders:read |
| POST | /otp/orders/{id}/cancel | orders:cancel |
| GET | /boost/services | boost:read |
| POST | /boost/orders | boost:order |
| GET | /boost/orders/{id} | boost:read |
Returns the live catalog in NGN: service_id, name, platform, rate per 1,000, minimum and maximum quantity. Optional query platform (Instagram, TikTok, Facebook, YouTube, X). Reload this list before ordering. Service IDs can change when the catalog is refreshed.
curl "https://dssmshub.com/api/v1/boost/services?platform=Instagram" \ -H "Authorization: Bearer YOUR_KEY"
Requires Idempotency-Key. Body: service_id, link, quantity. Price is calculated on the server from the wallet. Client-supplied price is ignored. Orders are prepaid from the DS SMS HUB wallet.
curl -X POST "https://dssmshub.com/api/v1/boost/orders" \
-H "Authorization: Bearer YOUR_KEY" \
-H "Idempotency-Key: unique-request-id" \
-H "Content-Type: application/json" \
-d '{"service_id":"123","link":"https://instagram.com/example","quantity":1000}'
id is the DS SMS HUB order id. order_id is the fulfillment reference. Status values: pending, in_progress, completed, partial, cancelled, refunded. There is no sandbox, no boost cancel, and no boost webhook in this version. Test orders spend real wallet balance. You may add your own markup on top of the NGN rate.
curl "https://dssmshub.com/api/v1/boost/orders/12345" \ -H "Authorization: Bearer YOUR_KEY"
Requires header Idempotency-Key. Body fields: server (1–6), service, optional country, optional service_name. Client-supplied price / user_id / status are ignored.
curl -X POST "https://dssmshub.com/api/v1/otp/orders" \
-H "Authorization: Bearer YOUR_KEY" \
-H "Idempotency-Key: unique-request-id" \
-H "Content-Type: application/json" \
-d '{"server":1,"service":"whatsapp","country":"1"}'
curl "https://dssmshub.com/api/v1/otp/orders/12345" \ -H "Authorization: Bearer YOUR_KEY"
Refunds run only after the upstream server confirms cancel or the order is already closed/expired. Local wallet credit uses a single lock (no double refund).
When an OTP arrives, we POST JSON to your webhook URL:
{
"order_id": 12345,
"number": "+1…",
"sms_code": "123456",
"service": "WhatsApp",
"server": 1,
"server_label": "Server 1",
"received_at": "2026-10-01T12:00:00+00:00"
}
Verify X-DSS-Signature: sha256=<hmac> where HMAC-SHA256 is computed over timestamp + "." + raw_body using your webhook secret (X-DSS-Timestamp header).
429 with Retry-After when exceededUse HTTPS in production. Never commit API keys or webhook secrets.