POST
Send SMS
Dispatch an SMS message to a customer.
POST/v2/messaging/sms/send
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
phone_number | string | YES | The recipient's phone number in international format. |
message | string | YES | The SMS content. |
Example Request
cURL
curl -X POST "https://sandbox.hexcore.io/v2/messaging/sms/send" \-H "Authorization: Bearer sk_test_your_secret_key" \-H "Content-Type: application/json" \-d '{"phone_number": "+2348012345678", "message": "Your OTP is 123456"}'