Skip to content

test-access-twilio-sms

Allows you to test the connection to an SMS service for the Twilio provider.

Syntax:

shell
sfiler-cli [options] test-access-twilio-sms [command options]
Command optionsRequired / OptionalDescription
-toRequiredPhone number to receive SMS notification.
-fpnRequiredPhone number provided by Twilio.
-asRequiredTwilio account SID.
-ksRequiredSecret key SID.
-kRequiredSecret key value.
-rRequiredTwilio region.

Example:

This command tests Twilio's connection to an SMS service.

shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" test-access-twilio-sms -to "+1234567890" -fpn "+0987654321" -as "Account SID" -ks "Secret key SID" -k "Secret key value" -r "region"