> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keephq.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Twilio Provider

> Twilio Provider is a provider that allows to notify alerts via SMS using Twilio.

## Authentication

This provider requires authentication.

* **account\_sid**: Twilio Account SID (required: True, sensitive: False)
* **api\_token**: Twilio API Token (required: True, sensitive: True)
* **from\_phone\_number**: Twilio Phone Number (required: True, sensitive: False)

Certain scopes may be required to perform specific actions or queries via the provider. Below is a summary of relevant scopes and their use cases:

* **send\_sms**: The API token has permission to send the SMS (mandatory)

## In workflows

This provider can be used in workflows.

As "action" to make changes or update data, example:

```yaml theme={null}
actions:
    - name: Query twilio
      provider: twilio
      config: "{{ provider.my_provider_name }}"
      with:
        message_body: {value}  # The content of the SMS message to be sent. Defaults to "".
        to_phone_number: {value}  # The recipient's phone number. Defaults to "".
```

If you need workflow examples with this provider, please raise a [GitHub issue](https://github.com/keephq/keep/issues).

## Connecting with the Provider

To use the Twilio Provider you'll need API token.
How to create Twilio API token - [https://support.twilio.com/hc/en-us/articles/223136027-Auth-Tokens-and-How-to-Change-Them](https://support.twilio.com/hc/en-us/articles/223136027-Auth-Tokens-and-How-to-Change-Them)

## Useful Links

* Twilio API token - [https://support.twilio.com/hc/en-us/articles/223136027-Auth-Tokens-and-How-to-Change-Them](https://support.twilio.com/hc/en-us/articles/223136027-Auth-Tokens-and-How-to-Change-Them)
* Twilio phone number - [https://www.twilio.com/en-us/guidelines/regulatory](https://www.twilio.com/en-us/guidelines/regulatory)
