Twilio SMS Provider
Twilio is a cloud SMS and Voice service provider with an easy-to-use REST API for sending and receiving text messages (among other services).
To use Twilio, a Twilio account with SMS enabled is required.
The SMS provider can use either Auth Token or API Key to authenticate against the Twilio API. In addition, it can be configured to send messages using a from phone number or a Messaging Service.
Configuration#
From the Twilio account the following properties are needed to configure the SMS provider:
| Configuration | Mandatory | Description |
|---|---|---|
from-number | Yes | The number that appears as sender of the SMS (a written name is also allowed for some accounts) or messaging service SID to use. |
account-sid | Yes | The account SID to use with Twilio. |
auth-token | Yes/No | The Auth Token string to be used when communicating with the Twilio API. (Required when using Auth Token authentication) |
api-key | Yes/No | The API Key SID and Secret to be used when communicating with the Twilio API. (Required when using API Key authentication) |
When using an Auth Token to authenticate with Twilio, the api-key must not be included in the configuration. Alternatively when using the api-key, the auth-token property must not be included.
If a name is used instead of from number then it will not be found on the Twilio page, but can be arbitrarily selected when configuring Curity.
The above parameters can be found in the Twilio account page and are used to configure the twilio sms provider in the facilities section.
