---
layout: integration
title: SMS with Textmagic
description: Send customized SMS messages to your users through Textmagic
date: 2026-11-06
featured: false
isPartner: true
isNew: true
cover: /images/integrations/sms-textmagic/cover.avif
category: messaging
product:
    vendor: Textmagic
    description: "Textmagic is a business text messaging service with a web app and an API for sending and receiving SMS."
platform:
    - 'Self-hosted'
    - 'Cloud'
---

[Textmagic](https://www.textmagic.com) is a business text messaging service. Its web app and REST API send and receive SMS, and its dashboard manages your API keys, sender numbers, and sender IDs.

# How does the integration work?

You can use the Textmagic provider in Appwrite Messaging to send customized SMS messages to your users, such as reminders, promotions, announcements, and custom authentication flows. Messages can be sent immediately or scheduled, to [topics](/docs/products/messaging/topics), users, or individual [targets](/docs/products/messaging/targets).

Appwrite authenticates with Textmagic using your username and API key, and sends your messages through the Textmagic API.

# How to implement

To implement the Textmagic provider in Appwrite Messaging, there are several steps you must complete:

## Step 1: Set up Textmagic

First, sign up for a [Textmagic](https://www.textmagic.com) account. Then save the following information from the Textmagic dashboard:

| Field name | |
| --- | --- |
| API key | Head to **Services** > **API** and click **Add new API key**. |
| Username | Head to **My account** and copy your **Username**. |
| Sender number | Head to **Services** > **Sender settings** to see the numbers your SMS messages can be sent from. |

## Step 2: Add the Textmagic provider to your Appwrite project

For this step, you must [create an account on Appwrite Cloud](/sign-up) or [self-host Appwrite](/docs/advanced/self-hosting) if you haven't already. In your Appwrite project, head to **Messaging** > **Providers**, click **Add provider**, and choose **SMS**. Give your provider a name, choose **Textmagic**, and click **Save and continue**.

In the **Configure** step, add the **API key** and **Username** you saved from the Textmagic dashboard. Enter the **Sender number** with a leading `+` and the country code, such as `+14155550123`. Click **Save and continue** to enable the provider.

## Step 3: Test the Textmagic provider

Before you proceed, you must already have at least one [topic](/docs/products/messaging/topics) or [target](/docs/products/messaging/targets) set up.

Go to **Messaging** > **Messages**, click **Create message**, and choose **SMS**. Write a test message, select one of your test targets, set the schedule to **Now**, and click **Send**. Check that the SMS arrives on your phone. If it doesn't, check the logs in the Appwrite Console and in your Textmagic dashboard.

To send SMS messages from your backend instead, follow the [Send SMS messages](/docs/products/messaging/send-sms-messages) guide with an [Appwrite Server SDK](/docs/sdks#server).

# Read more about Textmagic and Appwrite Messaging

If you would like to learn more about Textmagic and Appwrite Messaging, we have some resources that you should visit:

- [Textmagic API documentation](https://docs.textmagic.com)
- [Set up the Textmagic provider in Appwrite Messaging](/docs/products/messaging/textmagic)
- [Send SMS messages through Appwrite Messaging](/docs/products/messaging/send-sms-messages)
- [Phone auth with Textmagic on self-hosted Appwrite](/integrations/phone-auth-textmagic)
- [Appwrite Messaging API reference](/docs/references/cloud/server-nodejs/messaging)
