> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/sms.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# SMS

Configure SMS multifactor authentication in Devolutions Server with Twilio, the only SMS option available, which requires a Twilio subscription.

{% hint style="warning" %}
**Twilio is the only SMS option available.** SMS multifactor authentication requires a Twilio subscription. Without a configured Twilio account, users cannot receive SMS codes or set up SMS as their MFA method.
{% endhint %}

Multifactor authentication (MFA) via SMS requires the user to enter a code they receive on their mobile phone as its second component to access the workspace. The code is sent to the mobile phone number registered when the user sets up SMS, which is the mobile phone number of their profile when one is set.

### Prerequisites

* A Twilio subscription, with its Account SID, auth token, and a Twilio phone number to send the SMS codes.

{% hint style="info" %}
Since Devolutions Server 2027.1, the option to send SMS codes through an email-to-SMS carrier gateway is removed, because most carriers have retired these gateways. On a server without Twilio, the upgrade removes the SMS MFA configuration of users who have another configured MFA method, and SMS is no longer offered as an MFA method. Users whose only configured MFA method is SMS keep it, but they cannot log in until an administrator resets their MFA or configures Twilio and enables SMS again.
{% endhint %}

{% hint style="info" %}
See [Multifactor](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor.md) for more information on MFA configuration.
{% endhint %}

### Configure SMS with Twilio

1. Go to ***Administration – Server settings – Multifactor*** and check the ***SMS*** MFA option. A ***Configure*** button will appear next to the option.
2. Click ***Configure***.
3. In ***SMS setup***, fill in the fields with your Twilio subscription information. All fields are required.

| Option      | Description                                  |
| ----------- | -------------------------------------------- |
| Account SID | Account SID of your Twilio account           |
| Auth token  | Authorization token from your Twilio account |
| Phone       | Twilio phone number that sends the SMS codes |

4. Click ***Check*** to validate the Account SID and auth token with Twilio.
5. Click ***Save***.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/sms.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
