Send an SMS.
Send an SMS from the number configured for this API key's location. Metered at 1.45 credits per segment.
Segments. A short message is one segment; a longer one is split into several segments and joined back together on the recipient's phone, so they still see a single message.
| Message contains | One segment holds | Longer messages: each segment holds |
|---|---|---|
| Only standard characters (A–Z, a–z, 0–9, common punctuation) | 160 characters | 153 characters |
| Any emoji or special character (e.g. 😊, ✓, “curly quotes”, Hebrew letters) | 70 characters | 67 characters |
A single emoji or special character switches the whole message to the 70-character limit. A few standard characters count as two: ^ { } [ ] ~ \ | €.
Examples: a 37-character standard message is 1 segment; a 200-character standard message is 2 segments; a 100-character message with one emoji is 2 segments.
To stay in one segment: keep it under 160 characters, avoid emoji, and use straight quotes (" ') rather than curly ones.
Headers
x-api-keyThe x-api-key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Send an SMS. › Request Body
toDestination number in E.164 form.
bodyMessage text.
Send an SMS. › Responses
Message accepted for delivery.
sidstatus