Skip to Content
🔥 Fire SMS — Simple, developer-friendly SMS API.Get Started →

📨 Send a Message

POST /api/v1/send

Send an SMS to any phone number.


Request Body

ParameterTypeRequiredDescription
api_keystring✅Your Fire SMS API key
tostring✅Recipient number — include country code, no + (e.g. 27821234567)
textstring✅The message body

Include the country code without a leading +. For South Africa, 0821234567 becomes 27821234567. For Lesotho, 59001234 becomes 26659001234.


Example Request

curl -X POST https://firesms.vercel.app/api/v1/send \ -H "Content-Type: application/json" \ -d '{ "api_key": "YOUR_API_KEY", "to": "27821234567", "text": "Hello from Fire SMS" }'

Response

{ "status": "success", "id": "msg_abc123", "batch_id": "msg_abc123", "price": 0.25, "remaining_credits": 49.75 }
FieldTypeDescription
statusstringsuccess or error
idstringUnique message ID
pricenumberCost charged for this message in ZAR
remaining_creditsnumberYour remaining credit balance in ZAR

Error Response

{ "status": "error", "error": "Insufficient credits. Please top up your account." }
HTTP statusMeaning
400Missing or invalid parameters
401Invalid API key
402Insufficient credits
422No SMS provider configured — set one up in Settings
500Send failed — check your provider credentials
Last updated on