Send SMS
https://core.hisend.hunnovate.com/api/v1/projects/{project_identifier}/sms?api_key={api_key}
Send SMS to a phone number
Query Params
api_key string required
The api key from your dashboard
Body Parameters
phone string required
Phone number to send the SMS to
message string required
Message to send in the SMS
schedule_if_off_hours string optional default to
Schedule the SMS to be sent by 8:10 am if the sms is being sent after 8PM. Note NCC restriction does not allow SMS delivery between 8PM and 8AM
422 Error Response Example
{
"message": "Error sending SMS",
}
200 Success Response Example
{
"data": {
"id": "01jtk9f6xtp5bqycmj8x68040f",
"phone": 1234567890,
"message": "Hello World",
},
"message": "SMS sent successfully",
}