Send an SMS with the API

Last updated November 29, 2026

Send a text from your own app or website, such as an order update or a reminder. Your developer does this with one request.

Before you start

There's no test mode: every message is really sent and charged.

Send a message

Shell
curl -X POST https://api.v1.simpu.co/sms/send \
  -H "Authorization: YOUR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sender_id": "ExampleBks", "recipients": "2348031234567", "content": "Your order 1042 has shipped."}'

Send the key on its own, without the word "Bearer".

A successful reply looks like this. The amounts are only an example.

JSON
{
  "status": 200,
  "type": "success",
  "message": "Successful",
  "data": {
    "text": {
      "id": "MESSAGE_ID",
      "content": "Your order 1042 has shipped.",
      "recipients": ["2348031234567"],
      "sender_id": "ExampleBks",
      "channel": "sms"
    }
  },
  "meta": {
    "estimate": {
      "charge": 4.0,
      "available_balance": 1000.0,
      "pages": 1,
      "message_length": 28,
      "encoding": "GSM"
    }
  }
}

A successful reply means we've accepted the message, not that it has reached the phone.

What you can send

  • recipients (required): one phone number, or several separated by commas, as a single piece of text. Nigerian numbers only: 2348031234567, +2348031234567 and 08031234567 all work.
  • content: your message. Placeholders such as {{name}} aren't filled in, so send the finished text.
  • template_id: send a saved SMS template instead of content. If you send both, the template is used.
  • sender_id: one of your sender IDs. Leave it out to use your default.

You need either content or template_id.

What it costs

You pay for each number, for each page of the message. A number listed twice is only charged once.

Messages to numbers with Do Not Disturb on are still charged. Your Unsubscribers list isn't checked for messages sent through the API, so leave out anyone who has asked you to stop.

If it fails

  • "You are not authorized to access this resource…": the key is missing, wrong or revoked. With a publishable key you get the same message: use your secret key.
  • "OrganisationID not found in header": you put "Bearer" before the key. Send the key on its own.
  • "No valid recipients found…": none of the numbers is a valid Nigerian number. If only some are bad, the rest are sent and the bad ones are listed under warnings.
  • "Sender ID (…) not found for this organization.": check the spelling against your sender IDs.
  • "Insufficient fund to send text…": top up your SMS wallet. Nothing was sent.

Find your message

In the SMS app, click Developers, then SMS Logs, and search for the phone number.

SMS Logs with one delivered message opened

To try a message without writing code, use the API Sandbox. The full reference is at docs.simpu.co.