Connections

Operations to fetch connections with brands

Partners have one or multiple marketplace connections with different brands / networks. The operations listed here allow you to fetch informations about these connections.


Fetch All Connections

POST /v1/partners/connections/table

This endpoint allows you to fetch the existing connections between a marketplace partner and brands / advertisers / networks.

Paging

This endpoint supports paging. Refer to our User Guide for usage.

filters object

Structured filters

status string

Filter on the status of the connection. Can be one of : active, pending, deleted.

cURL
curl --request POST 'https://api.eflow.team/v1/partners/connections/table' \
--header 'X-Eflow-API-Key: <INSERT API KEY>' \
--header 'content-type: application/json' \
--data '<INSERT PAYLOAD>'

Example 1 : Fetch all active connections

{
  "filters": {
    "status": "active"
  }
}
Response
{
  "connections":
  [
    {
      "partner_id": 23,
      "network_id": 1234,
      "network_affiliate_id": 321,
      "network_affiliate_user_id": 12,
      "status": "active",
      "time_created": 1721137786,
      "relationship":
      {
        "network":
        {
          "network_id": 1234,
          "signup_url": "https://some-network.everflowclient.io/affiliate/signup",
          "name": "Media Company Inc.",
          "logo_image_url": "https://efuserassets.com/1234/assets/logo/9ac879fa-1817-d28e-dc5f-f24094e74c9e.svg",
          "login_url": "https://some-network.everflowclient.io/login",
          "timezone_id": 0
        },
        "api_key": "xxxxxyyyyyyzzzzzz"
      }
    }
  ],
  "paging": {
    "page": 1,
    "page_size": 100,
    "total_count": 1
  }
}