Request Body
The recipient phone number(s) in E.164 format (e.g.,
+14155551234). Can be a single number or an array of up to 100 numbers.The SMS message content. Maximum 1600 characters (will be split into multiple segments if needed).
Optional alphanumeric sender ID (1-11 characters, e.g.,
Unosend). Note: Not all countries support custom sender IDs. If not provided, defaults to Unosend.Custom key-value pairs to attach to the message for your reference.
Tags to categorize the message for filtering and analytics.
Response
Returns an array of results for each recipient.Segment Calculation
SMS messages are charged per segment:- GSM-7 encoding (standard characters): 160 characters per segment
- Unicode/UCS-2 (emojis, special chars): 70 characters per segment
- Multi-part messages: 153 chars (GSM-7) or 67 chars (Unicode) per segment due to header overhead
Example
Response Example
Pricing
SMS is pay-as-you-go from your wallet balance:- First 10 SMS: Free (per organization, lifetime)
- After free tier: $0.01 per SMS segment
Delivery Reports
SMS delivery status is automatically updated via webhooks. You can:- Check status by fetching the message:
GET /v1/sms/{id} - Set up webhooks to receive delivery notifications
Opt-Out Handling
Recipients can opt out by replyingSTOP to any message. Unosend automatically:
- Blocks future messages to opted-out numbers
- Returns an error when attempting to send to opted-out recipients
- Processes opt-in requests when recipients reply
START