Sending SMS

Send SMSs from your application by making an HTTP POST request to the SMS API. For each request sent from your application, we respond with a notification back indicating whether Success or Failed

SMS

POST https://renthero.co.ke/phpsap/developer/payments/sms.php

This endpoint allows you to send SMS.

Request Body

NameTypeDescription

username

string

Provide your application username

apiKey

string

Provide your application apiKey

Receiver

string

Provide the recipient phone number in international format ie +2547xxxxxxxx

Message

string

Provide the message that you want to send

{
    "status": "true",
    "response": {
    "Receiver":"+2547xxxxxxxx",
    "Cost":"0.8000",
    "apiStatus":"Success"
    }
}

Last updated