Send SMS message
POST/api/v1/sms
Send an SMS message from a DID number owned by the authenticated user.
Requirements:
- Source DID must be owned by user
- Source DID must have SMS enabled
- Sufficient account balance for SMS cost
- Valid destination phone number
Cost:
- Charged per segment (160 characters)
- Price varies by destination country
sms.id feeds sms_show. See also: numbers_search_show, to find SMS-enabled numbers to buy.
Request
Responses
- 200
- 400
- 403
- 422
Successfully sends SMS message and returns details with ID
The request body must be valid JSON.
Returns 403 error when destination number is blocked
Returns 422 error when destination phone number is invalid