SMS Messaging API Quickstart

Start sending SMS messages by following these simple steps.


Although, this API is supported, we suggest using a more modern and feature-rich Omnichannel API for sending SMS messages.

Sending a message using the API is a three-step process.

  1. Sign up to Messente and receive your API keys (no credit card required).
  2. Verify your phone number as sender ID or request a branded Sender name .
  3. Using the API keys, make an API request with the desired message and recipient.

1. Install a library

We provide libraries for Python, PHP and Java. For other languages, you can use the API by making HTTP request manually.

An alternative is to use an improved Omnichannel API that has wider support for libraries.


2. Send a single SMS

Use the following example to send an SMS using Messaging API.

Detailed API Reference on sending an SMS

import messente

api = messente.Messente(username="YOUR_API_USERNAME", password="YOUR_API_PASSWORD")
api.sms.send({"from": "SenderID", "to"="+XXXxxxxxxxxx", "text"="Your parcel will be delivered at 10AM"})

print("Message sent:", response.get_sms_id())
    

Next steps

Now that you can send messages it's time to see if they reach the recipient by tracking delivery reports.