sendSms #
Sends an SMS using one of the registered Twilio account.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/hermes/twilio/sms
Method: POST
Other protocols #
{
"controller": "hermes/twilio",
"action": "sendSms",
"account": "<account name>",
"body": {
"from": "<twilio phone number>", // optional
"to": "<recipient phone number>",
"text": "<sms content>"
}
}
Kourou #
kourou hermes/twilio:sendSms -a account=<account name> --body '{
"from": "<twilio phone number>",
"to": "<recipient phone number>",
"text": "<sms content>"
}'
Edit this page on Github(opens new window)