> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-feat-update-styling-docs-for-universal-components.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Twilio

> Utilisez les actions Twilio pour envoyer des SMS et passer des appels à l’aide de Twilio.

Cette liste d’actions Twilio vous permet d’envoyer des SMS et de passer des appels en utilisant Twilio comme fournisseur.

## Configurer la connexion à votre coffre-fort

Pour configurer une connexion au coffre-fort pour vos actions Twilio, vous aurez besoin d’un **SID de compte** et d’un **jeton d’authentification** :

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/Rm_nexned5rV0Adf/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?fit=max&auto=format&n=Rm_nexned5rV0Adf&q=85&s=077651a50b1a92b9eadebd4ebd75bed3" alt="Dashboard > Actions > Forms > Flows > actions > Twilio" data-og-width="1404" width="1404" data-og-height="697" height="697" data-path="docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/Rm_nexned5rV0Adf/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=280&fit=max&auto=format&n=Rm_nexned5rV0Adf&q=85&s=c7ef776c0bfbde492be1f0530cc456ff 280w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/Rm_nexned5rV0Adf/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=560&fit=max&auto=format&n=Rm_nexned5rV0Adf&q=85&s=70a5083b01a57e8edc05246450ae0037 560w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/Rm_nexned5rV0Adf/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=840&fit=max&auto=format&n=Rm_nexned5rV0Adf&q=85&s=fb1c2e3cd32fc4aa0673b6d96d84e406 840w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/Rm_nexned5rV0Adf/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=1100&fit=max&auto=format&n=Rm_nexned5rV0Adf&q=85&s=6d96aaf722effe428f3868bfe8a1efda 1100w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/Rm_nexned5rV0Adf/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=1650&fit=max&auto=format&n=Rm_nexned5rV0Adf&q=85&s=bbd4667f04869758da19e0f3a6979b29 1650w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/Rm_nexned5rV0Adf/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=2500&fit=max&auto=format&n=Rm_nexned5rV0Adf&q=85&s=5208f5c315e447881446c149ede5c3d1 2500w" />
</Frame>

Ils peuvent être trouvés sur le [tableau de bord de la console de Twilio](https://console.twilio.com/).

## Envoyer un SMS

Envoie un SMS.

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/qQnLW1YXITE0zBim/docs/images/fr-ca/cdy7uua7fh8z/4lPqmcYGCJ2oRHM3GSta6w/10b0141d163e4be601c2786895486440/sendsmstwilio.png?fit=max&auto=format&n=qQnLW1YXITE0zBim&q=85&s=0305b02fab01ed9852610d8d049b3127" alt="" width="1404" height="1061" data-path="docs/images/fr-ca/cdy7uua7fh8z/4lPqmcYGCJ2oRHM3GSta6w/10b0141d163e4be601c2786895486440/sendsmstwilio.png" />
</Frame>

### Paramètres de saisie

| Paramètre             | Description                                                                                                |
| --------------------- | ---------------------------------------------------------------------------------------------------------- |
| De (obligatoire)      | Le nom de l’expéditeur du SMS.                                                                             |
| À (obligatoire)       | Le numéro de téléphone de destination indiqué dans le [format E.164](https://en.wikipedia.org/wiki/E.164). |
| Message (obligatoire) | Le contenu du corps du SMS.                                                                                |

### Paramètres de sortie

Vous trouverez tous les codes d’état attendus dans la [documentation de Twilio](https://www.twilio.com/docs/messaging/api/message-resource#message-status-values).

## Faire un appel

Fait un appel.

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/s235wE4QT_7H_wuN/docs/images/fr-ca/cdy7uua7fh8z/4JaAbJIVuVUJY40lhQuVUN/1a1bd6143c8033c12e18fa49252bd36b/makecalltwilio.png?fit=max&auto=format&n=s235wE4QT_7H_wuN&q=85&s=32263426598fc20a89d90e006c4587b1" alt="" width="1404" height="975" data-path="docs/images/fr-ca/cdy7uua7fh8z/4JaAbJIVuVUJY40lhQuVUN/1a1bd6143c8033c12e18fa49252bd36b/makecalltwilio.png" />
</Frame>

### Paramètres de saisie

| Paramètre                        | Description                                                                                                                                                   |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| De (obligatoire)                 | Votre numéro de téléphone Twilio. Le code du pays doit être inclus. Exemple : +18005550175, 1 étant le code pour les États-Unis.                              |
| À (obligatoire)                  | Le numéro de téléphone de destination indiqué dans le [format E.164](https://en.wikipedia.org/wiki/E.164).                                                    |
| Charge utile TwiML (obligatoire) | Les instructions TwiML pour votre message vocal.<br />Pour en savoir plus, lisez [la documentation TwiML de Twilio](https://www.twilio.com/docs/voice/twiml). |

### Paramètres de sortie

Vous trouverez tous les codes d’état attendus dans la [documentation de Twilio](https://www.twilio.com/docs/voice/twiml).
