> ## Documentation Index
> Fetch the complete documentation index at: https://cpaas.fireflo.au/llms.txt
> Use this file to discover all available pages before exploring further.

# SMS

> How to connect SMS, send it from the Send page, read the SMS dashboard, reply by SMS in the Inbox, and what SMS does with and without batteries.

SMS sends text messages from your **sender IDs**, using your approved **templates**
where your provider requires them. Replies land in the [Inbox](https://cpaas.fireflo.au/using/inbox.md), every
message is on the contact's timeline, and delivery reports come back on their own.

**The plan must include SMS.** The menu then shows an **SMS** section with Dashboard,
Send SMS, Sender IDs, Templates and Settings, and **API & playground** for people who
may configure channels.

## Set up SMS

**1. Choose how you connect**

Open **SMS → Settings**. Under **Connection**, **Default** is the FireFlo gateway,
managed by FireFlo, with nothing to set up. **My own gateway** takes your own
gateway's address, login and password, where your provider allows it; **Test
connection** checks the login straight away.

**2. Set your default country**

Under **Numbers**, the **Default country** is used for numbers typed without a
country code: its two-letter code, such as `AU`.

**3. Switch stamping on if your messages need stamps**

Under **Stamps**, switch on **Stamp SMS with TLVs** when a provider, a regulator or a
carrier asks for tagged parameters on your messages. See
[Sender IDs, templates and stamps](https://cpaas.fireflo.au/channels/sms-sender-ids-and-stamps.md#stamps).

**4. Request a sender ID and add templates**

Under **Sender IDs** and **Templates**, request the names and wording you will send.
Your provider approves each one.

On the FireFlo gateway, Settings shows the gateway, the message types on offer, the
connection's state and your SMS balance. To send from your own SMPP client straight to
the gateway, **Create SMPP login** makes a login for it.

![SMS settings with the managed connection, its message types, state and balance.](https://mintcdn.com/fire-flo-omno/f9pD9CpY9U3SxOsQ/images/shots/sms-connector-light.webp?fit=max\&auto=format\&n=f9pD9CpY9U3SxOsQ\&q=85\&s=c6e447d96c11142dfe4e1225e0871438)

SMS → Settings: the FireFlo gateway connection, its message types, its state and the SMS balance.

### Delivery reports

Delivery reports come back from the gateway as they happen and update every screen.
They are always kept in OMNI. Under **Delivery reports** you can also **forward delivery reports to your own
endpoint**: a copy is posted to your https address as each one arrives.

![SMS settings with Delivery reports open: reports are kept in OMNI, and a copy can be forwarded to your own endpoint.](https://mintcdn.com/fire-flo-omno/f9pD9CpY9U3SxOsQ/images/shots/sms-connector--delivery-reports-light.webp?fit=max\&auto=format\&n=f9pD9CpY9U3SxOsQ\&q=85\&s=162e26ce45be024487383deca3f3495e)

Delivery reports: kept in OMNI, with a copy forwarded to your own endpoint if you want one.

### On your own gateway

Settings shows two **Callback URLs**:

* **Delivery reports** — sent with every message automatically. Nothing to set up.
* **Replies (inbound SMS)** — give this to your gateway provider so replies reach your
  Inbox.

## Send SMS

SMS is sent from the [Send page](https://cpaas.fireflo.au/using/send.md), which works the same way for every
channel: **Who**, **From**, **Message** and **When**, with the message drawn on a phone
beside them. **SMS → Send SMS** opens it with SMS chosen; its own address still works.
What is particular to SMS:

**1. From**

Pick one of your approved sender IDs. Where your provider doesn't require approved
sender IDs, you can also leave it on your gateway login's default.

The **SMS type**, such as Transactional or Promotional, is shown when your provider
has switched SMS types on for your account. It is what the message is priced and
routed as. With several types you choose one for each send; with one, the page shows
it. If the page says **No SMS type is switched on for your account yet**, ask your
provider to switch one on. Nothing can be sent until then.

**2. Message**

**Use a template** and fill in its blanks, or **Write a message**. When your account
sends approved templates only, the page says so and offers templates alone.

With a file, a segment or an audience in Who, each blank offers **Type a value** —
the same for everyone — or a field: a column of the file, or Name, Number and your
contact fields. Each person then gets their own value, and the preview steps through
them. A written message has chips that insert a field.

Under the message, OMNI shows the encoding (GSM-7 or Unicode), the length and the
number of segments. With stamping on, **Stamps on this send** shows the stamps the
message will carry; see
[Change the stamps of one send](https://cpaas.fireflo.au/channels/sms-sender-ids-and-stamps.md#change-the-stamps-of-one-send).

**3. When**

**Now**, or **Send later** at a date and time; until then you can cancel it or send
it early. **Keep trying for** sets how long the carrier retries a phone that's off:
the carrier's default, 1 hour, 6 hours, 1 day or 2 days. **High priority** is for
codes and alerts that can't wait.

**4. Check the cost and send**

Beside **Send**, the page shows the **cost** before you confirm: the amount and where
it comes from; for a reseller's customer, the units it uses and how many are left; on
your own gateway, **Billed by your provider**; for SMS charged at the gateway,
**Charged at the gateway when sent** with the gateway balance last read. Type names
are the ones on your price list.

A send to more than 10 typed numbers, or to a file, a segment or an audience, opens
the **review** first and then runs as a [broadcast](https://cpaas.fireflo.au/using/broadcasts.md). A row whose
value doesn't fit a blank, such as letters in a digits-only blank, is skipped, with
the reason.

![Send SMS with the sender ID, the SMS type, the message with its character and part count, and the preview.](https://mintcdn.com/fire-flo-omno/f9pD9CpY9U3SxOsQ/images/shots/sms-send-light.webp?fit=max\&auto=format\&n=f9pD9CpY9U3SxOsQ\&q=85\&s=1bff667b0dbda9ad1e3d08efab0d58c0)

Send with SMS chosen: who it goes to, the sender ID and SMS type, the message, when, and the preview.

![Send SMS with an approved template chosen for a segment and its two blanks typed in, the preview shown per person.](https://mintcdn.com/fire-flo-omno/f9pD9CpY9U3SxOsQ/images/shots/sms-send--template-blanks-light.webp?fit=max\&auto=format\&n=f9pD9CpY9U3SxOsQ\&q=85\&s=80d8f0bd414f31ceef523b3654a2ccfc)

A template sent to a segment: each blank typed once for everyone, and the preview stepping through the people.

**Send a test to me**, beside the cost, sends the message as it is filled in to your own
number. It is a real message and is charged like one.

You can also start an SMS from a contact's page with **Send SMS**.

> [!TIP]
>
> A message longer than one segment is sent as several and charged per segment. Unicode
> characters — many non-Latin scripts and emoji — make segments shorter.

### Unicode

OMNI picks the alphabet for you. A message whose every character is in the standard SMS
alphabet (GSM-7) holds 160 characters, or 153 in each part of a longer one. A message with
any other character — text in Hindi, Arabic or another script, an emoji, a curly quote
pasted from a document — is sent as **Unicode**, which holds 70 characters, or 67 in each
part. An emoji takes two of those.

One such character is enough to make the whole message Unicode. When only one or two
characters are what did it, a line under the counter names them, for example *Sent as
Unicode because of “’”: 70 characters a part instead of 160.* Replace the character with a
plain one to bring the message back to the longer limit.

In a broadcast each person's message gets the alphabet its own text needs, so one name in
another script does not shorten everyone else's.

![Send SMS with a Hindi message typed, showing the Unicode encoding, its length and the number of parts.](https://mintcdn.com/fire-flo-omno/f9pD9CpY9U3SxOsQ/images/shots/sms-send--unicode-light.webp?fit=max\&auto=format\&n=f9pD9CpY9U3SxOsQ\&q=85\&s=fbbaa92a59f44205bb438697f2c0fc2c)

A message in Hindi: sent as Unicode, with its length and the number of parts it takes.

## The SMS dashboard

**SMS → Dashboard** is laid out like every channel's
[dashboard](https://cpaas.fireflo.au/using/dashboard.md): pick **Today**, **7 days**, **30 days** or **Custom**, and
each figure is compared with the period before.

* **Submitted** (messages and segments), **Delivered**, **Failed**, **Awaiting a report**,
  **Link clicks** (with Short links) and **Cost** — cost is shown only to people who may
  see Billing. Delivered is the share of the messages that got an answer.
* **SMS per day**, and the path **from submitted to reply**: submitted, accepted,
  delivered, clicked and replied.
* **What went wrong**: each reason in plain words with the carrier's code beside it, and
  a link to the Delivery report.
* **What the carrier said** — the delivery report's status, kept word for word as the
  gateway gave it. It tells apart **Awaiting a report** (no report yet), **Never sent**
  and **No stat from the carrier**, and agrees with the figures above it.
* **By country**, **when people click**, recent broadcasts and the breakdowns by SMS type
  and by sender ID.
* **Health**: your gateway account, and your sender IDs and templates by status. Only
  approved ones are offered when you send.

![The SMS dashboard with its figures, the SMS per day chart and the breakdowns by type, sender and country.](https://mintcdn.com/fire-flo-omno/f9pD9CpY9U3SxOsQ/images/shots/sms-dashboard-light.webp?fit=max\&auto=format\&n=f9pD9CpY9U3SxOsQ\&q=85\&s=add7aa8af640d68da6278d975530213a)

The SMS dashboard: six figures, SMS per day and the path from submitted to reply.

![The lower half of the SMS dashboard over 30 days: what went wrong, what the carrier said word for word, by country and recent broadcasts.](https://mintcdn.com/fire-flo-omno/f9pD9CpY9U3SxOsQ/images/shots/sms-dashboard--breakdowns-light.webp?fit=max\&auto=format\&n=f9pD9CpY9U3SxOsQ\&q=85\&s=986e08b3016302c285193a727138abcc)

Further down: what went wrong, what the carrier said word for word, by country and recent broadcasts.

## API & playground

People who can configure channels also see **API & playground**, when the plan includes
API access: the FireFlo gateway's own API — its calls for health, balance, sending and
sender IDs — with its documentation, a live runner and code samples. For sending from
your own software, most integrations use the [OMNI API](https://cpaas.fireflo.au/developers/overview.md) instead,
which also manages [sender IDs](https://cpaas.fireflo.au/api-reference/sms/list-senders.md) and
[templates](https://cpaas.fireflo.au/api-reference/sms/list-templates.md).

![The SMS API & playground page, listing the gateway's calls for health, balance, sending and sender IDs.](https://mintcdn.com/fire-flo-omno/f9pD9CpY9U3SxOsQ/images/shots/sms-connector--api-light.webp?fit=max\&auto=format\&n=f9pD9CpY9U3SxOsQ\&q=85\&s=a4198514a1c934e0dd3fb4087f35d617)

API & playground: the gateway's own calls, to read and to try.

## Replying by SMS in the Inbox

Replies arrive in the [Inbox](https://cpaas.fireflo.au/using/inbox.md) in the person's SMS thread, and you answer
from the same reply box as on every channel.

* **Sender and type are asked once.** When your account has more than one approved
  sender ID or more than one SMS type, the first SMS reply to a person asks which to
  use — "Send this SMS as" — offering first the sender they wrote to. The answer is
  remembered for that person, on any device, and asked again only when something must
  be chosen.
* **One quiet line** under the text shows who the SMS is from, its type, the characters
  and parts, and how many TLVs go with it. **⋯ → Sender, type and TLVs** changes them.
  An AI draft a person sends uses that person's remembered values.
* **A template from the Inbox**: **⋯ → Template** opens one panel, in **Easy** or
  **Advanced** (remembered for you; Easy at first). Easy is the template, its blanks,
  the preview and Send. Advanced adds the sender ID, the SMS type, the cost and **Sent
  with this SMS**: the TLVs with their tag and value, which you can change, add, remove
  or put back for that one message. With stamping off for your account there is no TLV
  block. The SMS is sent through the conversation, so it is checked, stamped, charged and
  filed like a typed reply.
* **Consent follows the SMS type.** An SMS sent from the Inbox is checked for consent by
  its type: a type whose consent check is **Marketing** is refused for someone who
  stopped SMS offers. FireFlo sets the check for each type, as Transactional or
  Marketing; a type with none set counts as Marketing when "promo" or "marketing" is in
  its name.
* An SMS reply sent from the Inbox stays in the conversation; it doesn't appear in the
  broadcasts list.

## Opt-outs and limits

* **STOP** stops a person on every channel; do-not-contact and quiet hours are always
  honoured. With the [Customer data](https://cpaas.fireflo.au/batteries/customer-data.md) battery, people can stop
  SMS alone, or SMS marketing alone.
* When your provider enforces approval, a message from an unapproved sender ID, or one
  that matches no approved template, is refused. See
  [Sender IDs, templates and stamps](https://cpaas.fireflo.au/channels/sms-sender-ids-and-stamps.md).
* For a reseller's customer, an SMS broadcast **pauses** when the customer runs out of
  units, or the reseller out of credit, and carries on when units arrive. A refusal the
  gateway reports late still fails that message.

## What batteries add on SMS

SMS works with no battery at all. Each one below adds to it when it is in your plan.

| Battery | What it adds on SMS |
| :- | :- |
| [AI Agents](https://cpaas.fireflo.au/batteries/ai-agents.md) | An agent answers on SMS by filling in one of your approved templates word for word — only the blanks change. When no template fits, it drafts one and asks for it to be registered (after approval, if your policy says so). An inbound SMS can start or continue a workflow; questions go as "Reply 1 or 2". Reminder stories go by SMS when WhatsApp isn't available. You can ask about an SMS broadcast's results in plain words. |
| [Calendar](https://cpaas.fireflo.au/batteries/calendar.md) | Appointment reminders and confirmations go by SMS when the person has no open WhatsApp route and the text matches a template. The one-time code for booking online can be sent by SMS. |
| [Catalogue](https://cpaas.fireflo.au/batteries/catalogue.md) | Products are sent as names and prices with a link to your public catalogue page; `{{catalogue_link}}` in a broadcast leads to the same page. |
| [Customer data](https://cpaas.fireflo.au/batteries/customer-data.md) | Someone can stop SMS marketing or SMS updates without stopping everything. You can require a recorded opt-in before SMS marketing, add your own stop and start words with an optional confirmation reply, show SMS on the preference page, use an audience as an SMS broadcast's recipients, and build audience rules on SMS consent. SMS messages feed last engaged, reply rate and preferred channel. |
| [Pipelines](https://cpaas.fireflo.au/batteries/pipelines.md) | SMS messages show on a deal's timeline; a contact's deals show beside their SMS thread. |
| [Tickets](https://cpaas.fireflo.au/batteries/tickets.md) | An SMS conversation can be raised as a ticket, and closing or assigning it keeps the ticket in step. |

## Who may

| To | Permission | Roles by default |
| :- | :- | :- |
| Connect SMS and change its settings; use API & playground | Configure channel modules | Owner, Admin |
| Request sender IDs and templates | Manage sender IDs and template registrations | Owner, Admin |
| Send SMS | Send messages | Owner, Admin, Support |
| See the SMS dashboard | View the message log and delivery reports | Owner, Admin, Support, Viewer |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.