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
Authentication:
- Requires Bearer token in Authorization header:
Authorization: Bearer <token>
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