# Connect Termii

Source: https://kirora.io/docs/guides/messaging/sms/connect-termii

Connect your Termii API key, add Kirora's delivery report webhook, turn on the DND route for one-time codes, and send your first text.

Kirora sends through your own Termii account, from the sender IDs Termii has approved for you. Termii bills you from your wallet; Kirora adds nothing per message.

## Before you start

- **A Termii account with wallet credit.**
- **An approved sender ID.** Request one in your Termii dashboard. Only sender IDs Termii shows as active can send; pending and blocked ones don't appear in Kirora.
- **For one-time codes and alerts, Termii's DND route.** Numbers on Nigeria's Do Not Disturb list don't get promotional SMS. Termii's support can turn on the DND route for your account, which lets eligible transactional messages reach them.
- **The owner, admin or developer role** in Kirora.

## Connect it in Kirora

1. Copy your **API key** from your Termii dashboard.
2. In Kirora, go to **Settings › Messaging › SMS** and choose **Connect** on the Termii card. You can also start from **Integrations › Termii**.
3. Enter the **API key**.
4. Enter the **Signing secret** from **Settings › Webhooks** in Termii. It's optional but recommended: Kirora then refuses delivery reports that Termii didn't sign. You can add, replace or remove it later under **Settings** on **Integrations › Termii**, without re-entering the API key.
5. Choose **Connect**. Kirora checks the key with Termii, then lists your active sender IDs and shows your wallet balance.

## Add Kirora's webhook in Termii

Termii sends delivery reports to one webhook for the whole account. Kirora shows a **Delivery report URL** on the Termii page, under **Paste this into Termii**.

1. In Termii, go to **Settings › Webhooks › Add endpoint**.
2. Paste the URL and save.

The Termii page in Kirora shows **Waiting for reports** until the first report arrives, then **Arriving**. Reports usually arrive within seconds of delivery.

**If another system already uses that webhook,** keep it. Kirora reads each message's status from Termii's message history instead: transactional texts within minutes, the rest about a day later.

*Screenshot: The Delivery report URL under Paste this into Termii, waiting for reports*

## Turn on the DND route

Once Termii's support has turned on the DND route for your account:

1. Open **Integrations › Termii** in Kirora.
2. Switch on **DND route enabled** and choose **Save**.

From then on, transactional texts go on the DND route, tests of transactional messages included. Campaigns and marketing journey steps always use Termii's generic route.

## Check your senders

Your active sender IDs appear on the **Senders** tab of **Settings › Messaging › SMS**. Kirora syncs every day; to see a newly approved sender ID straight away, choose **Sync senders** from the connection's menu on **Integrations › Termii**.

Termii sends from sender IDs only, so contacts can't reply. Every marketing text from Termii carries an opt-out link instead of *Reply STOP*, and Kirora adds the link for you. See [Opt-out text](https://kirora.io/docs/guides/messaging/sms/send-sms#opt-out-text).

## Send a test

1. As an owner or admin, open a sender's menu on the **Senders** tab and choose **Send a test**.
2. Pick a contact with a phone number and choose **Send test**.
3. Check that the message arrives.

Tests aren't kept as messages, so look for delivery reports on your first campaign or transactional text.

## When a send fails

Kirora shows Termii's reason with every failed message. The ones you're most likely to meet:

| Termii says | What it means | What to do |
| --- | --- | --- |
| Sender ID not approved | Termii doesn't know this sender ID, or hasn't approved it | Wait for approval, or pick another sender |
| DND Active on Phone Number | The number blocks promotional SMS | For codes and alerts, turn on the DND route |
| You are not set up on this route | The account can't send on that route yet | Ask Termii's support to switch the route on |
| Insufficient balance | The wallet is too low | Top up in Termii. Marketing texts wait and resume on their own. |
| Account not active | The account, or its SMS service, isn't active. The connection shows **Credentials refused** and stops sending. | Ask Termii to reactivate it, then **Replace credentials** to send again |
| Rejected, Expired, Message Failed | Termii or the carrier couldn't deliver it | Check the message in Termii's dashboard |

If Termii refuses the API key, **Replace credentials** with a valid one. See also [Troubleshoot SMS](https://kirora.io/docs/guides/messaging/sms/troubleshoot-sms).

## Next steps

- [Choose and register your senders](https://kirora.io/docs/guides/messaging/sms/senders-and-registration)
- [Write and send an SMS](https://kirora.io/docs/guides/messaging/sms/send-sms)
- [Sending hours](https://kirora.io/docs/guides/messaging/sms/sending-hours)