Send SMS Local

This API allows you to send SMS messages to a mobile phone number.

Send SMS

POST https://api.getspendo.com/gateway/api/v1/send/sms

Headers

NameTypeDescription

apiKey*

String

The API key that you get from spendo's dashboard.

Request Body

NameTypeDescription

from*

string

The sender ID you want to appear as the sender of the message.

message*

string

The text message that you want to send, formatted as a string.

to*

string

The phone number of the recipient, formatted as a string without any spaces or special characters.

{
  "success": true,
  "message": "Message sent",
  "code": 0,
  "data": null
}

Good to know: You can use our API Method block to fully test all the API method.

Take a look at how you might call this method using our official libraries, or via curl:

curl --location --request POST 'https://api.getspendo.com/gateway/api/v1/send/sms' \
--header 'apiKey: test_api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
  "from": "string",
  "message": "string",
  "to": "string"
}'

Last updated