Official Plugins (Kuzzle v2.x)
Hermes Messenger v0.x
2

addAccount #

Adds a Sendgrid account. This account can then be used to send emails.


Query Syntax #

HTTP #

URL: http://kuzzle:7512/_/hermes/sendgrid/accounts
Method: POST

Other protocols #

{
  "controller": "hermes/sendgrid",
  "action": "addAccount",
  "account": "<account name>",
  "body": {
    "apiKey": "<sendgrid api key>",
    "defaultSender": "<default sender email>"
  }
}

Kourou #

kourou hermes/sendgrid:addAccount -a account=<account name> --body '{
  "apiKey": "<sendgrid api key>",
  "defaultSender": "<default sender email>"
}'