Single Sms
Create a single message
POST /https://gcpdfa.rahisi.co/messaging/api/v1/sendSMS
The Single SMS Partner API allows partners to send SMS messages to customers using a given short code and api key.
Headers
Name
Value
Content-Type
application/json
apiKey
`apiKey` (provided via email when a partner is created)
Body
Name
Type
Description
shortCode
number
The short code given to a user upon partner registration
message
string
The message to be delivered
to
string
The mobile number of the receiver of the message
Body Request
{
"shortCode": "111111",
"message": "Test message",
"to": "+254740000000"
}Response
{
"status": "success",
"message": "Message sent successfully!"
}{
"status": "error",
"message": "Invalid ShortCode"
}{
"status": "error",
"message": "Invalid API KEY"
}Last updated