> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-chore-management-api-autoupdate.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-chore-management-api-autoupdate/8axLrtMwcJxHWeFR/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?fit=max&auto=format&n=8axLrtMwcJxHWeFR&q=85&s=c2fc001f5667ed04a7b98dd421567c8b" 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-chore-management-api-autoupdate/8axLrtMwcJxHWeFR/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=280&fit=max&auto=format&n=8axLrtMwcJxHWeFR&q=85&s=7862e88a98217350c7ccc5c6669a08ab 280w, https://mintcdn.com/docs-staging-chore-management-api-autoupdate/8axLrtMwcJxHWeFR/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=560&fit=max&auto=format&n=8axLrtMwcJxHWeFR&q=85&s=099c165c964f03f671643cab4057f792 560w, https://mintcdn.com/docs-staging-chore-management-api-autoupdate/8axLrtMwcJxHWeFR/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=840&fit=max&auto=format&n=8axLrtMwcJxHWeFR&q=85&s=e01fceba9b863794f863a35d96ee202c 840w, https://mintcdn.com/docs-staging-chore-management-api-autoupdate/8axLrtMwcJxHWeFR/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=1100&fit=max&auto=format&n=8axLrtMwcJxHWeFR&q=85&s=d50fbd0aa4e0e6959477d94e45620a90 1100w, https://mintcdn.com/docs-staging-chore-management-api-autoupdate/8axLrtMwcJxHWeFR/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=1650&fit=max&auto=format&n=8axLrtMwcJxHWeFR&q=85&s=afe9fefe50e4bee7cc0a297dfea23423 1650w, https://mintcdn.com/docs-staging-chore-management-api-autoupdate/8axLrtMwcJxHWeFR/docs/images/fr-ca/cdy7uua7fh8z/7MafHKBR1acJE0iGtab2J4/5f4d85a149b9dbd881b4c4558bb0e7bb/twilio-vault-connection.png?w=2500&fit=max&auto=format&n=8axLrtMwcJxHWeFR&q=85&s=222d75eecdd31ea50d150b33f3744454 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-chore-management-api-autoupdate/GPtWenHDQ5gF6qSX/docs/images/fr-ca/cdy7uua7fh8z/4lPqmcYGCJ2oRHM3GSta6w/10b0141d163e4be601c2786895486440/sendsmstwilio.png?fit=max&auto=format&n=GPtWenHDQ5gF6qSX&q=85&s=150340d2bb6c4883c0f3cd73b0204389" 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-chore-management-api-autoupdate/uQSRvf_6WJ3qvjbX/docs/images/fr-ca/cdy7uua7fh8z/4JaAbJIVuVUJY40lhQuVUN/1a1bd6143c8033c12e18fa49252bd36b/makecalltwilio.png?fit=max&auto=format&n=uQSRvf_6WJ3qvjbX&q=85&s=02c1175e634f9b4cb3102c94395b2946" 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).
