updateDefaultAccount #
Update a default Hermes account. If none is found, this controller will create a new account.
URL: http://kuzzle:7512/hermes/config/:client/updateDefault
Method: POST
Body:
The body depends on messenger client.
SMTP #
{
"host": "<host>",
"port": "<port>", // number
"user": "<user>",
"password": "<password>",
"defaultSender": "<defaultSender>", // email
}
Arguments :
host
: smtp server host name or ip addressport
: smtp portuser
: smtp userpassword
: smtp passworddefaultSender
: default mail address displayed as sender when a message is sent with this account
Sendgrid #
{
"apiKey": "<apiKey>",
"defautSender":"<defautSender>", // email
}
Arguments :
apiKey
: sendGrid API keydefaultSender
: default mail address displayed as sender when a message is sent with this account
Twilio #
{
"accountSid": "<accountSid>",
"authToken": "<authToken>",
"defautSender": "<defautSender>", // phone number
}
Arguments :
accountSid
: twilio account SIDauthToken
: twilio auth tokendefaultSender
: default phone number displayed as sender when a message is sent with this account
Edit this page on Github(opens new window)