Send an SMS message
Queues a single SMS for delivery and returns the message ID plus billing breakdown immediately. The message is delivered asynchronously; poll GET /api/v2/notify/{messageId} for delivery status.
Queues a single SMS for delivery and returns the message ID plus billing breakdown immediately. The message is delivered asynchronously; poll GET /api/v2/notify/{messageId} for delivery status.
X-API-Key<token>
API key authenticating the request.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v2/notify" \ -H "Content-Type: application/json" \ -d '{ "message": "string", "phoneNumber": "string" }'{ "success": true, "messageId": "string", "queued": true, "cost": 0, "parts": 0, "pricePerMessage": 0, "encoding": "string", "length": 0}