SMS-API.cc

Developer API Reference

Integrate SMS-API.cc directly into your backend architecture. Send OTPs, order alerts, and marketing broadcasts with sub-second SS7 prioritization.

1. Authentication

Every REST request must include your Secret API key in the Authorization header:

Authorization: Bearer sk_live_your_secret_key_here

Retrieve your secret API key from the Dashboard API Settings.

2. Send SMS Endpoint

POST https://sms-api.cc/api/v1/sms/send

Request Headers

HeaderTypeDescription
AuthorizationStringBearer sk_live_...
Content-TypeStringapplication/json

Request Body (JSON)

FieldTypeRequiredDescription
recipientStringYesDestination phone in E.164 format (e.g. +12025550192)
messageStringYesSMS message text content (UTF-8 or GSM-7)
sender_idStringNoCustom alphanumeric sender ID (max 11 chars). Defaults to SMS-API.

Example Request (cURL)

curl -X POST "https://sms-api.cc/api/v1/sms/send" \
  -H "Authorization: Bearer sk_live_8f0a28f89c09d3b84a9" \
  -H "Content-Type: application/json" \
  -d '{
    "recipient": "+12025550192",
    "message": "Your SMS-API verification passcode is 839-201.",
    "sender_id": "SMS-API"
  }'

Example Response (200 OK)

{
  "success": true,
  "message_id": "msg_89f02c918b",
  "recipient": "+12025550192",
  "segments": 1,
  "cost": 0.007,
  "status": "delivered",
  "timestamp": 1728892800
}

3. SMPP v3.4 Gateway Protocol

For high-volume telecom connections, connect your SMSC / gateway client via SMPP:

ParameterValue
Hostsmpp.sms-api.cc
Port (Unencrypted)2775
Port (TLS / SSL)3550
System IDYour account email address
PasswordYour API Key or Account Password
System TypeSMPP
Bind TypeTransceiver (TRX) / Transmitter (TX)

4. Webhook Callbacks (DLR)

Configure automated HTTP POST callbacks to receive real-time carrier delivery notifications:

{
  "event": "message.delivered",
  "message_id": "msg_89f02c918b",
  "recipient": "+12025550192",
  "status": "delivered",
  "carrier_code": "AT&T-310",
  "delivered_at": "2026-10-14T07:45:00Z"
}

5. Status & Error Codes

HTTP CodeStatusMeaning
200OKMessage successfully routed via SS7 carrier signaling.
400Bad RequestMissing recipient or empty message body.
401UnauthorizedInvalid or revoked API Key.
402Payment RequiredInsufficient balance. Add funds via NowPayments.
429Rate LimitedThroughput quota exceeded. Contact support to raise TPS.