> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-feat-docs-5551-enterprise-connect.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-docs-5551-enterprise-connect/msr3L4SZRfIkkZ3N/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?fit=max&auto=format&n=msr3L4SZRfIkkZ3N&q=85&s=65587bc37fd0967ea543ffaec04adf7c" 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-docs-5551-enterprise-connect/msr3L4SZRfIkkZ3N/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=280&fit=max&auto=format&n=msr3L4SZRfIkkZ3N&q=85&s=2f6482295830cc951b908b38aaf808d4 280w, https://mintcdn.com/docs-staging-feat-docs-5551-enterprise-connect/msr3L4SZRfIkkZ3N/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=560&fit=max&auto=format&n=msr3L4SZRfIkkZ3N&q=85&s=6ca642db6242c34500281ebbce84d849 560w, https://mintcdn.com/docs-staging-feat-docs-5551-enterprise-connect/msr3L4SZRfIkkZ3N/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=840&fit=max&auto=format&n=msr3L4SZRfIkkZ3N&q=85&s=c0df7cd41feff6ea2fa30f206379e2c0 840w, https://mintcdn.com/docs-staging-feat-docs-5551-enterprise-connect/msr3L4SZRfIkkZ3N/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=1100&fit=max&auto=format&n=msr3L4SZRfIkkZ3N&q=85&s=5e4b8619093e0492b77c7ad1cf2ec418 1100w, https://mintcdn.com/docs-staging-feat-docs-5551-enterprise-connect/msr3L4SZRfIkkZ3N/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=1650&fit=max&auto=format&n=msr3L4SZRfIkkZ3N&q=85&s=09b7a8e3e1bf01de01ae816ae1d7b436 1650w, https://mintcdn.com/docs-staging-feat-docs-5551-enterprise-connect/msr3L4SZRfIkkZ3N/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=2500&fit=max&auto=format&n=msr3L4SZRfIkkZ3N&q=85&s=0f16f54c6c72d5de03a3ace6ca09ff87 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-docs-5551-enterprise-connect/mLDJdMZjUdwsxJWo/docs/images/fr-ca/cdy7uua7fh8z/4lPqmcYGCJ2oRHM3GSta6w/10b0141d163e4be601c2786895486440/sendsmstwilio.png?fit=max&auto=format&n=mLDJdMZjUdwsxJWo&q=85&s=329c155f97d8d7ced65e66e5c835c7ca" 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-docs-5551-enterprise-connect/xKRNX1jVnh1p5iVY/docs/images/fr-ca/cdy7uua7fh8z/4JaAbJIVuVUJY40lhQuVUN/1a1bd6143c8033c12e18fa49252bd36b/makecalltwilio.png?fit=max&auto=format&n=xKRNX1jVnh1p5iVY&q=85&s=b597c69bde2863183c6f82cf2db9a426" 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).
