{
  "info": {
    "_postman_id": "044175f6-8ffd-4c67-9215-87a339a9dd7c",
    "name": "Iterable Export Campaigns ExperimentMetrics API",
    "description": "The Iterable Export API enables developers to extract data from Iterable projects for analytics, reporting, and data warehousing purposes. It provides export endpoints that allow retrieval of user data, event data, campaign metrics, and message engagement information in CSV and JSON formats. The export endpoints support filtering by date ranges and event types, making it possible to build custom reporting pipelines and synchronize Iterable data with external business intelligence tools.\n\nContact Support:\n Name: Iterable Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:59:33.000Z",
    "updatedAt": "2026-07-28T01:59:33.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-044175f6-8ffd-4c67-9215-87a339a9dd7c"
  },
  "item": [
    {
      "name": "experiments",
      "item": [
        {
          "name": "metrics",
          "item": [
            {
              "name": "Export experiment metrics as CSV",
              "id": "6c6e4923-8d60-4fc8-85b3-532e2a88b991",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "text/csv"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/experiments/metrics?experimentId=<integer>&experimentId=<integer>&campaignId=<integer>&campaignId=<integer>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "experiments",
                    "metrics"
                  ],
                  "query": [
                    {
                      "description": "One or more experiment IDs to export metrics for",
                      "key": "experimentId",
                      "value": "<integer>"
                    },
                    {
                      "description": "One or more experiment IDs to export metrics for",
                      "key": "experimentId",
                      "value": "<integer>"
                    },
                    {
                      "description": "One or more campaign IDs to export metrics for",
                      "key": "campaignId",
                      "value": "<integer>"
                    },
                    {
                      "description": "One or more campaign IDs to export metrics for",
                      "key": "campaignId",
                      "value": "<integer>"
                    }
                  ]
                },
                "description": "Exports experiment metrics for A/B tests as CSV. Supports multiple experiment IDs and campaign IDs as query parameters, up to 200 total per request. This endpoint returns data only for email experiments."
              },
              "response": [
                {
                  "id": "e6bc7581-6213-48af-94cb-139caa00aa90",
                  "name": "Experiment metrics in CSV format",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "text/csv"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Api-Key",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/experiments/metrics?experimentId=<integer>&campaignId=<integer>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "experiments",
                        "metrics"
                      ],
                      "query": [
                        {
                          "description": "One or more experiment IDs to export metrics for",
                          "key": "experimentId",
                          "value": "<integer>"
                        },
                        {
                          "description": "One or more campaign IDs to export metrics for",
                          "key": "campaignId",
                          "value": "<integer>"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "text",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "text/csv"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "<string>",
                  "createdAt": "2026-07-28T01:59:33.000Z",
                  "updatedAt": "2026-07-28T01:59:33.000Z",
                  "uid": "35240-e6bc7581-6213-48af-94cb-139caa00aa90"
                },
                {
                  "id": "8197cdb5-4803-4ae2-9a29-41b0c66d415f",
                  "name": "Bad request - too many IDs or invalid parameters",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Api-Key",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/experiments/metrics?experimentId=<integer>&campaignId=<integer>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "experiments",
                        "metrics"
                      ],
                      "query": [
                        {
                          "description": "One or more experiment IDs to export metrics for",
                          "key": "experimentId",
                          "value": "<integer>"
                        },
                        {
                          "description": "One or more campaign IDs to export metrics for",
                          "key": "campaignId",
                          "value": "<integer>"
                        }
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:59:33.000Z",
                  "updatedAt": "2026-07-28T01:59:33.000Z",
                  "uid": "35240-8197cdb5-4803-4ae2-9a29-41b0c66d415f"
                },
                {
                  "id": "97cbb0fe-08e1-4417-897c-920363e1b90b",
                  "name": "Unauthorized",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "Api-Key",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/experiments/metrics?experimentId=<integer>&campaignId=<integer>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "experiments",
                        "metrics"
                      ],
                      "query": [
                        {
                          "description": "One or more experiment IDs to export metrics for",
                          "key": "experimentId",
                          "value": "<integer>"
                        },
                        {
                          "description": "One or more campaign IDs to export metrics for",
                          "key": "campaignId",
                          "value": "<integer>"
                        }
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:59:33.000Z",
                  "updatedAt": "2026-07-28T01:59:33.000Z",
                  "uid": "35240-97cbb0fe-08e1-4417-897c-920363e1b90b"
                }
              ],
              "createdAt": "2026-07-28T01:59:33.000Z",
              "updatedAt": "2026-07-28T01:59:33.000Z",
              "uid": "35240-6c6e4923-8d60-4fc8-85b3-532e2a88b991"
            }
          ],
          "id": "5f5f8e2f-c3a3-45cd-9a3b-66a506489874",
          "createdAt": "2026-07-28T01:59:33.000Z",
          "updatedAt": "2026-07-28T01:59:33.000Z",
          "uid": "35240-5f5f8e2f-c3a3-45cd-9a3b-66a506489874"
        }
      ],
      "id": "4ba3bb43-2a67-4666-aa85-b10293f0562d",
      "createdAt": "2026-07-28T01:59:33.000Z",
      "updatedAt": "2026-07-28T01:59:33.000Z",
      "uid": "35240-4ba3bb43-2a67-4666-aa85-b10293f0562d"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Api-Key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.iterable.com/api"
    }
  ]
}