addAccount #
Adds a Twilio account. This account can then be used to send SMS.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/hermes/twilio/accounts
Method: POST
Other protocols #
{
"controller": "hermes/twilio",
"action": "addAccount",
"account": "<account name>",
"body": {
"accountSid": "<twilio account sid>",
"authToken": "<twilio auth token>",
"defaultSender": "<default sender phone>"
}
}
Kourou #
kourou hermes/twilio:addAccount -a account=<account name> --body '{
"accountSid": "<twilio account sid>",
"authToken": "<twilio auth token>",
"defaultSender": "<default sender phone>"
}'
Edit this page on Github(opens new window)