Made for production use

Live and test keys
Keys start with jtsms_live_ or jtsms_test_. Test keys behave like the real API without sending or charging.
Idempotent retries
Send an Idempotency-Key header and a repeated request returns the first result, with no second charge.
Signed webhooks
A POST to your URL when a message reaches a final status, signed with HMAC-SHA256.
Rate check
Ask for the parts and total cost of a message before you send it.
Balance on the API
Read your USD balance and ledger from your own systems.
Scoped keys
Give each key only the scopes it needs: send, query or webhooks.

What the API covers

  • Single, bulk and batch sends
  • Message status by id and message search
  • Contacts, groups and campaigns
  • One-time passwords with the Verify API
  • Sender IDs and opt-outs
  • Clear JSON errors with a code, a message and a request id

One request to send

Numbers in international format. Local Nigerian numbers such as 0803... are read as +234.

send.http
POST /v1/messages/send
Authorization: Bearer jtsms_live_YOUR_KEY

{
  "to": "+2348031234567",
  "text": "Your order JT-2048 is out for delivery.",
  "sender_id": "MyShop"
}

# 200 OK
{
  "id": "6f1c2b9e-1d2a-4c55-9a0e-2b7f0c1d3e4f",
  "status": "submitted",
  "segments": 1,
  "encoding": "GSM-7"
}

Questions

Which languages are supported?

Any language that can make an HTTPS request. The docs have examples for cURL, Node.js, Python and PHP.

Is there a sandbox?

Yes. A test key returns realistic responses and statuses, but no SMS leaves and no credit is used.

How are long messages billed?

Each part is billed at the country price. The response tells you how many parts were used.

Start with a free test key

Create an account, try the API with a test key, then top up when you are ready to send.