Use this API to send SMS messages by making a POST request to the endpoint.
POST https://smsgateway.service.scribblecubes.ph/api/broadcast/sms
{
"token": "<API_TOKEN>",
"recipient": "<RECIPIENT_MOBILE_NUMBER>",
"message": "<MESSAGE>"
}
curl -X POST "https://smsgateway.service.scribblecubes.ph/api/broadcast/sms" \
-H "Content-Type: application/json" \
-d '{
"token": "your_api_token",
"recipient": "1234567890",
"message": "Hello, this is a test message."
}'
axios.post("https://smsgateway.service.scribblecubes.ph/api/broadcast/sms", {
token: "your_api_token",
recipient: "1234567890",
message: "Hello, this is a test message."
}).then(response => {
console.log("Success:", response.data);
}).catch(error => {
console.error("Error:", error);
});