> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-feat-eup-870.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-staging-feat-eup-870/H8llC7E-2xvFfk1U/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?fit=max&auto=format&n=H8llC7E-2xvFfk1U&q=85&s=dec8bdfb646595cbbaf1ac2b73bedc9f" 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-staging-feat-eup-870/H8llC7E-2xvFfk1U/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=280&fit=max&auto=format&n=H8llC7E-2xvFfk1U&q=85&s=4614991ea6e86728be4abf6fef135a46 280w, https://mintcdn.com/docs-staging-feat-eup-870/H8llC7E-2xvFfk1U/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=560&fit=max&auto=format&n=H8llC7E-2xvFfk1U&q=85&s=ca253c5858d72e222121e7e1bc91d6ed 560w, https://mintcdn.com/docs-staging-feat-eup-870/H8llC7E-2xvFfk1U/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=840&fit=max&auto=format&n=H8llC7E-2xvFfk1U&q=85&s=6030fc0ef1699af8641211920a1a0d1b 840w, https://mintcdn.com/docs-staging-feat-eup-870/H8llC7E-2xvFfk1U/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=1100&fit=max&auto=format&n=H8llC7E-2xvFfk1U&q=85&s=f2d01981fd50ba7fea5a9bd4c5cbd58b 1100w, https://mintcdn.com/docs-staging-feat-eup-870/H8llC7E-2xvFfk1U/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=1650&fit=max&auto=format&n=H8llC7E-2xvFfk1U&q=85&s=23c172f07b24ef6b716b5917f4e4193c 1650w, https://mintcdn.com/docs-staging-feat-eup-870/H8llC7E-2xvFfk1U/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=2500&fit=max&auto=format&n=H8llC7E-2xvFfk1U&q=85&s=1d74ed1edd45f4716788b342dc6c3405 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-staging-feat-eup-870/qyPdntIOCni5LshX/docs/images/fr-ca/cdy7uua7fh8z/4lPqmcYGCJ2oRHM3GSta6w/10b0141d163e4be601c2786895486440/sendsmstwilio.png?fit=max&auto=format&n=qyPdntIOCni5LshX&q=85&s=c5d7be783c1e7e86d40684717ce1b970" 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-staging-feat-eup-870/R9f5OASYa1Ikwk9H/docs/images/fr-ca/cdy7uua7fh8z/4JaAbJIVuVUJY40lhQuVUN/1a1bd6143c8033c12e18fa49252bd36b/makecalltwilio.png?fit=max&auto=format&n=R9f5OASYa1Ikwk9H&q=85&s=4790c6914cb9debd32fb66b4429a9089" 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).
