2024-09-13 13:53:19 +00:00
---
id: twilio
title: Twilio
---
2024-09-26 13:04:08 +00:00
ToolJet can connect to Twilio account to send sms.
2024-09-13 13:53:19 +00:00
2024-09-26 13:04:08 +00:00
< div style = {{paddingTop:'24px'}} >
2024-09-13 13:53:19 +00:00
2024-09-26 13:04:08 +00:00
## Connection
2024-09-13 13:53:19 +00:00
2024-09-26 13:04:08 +00:00
To establish a connection with the Twilio data source, you can either click on the ** + Add new Data source** button located on the query panel or navigate to the ** [Data Sources ](/docs/data-sources/overview )** page from the ToolJet dashboard and choose Twilio as the data source.
2024-09-13 13:53:19 +00:00
2024-09-26 13:04:08 +00:00
ToolJet requires the following to connect to Twilio:
- **Auth Token**
- **Account SID**
- **Messaging Service SID**
2024-09-13 13:53:19 +00:00
2024-09-26 13:04:08 +00:00
You can get the **Auth Token and Account SID** on the dashboard of your Twilio account.
< img className = "screenshot-full" src = "/img/datasource-reference/twilio/auth.png" alt = "ToolJet - Data source - Twilio" / >
2024-09-13 13:53:19 +00:00
2024-09-26 13:04:08 +00:00
For **Messaging Service SID** , you'll need to create a messaging service first from the Services under Messaging in the left-sidebar.
2024-09-13 13:53:19 +00:00
2024-09-26 13:04:08 +00:00
< img className = "screenshot-full" src = "/img/datasource-reference/twilio/sid.png" alt = "ToolJet - Data source - Twilio" / >
2024-09-13 13:53:19 +00:00
2024-09-26 13:04:08 +00:00
< img className = "screenshot-full" src = "/img/datasource-reference/twilio/connect-v2.png" alt = "ToolJet - Data source - Twilio" / >
2024-09-13 13:53:19 +00:00
< / div >
2024-09-26 13:04:08 +00:00
< div style = {{paddingTop:'24px'}} >
2024-09-13 13:53:19 +00:00
2024-09-26 13:04:08 +00:00
## Querying Twilio
2024-09-13 13:53:19 +00:00
2024-09-26 13:04:08 +00:00
1. Click on ** + Add** button of the query manager at the bottom panel of the editor.
2. Select the **Twilio** datasource added in previous step.
3. Select **Send SMS** from the dropdown and enter the required parameters.
4. Click on the **Preview** button to preview the output or Click on the **Run** button to trigger the query.
2024-09-13 13:53:19 +00:00
< / div >
2024-09-26 13:04:08 +00:00
< div style = {{paddingTop:'24px'}} >
2024-09-13 13:53:19 +00:00
## Supported operations
### Send message
This operation will send the specified message to specified mobile number.
2024-09-26 13:04:08 +00:00
#### Required Parameters
- **To Number**
- **Body**
2024-09-13 13:53:19 +00:00
2024-09-26 13:04:08 +00:00
< img className = "screenshot-full" src = "/img/datasource-reference/twilio/sms-v2.png" alt = "ToolJet - Data source - Twilio" / >
2024-09-13 13:53:19 +00:00
< / div >