canonical: https://jentic.com/apis/smsglobal.com/smsglobal

# SMSGLobal REST API

The SMSGlobal REST API sends and tracks SMS messages from an SMSGlobal MXT account, including scheduled sends, delivery notification callbacks and reading of incoming replies. It also manages the surrounding messaging setup: contact groups and contacts, opt-out lists, dedicated virtual numbers, shared pools, registered sender IDs backed by business profiles, and verified numbers. Account endpoints cover credit balance, low balance alerts, invoices, billing details and sub-accounts, and a call bridging endpoint connects two parties through a virtual number.

## For AI agents

Send scheduled or immediate SMS, read incoming replies, manage contacts, groups, and opt-outs, and check account balance and invoices on SMSGlobal.

## Scope

Does not handle email delivery, WhatsApp or chat messaging, or push notifications. Use for sending and receiving SMS and managing an SMSGlobal messaging account only.

## Capabilities

- Send one or many SMS messages with POST `/v2/sms`, setting origin, destination, message text, and an optional scheduledDateTime
- Filter sent messages by status, destination, source, or date range through GET `/v2/sms`
- Read incoming replies via GET `/v2/sms-incoming`, filtered by origin, destination, or startDate and endDate
- Maintain opt-out lists by validating and adding numbers with POST `/v2/opt-outs/validate` and POST `/v2/opt-outs`
- Organise recipients into contact groups and add contacts to a group with POST `/v2/group/{groupId}/contact`
- Register a sender ID against a business profile with POST `/v2/sender-id/register`
- Check remaining credit with GET `/v2/user/credit-balance` and configure low balance alerts

## Use cases

### AI agent sending customer notifications through Jentic

A support or operations agent connected through Jentic searches for 'send an SMS message', receives the SMSGlobal send operation with its schema, and posts a messages array with origin, destination and message for each recipient. It can then read GET `/v2/sms/{id}` to report the outcome, and GET `/v2/user/credit-balance` lets it warn the operator before credit runs out.

Example prompt: Search Jentic for 'send an SMS message', call POST `/v2/sms` with a messages array containing origin 'MyShop', destination '61400000000' and message 'Your order has shipped', then read GET `/v2/sms/{id}` for the returned message id

### Scheduled appointment reminders

Clinics, salons and service businesses send reminders ahead of bookings. Each message in a POST `/v2/sms` request can carry a scheduledDateTime so it is queued for later delivery, and an expiryDateTime to stop stale reminders. If a booking is cancelled, DELETE `/v2/sms/scheduled/{id}` removes the queued reminder before it sends.

Example prompt: Call POST `/v2/sms` with one message to destination '61400000001', message 'Reminder: your appointment is tomorrow at 10am' and scheduledDateTime set to the day before the booking, and delete it with DELETE `/v2/sms/scheduled/{id}` if the booking is cancelled

### Two-way SMS reply handling

Campaigns that ask customers to reply need those replies collected. GET `/v2/sms-incoming` lists inbound messages with filters for origin, destination, search text and a date range, and GET `/v2/sms-incoming/{id}` returns a single reply, so replies such as YES or STOP can be matched back to the customer record and acted on.

Example prompt: Call GET `/v2/sms-incoming` with startDate and endDate covering the last 24 hours and search 'STOP', then add each origin number to the opt-out list with POST `/v2/opt-outs`

### Opt-out compliance management

Marketing senders must respect opt-outs. POST `/v2/opt-outs/validate` checks a list of numbers before they are added, POST `/v2/opt-outs` records them in the optouts list, GET `/v2/opt-outs` searches the list by phoneNumber, and DELETE `/v2/opt-outs/{number}` opts a number back in when a customer re-subscribes.

