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 #

Copied to clipboard!
URL: http://kuzzle:7512/_/hermes/sendgrid/accounts
Method: POST

Other protocols #

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

Kourou #

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