---
title: "Export an Excel File (XLSX)"
method: POST
path: "/datamart.exportdata/xlsx"
tags: ["Data Manager"]
---

# Export an Excel File (XLSX)

`POST /datamart.exportdata/xlsx`

Downloads an XLSX file. The returned file contains all **definitions** (meta) and the **data**.
This is useful for importing the Data Source, Datamart, or Data Feed definitions + data in some other instance or partition.

## Query parameters

- `timeout` string

## Request body

- object
  - `data` object, required
    - `fieldCollections` string[], required
    - `sanitize` boolean, required

## Response `200`

OK - returns the XLSX file (binary data):
`Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
