---
updatedAt: 2026-11-11T07:32:40.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Export email analytics

Export your Email Analytics data in .csv format. We'll email you a detailed spreadsheet based on the queried parameters.

<Image title="export emails.png" alt={1909} src="https://files.readme.io/c8f5c9d-export_emails.png">
  Use this endpoint to generate an itemized spreadsheet of your Email Analytics data based on the queried parameters.
</Image>

> 📘 Note:
>
> The `since` and `until` parameters always refer to sent emails, regardless of which metric was requested. Metrics are retrieved from emails which were sent within the date range defined.
>
> For example, if you're requesting data on reviews within the date range of Jan 01 (`since`) - Jan 05 (`until`), note that while the review request emails were sent within the date range, the actual reviews may have only been created after Jan 05 (`until`).

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Reviews API (V1)",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.yotpo.com",
      "description": "Main API server for authenticated and write operations"
    }
  ],
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Your Yotpo account access token. See [Yotpo Authentication](ref:yotpo-authentication) to learn how to generate your token."
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Missing or invalid access token",
        "content": {
          "application/json": {
            "examples": {
              "Unauthorized": {
                "value": {
                  "status": {
                    "message": "You are not authorized to access this page.",
                    "code": 401,
                    "error_type": "Exceptions::AccessDenied"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Human-readable error message"
                    },
                    "code": {
                      "type": "integer",
                      "description": "HTTP status code"
                    },
                    "error_type": {
                      "type": "string",
                      "description": "Internal error class"
                    }
                  },
                  "description": "Error details."
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "paths": {
    "/analytics/v1/emails/{store_id}/export/csv": {
      "get": {
        "summary": "Export email analytics",
        "description": "Export your Email Analytics data in .csv format. We'll email you a detailed spreadsheet based on the queried parameters.",
        "operationId": "export-email-analytics",
        "parameters": [
          {
            "name": "store_id",
            "in": "path",
            "description": "The store ID",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "since",
            "in": "query",
            "description": "Retrieve export data since and including this date (Default: Last 30 days). Note: `until` is required when using this param.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "until",
            "in": "query",
            "description": "Retrieve export data until and including this date (Default: Last 30 days). Note: `since` is required when using this param.",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "email_type",
            "in": "query",
            "description": "Choose one `email_type` value from the table of [Supported Email Types](ref:about-analytics#supported-email-types) or exclude this parameter to retrieve data for all emails.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reminder_num",
            "in": "query",
            "description": "The number of the MAP reminder email. Must be an integer greater than zero and can only be used when the email type is `product_reminder` or `site_reminder`",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "email_address",
            "in": "query",
            "description": "In order to export you must include an email address. This is the email address that the export file will be sent to.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            },
            "headers": {
              "ratelimit-limit": {
                "description": "The maximum number of requests allowed in the current time window",
                "schema": {
                  "type": "integer"
                }
              },
              "ratelimit-remaining": {
                "description": "The number of requests remaining in the current time window",
                "schema": {
                  "type": "integer"
                }
              },
              "ratelimit-reset": {
                "description": "The time (in seconds) until the rate limit resets",
                "schema": {
                  "type": "integer"
                }
              },
              "x-ratelimit-limit-minute": {
                "description": "The maximum number of requests allowed per minute",
                "schema": {
                  "type": "integer"
                }
              },
              "x-ratelimit-remaining-minute": {
                "description": "The number of requests remaining in the current minute",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "http",
              "code": "GET https://api.yotpo.com/analytics/v1/emails/YOUR_STORE_ID/export/csv?since=2017-07-01&until=2017-08-20&email_address=joe@email.com",
              "name": "Query Params"
            },
            {
              "language": "http",
              "code": "GET https://api.yotpo.com/analytics/v1/emails/YOUR_STORE_ID/export/csv",
              "name": "Path Params"
            }
          ],
          "samples-languages": [
            "http"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "value": "application/json",
        "key": "Content-Type"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```