ESP API Methods

Table of Contents:

Methods Summary

GET api/esp_connections/options

Description 

Retrieve all the ESP vendor connections in your account. Those residing under the Vendor-Settings → My Connections in the UI of your account.

Request

active_only
     Optional boolean (e.g., ?active_only=true). Default: false

Response

GET URL: https://api.ongage.net/<list_id>/api/esp_connections/options

{
  "metadata": {
    "error": false
  },
  "payload": [
    {
      "id": "14897",
      "esp_id": "4",
      "esp_name": "Amazon SES",
      "support_transactional": "1",
      "name": "Amazon SES"
    },
    {
      "id": "14895",
      "esp_id": "10",
      "esp_name": "Dyn",
      "support_transactional": "1",
      "name": "Dyn"
    },
    {
      "id": "15074",
      "esp_id": "58",
      "esp_name": "Mailgun",
      "support_transactional": "1",
      "name": "Mailgun"
    },
    {
      "id": "14889",
      "esp_id": "59",
      "esp_name": "Private SMTP",
      "support_transactional": "1",
      "name": "Private SMTP"
    },
    {
      "id": "14864",
      "esp_id": "19",
      "esp_name": "SendGrid",
      "support_transactional": "1",
      "name": "SendGrid"
    },
    {
      "id": "14896",
      "esp_id": "86",
      "esp_name": "SparkPost",
      "support_transactional": "1",
      "name": "SparkPost"
    }
  ]
}