---
title: "Download the customers as a file"
description: "Other routes API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Download the customers as a file

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="get">GET</span>
<code class="cvo-op-path-code">/v1/data-files/customers</code>
</div>
</div>

Returns this company's newest customer list as one file: a CSV, an Excel sheet or JSON. With no customers saved, the file has only its header row (or is an empty JSON list). The CSV and the sheet have one row per customer. Each column is named with the API's field name, a nested one dotted (`address.city`, `delivery.to`), and each fact a country's rules ask of a buyer has a column `facts.<name>`. `files` is one cell, its ids separated by commas. The CSV is separated by semicolons, in UTF-8 with a byte order mark. A cell starting with `=`, `+`, `-` or `@` is written with a leading `'`, so a spreadsheet never runs it; an import takes the `'` off again. The JSON is a list of customers, as `GET /v1/customers` holds them. Any credential may read it.

## Query parameters

## Status codes

| Status | Meaning |
|---|---|
| `200` |  |
| `400` | The format is not one of `csv`, `xlsx` or `json` (`invalid_format`). |
| `401` | No usable credential was sent (`invalid_credentials`). |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/download-the-customers-as-a-file/index.mdx
