> ## Documentation Index
> Fetch the complete documentation index at: https://auth0-cq3uo.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Twilio

This list of Twilio actions allows you to send SMS and make calls using Twilio as provider.

## Configure your Vault connection

To configure a Vault connection for your Twilio actions, you will need an **Account SID** and an **Auth token**:

<Frame>![Dashboard > Actions > Forms > Flows > actions > Twilio](https://images.ctfassets.net/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png)</Frame>

They can be found at [Twilio's console dashboard](https://console.twilio.com/).

## Send SMS

Sends an SMS.

<Frame>![](https://images.ctfassets.net/cdy7uua7fh8z/4lPqmcYGCJ2oRHM3GSta6w/10b0141d163e4be601c2786895486440/sendsmstwilio.png)</Frame>

### Input settings

<table class="table">
  <thead>
    <tr>
      <th><b>Parameter</b></th>
      <th><b>Description</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>From (required)</td>
      <td>The name of the sender of the SMS.</td>
    </tr>

    <tr>
      <td>To (required)</td>
      <td>The destination phone number in <a href="https://en.wikipedia.org/wiki/E.164">E.164 format</a>.</td>
    </tr>

    <tr>
      <td>Message (required)</td>
      <td>The body content of the SMS.</td>
    </tr>
  </tbody>
</table>

### Output settings

You can find all the expected status codes at [Twilio's documentation](https://www.twilio.com/docs/messaging/api/message-resource#message-status-values).

## Make call

Makes a call.

<Frame>![](https://images.ctfassets.net/cdy7uua7fh8z/4JaAbJIVuVUJY40lhQuVUN/1a1bd6143c8033c12e18fa49252bd36b/makecalltwilio.png)</Frame>

### Input settings

<table class="table">
  <thead>
    <tr>
      <th><b>Parameter</b></th>
      <th><b>Description</b></th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>From (required)</td>
      <td>Your Twilio phone number. Country code must be included. Example: +18005550175, 1 is the country code for the United States.</td>
    </tr>

    <tr>
      <td>To (required)</td>
      <td>The destination phone number in <a href="https://en.wikipedia.org/wiki/E.164">E.164 format</a>.</td>
    </tr>

    <tr>
      <td>
        TwiML payload (required)
      </td>

      <td>
        <p>The TwiML instructions for your voice message.</p> To learn more, read <a href="https://www.twilio.com/docs/voice/twiml">Twilio's TwiML documentation</a>.
      </td>
    </tr>
  </tbody>
</table>

### Output settings

You can find all the expected status codes at [Twilio's documentation](https://www.twilio.com/docs/voice/twiml).
