Docs
Skip to content

Self-hosting

SMS delivery_

Set up SMS services for your self-hosted Appwrite instance. Discover how to configure SMS notifications, verification, and messaging for your applications.

2 min read

Raw

Appwrite supports phone authentication, which allows users to create accounts and log in using SMS messages. Appwrite requires an SMS provider to be set up before using Phone authentication.

SMS providers

Appwrite supports a growing list of SMS providers that you can choose from. Choose one from the list below and set up an account.

  SMS providerCreate accountGet credentials
TwilioWebsiteDocumentation
TextmagicWebsiteDocumentation
TelesignWebsiteDocumentation
MSG91WebsiteDocumentation
VonageWebsiteDocumentation

Environment variables

You will need to configure these environment variables and restart your Appwrite containers before you can use phone authentication.

Provider_APP_SMS_PROVIDER_APP_SMS_FROM
Twiliosms://<ACCOUNT SID>:<AUTH TOKEN>@twilio<TWILIO PHONE NUMBER>
Textmagicsms://<USERNAME>:<API KEY>@text-magic<PHONE NUMBER OR SENDER ID>
TeleSignsms://<CUSTOMER ID>:<API KEY>@telesign<TELESIGN PHONE NUMBER>
MSG91sms://<SENDER ID>:<AUTH KEY>@msg91<FLOW ID>
Vonagesms://<API KEY>:<API SECRET>@vonage<PHONE NUMBER OR BRAND NAME>

Was this page helpful?

Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.