POST

Send SMS

Dispatch an SMS message to a customer.

POST/v2/messaging/sms/send

Body Parameters

ParameterTypeRequiredDescription
phone_numberstringYESThe recipient's phone number in international format.
messagestringYESThe 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"}'