---
title: "Export Contacts"
method: POST
path: "/contacts/export"
tags: ["Contacts"]
---

# Export Contacts

`POST /contacts/export`

Request an Export of specified Contacts. Required Access Level: Export

## Query parameters

- `fileFormat` 'Csv' | 'Xml' | 'Json' — Format of the exported file.
- `rule` string, string — string
- `emails` string[] — array
- `compressionFormat` 'None' | 'Zip' — FileResponse compression format
- `fileName` string, string — string

## Response `202`

Accepted

- ExportLink
  - `Link` string, string — Direct URL to the exported file
  - `PublicExportID` string, guid — ID of the exported file

---

[API](https://skmtc.net/elasticemail/apis/megamail-api.md) · [All operations](https://skmtc.net/elasticemail/apis/megamail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elasticemail/megamail-api/versions/1a0ebb83f676/schema)
