Twilio

Send SMS notifications.

Messaging and Conferencing · Twilio

Details

IDTwilio
ProviderTwilio
CategoryMessaging and Conferencing
From Version5.0.0
Supported ModulesAgentix 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 SID
  • token — Auth token
  • credentials_token — Account SID
  • from — Default sending number (e.g. +123456789101) (required)
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings

Commands (1)

  • TwilioSendSMS

    send 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