Details
| ID | Twilio |
|---|---|
| Provider | Twilio |
| Category | Messaging and Conferencing |
| From Version | 5.0.0 |
| Supported Modules | Agentix XSIAM |
README
TwilioSendSMS
send an SMS
Base Command
TwilioSendSMS
Input
| Argument Name | Description | Required |
|---|---|---|
| to | Phone number of SMS reciever (e.g. +123456789101). | Required |
| body | Message body. | Required |
| from | Phone number of SMS sender (e.g. +123456789101). | Optional |
Context Output
There is no context output for this command.
Configuration parameters
server— Server URL (e.g. https://192.168.0.1) (required)sid— Account SIDtoken— Auth tokencredentials_token— Account SIDfrom— Default sending number (e.g. +123456789101) (required)insecure— Trust any certificate (not secure)proxy— Use system proxy settings
Commands (1)
-
TwilioSendSMSsend an SMS
commonfields: id: Twilio version: -1 name: Twilio display: Twilio category: Messaging and Conferencing provider: Twilio description: Send SMS notifications. configuration: - display: Server URL (e.g. https://192.168.0.1) name: server defaultvalue: https://api.twilio.com/2010-04-01/Accounts type: 0 required: true - display: Account SID name: sid defaultvalue: "" type: 0 hidden: true required: false - display: Auth token name: token defaultvalue: "" type: 4 hidden: true required: false - display: Account SID name: credentials_token type: 9 displaypassword: Auth token section: Connect required: false - display: Default sending number (e.g. +123456789101) name: from defaultvalue: "" type: 0 required: true - display: Trust any certificate (not secure) name: insecure type: 8 required: false - display: Use system proxy settings name: proxy type: 8 required: false script: script: '' type: javascript commands: - name: TwilioSendSMS arguments: - name: to required: true description: Phone number of SMS reciever (e.g. +123456789101). - name: body required: true description: Message body. - name: from description: Phone number of SMS sender (e.g. +123456789101). description: send an SMS fromversion: 5.0.0 tests: - no test