---
title: "Create Export Request"
method: POST
path: "/export/"
tags: ["Export"]
---

# Create Export Request

`POST /export/`

Create a new export request. The export will be generated asynchronously.

## Request body

- ExportRequestCreate
  - `format` 'csv' — Export file format. * `csv` - CSV
  - `endpoint` string, required — API endpoint to export data from. Available: targets, scans, domains, scheduled_scans, findings, discovery_assets
  - `filters` unknown
  - `fields` unknown
  - `send_email` boolean — If true, the export file will be sent to the user via email when ready. Defaults to false.

## Response `202`

- ExportRequest
  - `id` string, required — A unique Base58 value identifying this object.
  - `user` string, required — A unique Base58 value identifying this object.
  - `format` 'csv' — Export file format. * `csv` - CSV
  - `endpoint` string, required — API endpoint to export data from. Available: targets, scans, domains, scheduled_scans, findings, discovery_assets
  - `filters` unknown
  - `fields` unknown
  - `send_email` boolean, required — If true, the export file will be sent to the user via email when ready. Defaults to false.
  - `submitted_at` string, date-time, required — Date and time when the export was requested, in ISO 8601 UTC format.
  - `generated_at` string, date-time, nullable, required — Date and time when the export file was generated, in ISO 8601 UTC format.
  - `row_count` integer, nullable, required — Total number of rows exported.
  - `error` string, nullable, required — Error message if export generation failed.

## Other responses

- `400`
- `401`

---

[API](https://skmtc.net/probely/apis/snyk-api-web-s-api-reference-documentation.md) · [All operations](https://skmtc.net/probely/apis/snyk-api-web-s-api-reference-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/probely/snyk-api-web-s-api-reference-documentation/revisions/e29879bff01b/schema)
