Bird SMS_
Send SMS messages to your Appwrite users using Bird and Appwrite Messaging.
4 min read
Bird lets you send customized SMS messages to your users. These SMS messages can be sent immediately or scheduled. You can send SMS messages for purposes like reminders, promotions, announcements, and even custom authentication flows.
The Bird SMS provider sends through Bird's SMS API with a Bird API key. To send email through Bird too, add a Bird email provider next to it.
1. Add provider
To add Bird as an SMS provider, navigate to Messaging > Providers > Add provider.

Bird is listed under both Email and SMS. Choose Bird under SMS to open the Configure Bird step.
2. Configure provider
In the Configure Bird step, you need a Bird API key and a sender your Bird workspace owns. On Appwrite Cloud, you can let Appwrite create the API key for you with one-click setup, or fill in the fields by hand.

One-click setup
On Appwrite Cloud, the Configure Bird step opens with a One-click setup card above the form.
- Click Connect with Bird and authorize Appwrite in Bird. You are returned to this step with your Bird workspace connected.
- Select a Sender from your Bird workspace. Senders that Bird rejected are listed but can't be selected. If your workspace has no sender yet, click Manage senders, add one in Bird, and click Check again.
- Click Generate API key.
- Review the fields and click Create provider.

Appwrite creates an API key in your Bird workspace named Appwrite SMS: <project name> with only the sms:write scope, and fills it into the API key field. It also fills the Sender with the one you picked and, if you left it empty, sets the provider Name to One-click Bird SMS.
If you leave the wizard without creating the provider, Appwrite revokes the key it generated so it doesn't stay unused in your Bird workspace. Clicking Generate API key again replaces the key in the form and revokes the previous one.
The Bird connection lives on your Console account and is shared with the Bird email provider and the one-click SMTP setup in project settings. Connecting once covers all three.
Configure manually
You will need to provide the following information from your Bird dashboard.
| Field name | |
|---|---|
| Name | A name for the provider in Appwrite. |
| API key | Head to Platform tools > API keys and create a key with the sms scope at the write level. Bird keys start with bk_ and your region, for example bk_eu1_, and Appwrite uses that prefix to send to the right regional API. See Bird's authentication guide. |
| Sender | A sender your Bird workspace owns: a phone number with a leading + and its country code, such as +447700900123, or an alphanumeric sender ID. Manage senders on Bird's Senders page. See Bird's SMS senders guide. |
After adding the details, click Create provider to enable the provider.
Before your first send
- Enable destinations. Bird only sends to countries you enable under SMS > Destinations. A message to a country that isn't enabled fails.
- Check sender rules per country. Some countries require a registered sender, and the US doesn't accept alphanumeric sender IDs. See Bird's SMS senders guide for the requirements.
- Transactional category. Messages are sent with Bird's
transactionalcategory. Appwrite sends several recipients to Bird in batches of up to 100.
3. Test provider
Before sending your first message, make sure you've configured a topic and a target to send messages to.
To send a test message, navigate to Messaging > Messages > Create message > SMS.

Add your message and in the targets step, select one of your test targets. Set the schedule to Now and click Send.
Verify that the message arrives on your phone. If not, check for logs in the Appwrite Console or in your Bird workspace.
To send a message programmatically, use an Appwrite Server SDK.
const sdk = require('node-appwrite');
// Init SDKconst client = new sdk.Client();
const messaging = new sdk.Messaging(client);
client .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<PROJECT_ID>') // Your project ID .setKey('<API_KEY>') // Your secret API key;
const message = await messaging.createSMS({ messageId: sdk.ID.unique(), content: '<CONTENT>', topics: ['<TOPIC_ID>']});You can follow the Send SMS messages guide to send your first SMS message and test your provider.
4. Manage provider
You can update or delete a provider in the Appwrite Console.
Navigate to Messaging > Providers > click your provider. In the settings, you can update a provider's configuration or delete the provider.
To update or delete providers programmatically, use an Appwrite Server SDK.
const sdk = require('node-appwrite');
// Init SDKconst client = new sdk.Client();
const messaging = new sdk.Messaging(client);
client .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>') // Your secret API key;
const provider = await messaging.updateBirdSMSProvider({ providerId: '<PROVIDER_ID>', name: '<NAME>', enabled: false, apiKey: '<BIRD_API_KEY>', from: '+12065550100'});Was this page helpful?
Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.