{
  "opencollection": "1.0.0",
  "info": {
    "name": "Madhive Segments API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "segments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Receive the list of segments and their IDs. Includes retargeting, third party and first party segment types. When third party segments are selected it includes data companies as well.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api2.madhive.com/api/v1/segments",
            "headers": [
              {
                "name": "X-Cloud-Trace-Context",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "number of segments per page (default 100, max 10000)"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Optional page selector RELATIVE to page_token: 1 = next page (the default when a page_token is supplied), -1 = previous page, 0 = reload the current page. Has no effect without page_token.\n"
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "Opaque cursor from the previous response's pagination.pageToken. Pass it alone to fetch the next page; pagination is cursor-based and offset defaults to the next page when a page_token is supplied.\n"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api2.madhive.com/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Receive the list of segments and their IDs. Includes retargeting, third party and first party segment types. When third party segments are selected it includes data companies as well."
        }
      ]
    }
  ],
  "bundled": true
}