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

listAccounts #

Lists Sendgrid accounts.


Query Syntax #

HTTP #

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

Other protocols #

Copied to clipboard!
{
  "controller": "hermes/sendgrid",
  "action": "listAccounts"
}

Kourou #

Copied to clipboard!
kourou hermes/sendgrid:listAccounts

Response #

Returns the names of registered accounts.

Copied to clipboard!
{
  "requestId": "d16d5e8c-464a-4589-938f-fd84f46080b9",
  "status": 200,
  "error": null,
  "controller": "hermes/sendgrid",
  "action": "listAccounts",
  "result": {
  "accounts": [
    {
      "name": "common",
      "options": {
        "defaultSender": "amaret@kuzzle.io"
      }
    },
    {
      "name": "ilayda",
      "options": {
        "defaultSender": "ilayda@gmail.com"
      }
    },
    {
      "name": "aschen",
      "options": {
        "defaultSender": "aschen@gmail.com"
      }
    }
  ]
}

}