Twilio system¶
The Twilio system is a SMS system
used with
SMS message sinks to construct and send SMS messages from entities.
It has the following properties:
Prototype¶
{
"_id": "system-id",
"name": "Service name",
"type": "system:twilio",
"account": "$ENV(account-number-variable)",
"token": "$SECRET(twilio-api-token-variable)",
"max_per_hour": 1000,
"proxy": "socks5://user:password@socksproxy:1234"
}
Properties¶
Property |
Type |
Description |
Default |
Req |
---|---|---|---|---|
|
String |
The |
Yes |
|
|
String |
The |
Yes |
|
|
Integer |
The maximum number of messages to send for any hour. It is used for stopping run-away message sending in development or testing. Note that any message not sent will be logged but discarded. |
1000 |
|
|
String |
A optional property that specifies a SOCKS5 proxy for the system. If authentication is used, the embedded
username and passord should be put into system secrets, i.e. |
Example configuration¶
{
"_id": "twilio_service",
"name": "Twilio Service",
"type": "system:twilio",
"account": "$ENV(account-number-variable)",
"token": "$SECRET(twilio-api-token-variable)",
"max_per_hour": 100000
}