Example prompt: Call POST `/v2/opt-outs/validate` with optouts ['61400000002', '61400000003'], then POST `/v2/opt-outs` with the valid numbers, and confirm with GET `/v2/opt-outs` filtered by phoneNumber

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/v2/sms` | Send messages |
| GET | `/v2/sms` | List outgoing messages |
| GET | `/v2/sms/{id}` | View an outgoing message |
| GET | `/v2/sms-incoming` | List incoming messages |
| DELETE | `/v2/sms/scheduled/{id}` | Delete a scheduled message |
| POST | `/v2/opt-outs` | Opt out mobile numbers |
| POST | `/v2/group/{groupId}/contact` | Add a contact to a group |
| GET | `/v2/user/credit-balance` | View the account balance |

## Key resources

- **SMS** — Send messages, list and filter outgoing messages, view details, and delete sent or scheduled messages
- **Incoming SMS** — List, view, and delete inbound replies
- **Contacts and groups** — Create groups, add contacts to a group, and update or delete contacts and groups
- **Opt-outs** — Validate, add, search, and remove opted-out numbers
- **Numbers and sender IDs** — Purchase dedicated numbers, view shared pools, register sender IDs, and manage business profiles
- **Account** — Credit balance, low balance alerts, invoices, billing and contact details, verified numbers, and sub-accounts

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 51 / 100
- **Maturity:** Foundational
- **Dimensions:**
  - Foundational Compliance: 73 / 100
  - Developer Experience & Jentic Compatibility: 63 / 100
  - AI-Readiness & Agent Experience: 30 / 100
  - Agent Usability: 93 / 100
  - Security: 50 / 100
  - AI Discoverability: 49 / 100
- **View full report:** https://jentic.com/apis/smsglobal.com/smsglobal/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring SMSGlobal by hand means generating an API key in your MXT account, sending it in the api_key header, and shaping the messages array for each send. Through Jentic you install once, import the SMSGlobal REST API from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** SMSGlobal carries the recipient and message inside the request body of POST `/v2/sms`, so rules bound which operations your agent may call, not which numbers it texts. Limit the agent to the operations it needs, such as sending messages and reading replies, and you choose the operations it may call, so destructive ones like deleting contact groups or purchasing a dedicated number are not included unless you add them.
- **Credential handling:** Your SMSGlobal API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'send an SMS message' or 'check SMS credit balance', and Jentic returns the matching SMSGlobal operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Twilio API** — Global SMS, voice, and messaging platform with a large number inventory
- **ClickSend API** — SMS, MMS, voice, email, and post from one account, popular in Australia
- **Plivo API** — Programmable SMS and voice with global carrier coverage
- **Resend API** — Transactional email sending for developers

## FAQ

### What authentication does the SMSGlobal REST API use?

Per its OpenAPI spec, the SMSGlobal REST API authenticates with an API key sent in a header named `api_key`, generated inside your SMSGlobal MXT account. The spec's own description notes that MXT issues an API key and secret, so check SMSGlobal's documentation for how the pair is presented. Through Jentic the credential is stored encrypted by your own Jentic One instance and injected when the call runs.

### Can I schedule an SMS for later with the SMSGlobal REST API?

Yes. Each entry in the messages array sent to POST `/v2/sms` accepts a scheduledDateTime, and an expiryDateTime if the message should not go out after a certain point. A queued message can be removed before it sends with DELETE `/v2/sms/scheduled/{id}.`

### What are the rate limits for the SMSGlobal REST API?

The OpenAPI spec does not specify rate limits. Check the SMSGlobal developer documentation at https://www.smsglobal.com for current limits, and send multiple recipients in one POST `/v2/sms` messages array rather than one request per message where you can.

### How do I send an SMS with the SMSGlobal REST API through Jentic?

Install Jentic One with `curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh`, add the SMSGlobal REST API from the Jentic API Directory, and store your SMSGlobal API key. Your agent then searches for 'send an SMS message', gets POST `/v2/sms` with its schema, and submits a messages array with origin, destination and message. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Can I limit what my agent is allowed to do with the SMSGlobal REST API?

Yes. For example, write a rule that allows only GET `/v2/sms-incoming` and GET `/v2/sms`, and the agent can read replies and delivery history without being able to send a message, buy a dedicated number, or move credit to a sub-account. Every call it makes is logged.

### Can the SMSGlobal REST API tell me my remaining credit?

Yes. GET `/v2/user/credit-balance` returns the account balance, and PUT `/v2/user/low-balance-alerts` sets an enabled flag, a threshold and a sendto address so you are warned before credit runs out. GET `/v2/invoices` lists past invoices filtered by startDate and endDate.
