📡 SMS Broadcast API

Use this API to send SMS messages by making a POST request to the endpoint.

📌 Endpoint

POST https://smsgateway.service.scribblecubes.ph/api/broadcast/sms

📤 Request Body

{
    "token": "<API_TOKEN>",
    "recipient": "<RECIPIENT_MOBILE_NUMBER>",
    "message": "<MESSAGE>"
}

💡 Example Usage

🔹 Using cURL

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."
    }'

🔹 Using Axios (JavaScript)

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);
});