salt.modules.twilio_notify

Module for notifications via Twilio

New in version 2014.7.0.

depends
  • twilio python module

configuration

Configure this module by specifying the name of a configuration profile in the minion config, minion pillar, or master config (with pillar_opts set to True).

For example:

my-twilio-account:
    twilio.account_sid: AC32a3c83990934481addd5ce1659f04d2
    twilio.auth_token: mytoken

salt.modules.twilio_notify.send_sms(profile, body, to, from_)

Send an sms

CLI Example:

twilio.send_sms my-twilio-account 'Test sms' '+18019999999' '+18011111111'

© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.twilio_notify.html