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

listAccounts #

Lists Sendgrid accounts.


Query Syntax #

HTTP #

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

Other protocols #

{
  "controller": "hermes/sendgrid",
  "action": "listAccounts"
}

Kourou #

kourou hermes/sendgrid:listAccounts

Response #

Returns the names of registered accounts.

{
  "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"
      }
    }
  ]
}

}