Skip to main content
Sends an SMS message via Twilio using a phone number on your account. The cost is automatically deducted from your balance.

Endpoint

POST /user/sms

Request

integer
required
ID of your phone number to send from. The number must be SMS-capable.
string
required
Recipient phone number in international format (e.g., +1234567890).
string
required
SMS message content. Maximum 300 characters.

Response

string
Confirmation message.
object
SMS record details.

Example

201 Success
400 Not SMS-capable
400 Insufficient balance
Long messages are split into multiple segments, each billed separately. Keep messages under 160 characters to stay within a single segment.