Bird is a communications platform with APIs for sending email and SMS. For SMS, your Bird workspace holds the senders you send from, such as phone numbers and alphanumeric sender IDs, and you send through Bird's SMS API with an API key.
How does the integration work?
You can use the Bird SMS provider in Appwrite Messaging to send customized SMS messages to your users. These SMS messages can be sent immediately or scheduled, to topics, users, or individual targets. You can send SMS messages for purposes like reminders, promotions, announcements, and even custom authentication flows.
The provider needs a Bird API key and a sender. Appwrite reads the region from the key's bk_<region>_ prefix and sends messages with Bird's transactional category. On Appwrite Cloud, one-click setup connects your Bird workspace, lets you pick one of its senders, and creates a key with only the sms:write scope.
The Bird SMS provider is live on Appwrite Cloud and ships in the next self-hosted Appwrite release. To send email through Bird as well, see Email with Bird.
One-click setup relies on Bird being configured as an OAuth2 provider for the Appwrite Cloud Console, so it only appears on Appwrite Cloud. On self-hosted Appwrite, create the API key in Bird and enter it by hand.
How to implement
To implement the Bird SMS provider in Appwrite Messaging, there are several steps you must complete:
Step 1: Set up a sender in Bird
First, sign up for Bird and open your workspace. Then get the pieces Bird needs before it sends an SMS:
- A sender. On the Senders page, buy a phone number or claim an alphanumeric sender ID of 3 to 11 characters. The US doesn't accept alphanumeric sender IDs, and some countries require a sender to be registered first. Bird's SMS senders guide lists the requirements.
- Enabled destinations. Under SMS > Destinations, enable each country you send to. Bird refuses messages to countries that aren't enabled.
Step 2: Add the Bird provider to your Appwrite project
For this step, you must create an account on Appwrite Cloud or self-host Appwrite if you haven't already. In your Appwrite project, head to Messaging > Providers and click Add provider. Bird is listed under both Email and SMS. Choose Bird under SMS.

In the Configure Bird step, use one-click setup or fill in the fields by hand.
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.
- Select a Sender from your workspace. If you don't have one yet, click Manage senders, add one in Bird, and click Check again.
- Click Generate API key.
- Review the filled-in fields and click Create provider.
Appwrite creates an API key named Appwrite SMS: <project name> in your Bird workspace, with only the sms:write scope, and fills in the sender you picked. If you left the provider name empty, it becomes One-click Bird SMS. If you leave the wizard without creating the provider, Appwrite revokes the key it generated.
In the Bird dashboard, go to Platform tools > API keys and create a key with the sms scope at the write level. Copy it when it's shown, because Bird only displays the full key once. Then fill in the following fields in Appwrite:
| Field name | |
|---|---|
| Name | A name for the provider in Appwrite. |
| API key | The API key you created in Bird. It starts with bk_ and your region, for example bk_eu1_. |
| Sender | A sender your Bird workspace owns: a phone number with a leading + and its country code, or an alphanumeric sender ID. |
Click Create provider.
Step 3: Test the Bird provider
Before you proceed, you must already have at least one topic or target 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 message arrives on your phone. If it doesn't, check the logs in the Appwrite Console and in your Bird workspace, and confirm the destination country is enabled in Bird.
To send SMS messages from your backend instead, follow the Send SMS messages guide with an Appwrite Server SDK.
Read more about Bird and Appwrite Messaging
If you would like to learn more about Bird and Appwrite Messaging, we have some resources that you should visit:
