---
title: "Export some reports"
method: POST
path: "/v3/exports/reports/exportSome"
tags: ["Reports"]
---

# Export some reports

`POST /v3/exports/reports/exportSome`

## Request

- Base URL: `https://dev-fw-api.globalforestwatch.org`
- URL: `https://dev-fw-api.globalforestwatch.org/v3/exports/reports/exportSome`
- Auth: HTTP bearer

Exports a selection of report answers and associated images given its id as either fwbundle or zipped csv. The "fields" array in the body determines the columns in any csv export. Include "responses" if questions and answers are required. The response is an id to poll the GET /v3/exports/reports/{id} endpoint is for the URL once the export has completed

## Request body

- object
  - `ids` object[], required
    - `templateid` string, required
    - `reportid` string, required
  - `language` string, required
  - `fileType` 'geojson' | 'shp' | 'fwbundle' | 'csv' | 'pdf', required
  - `fields` string[], required
  - `email` string, required

## Response `200`

OK

- object
  - `data` string

## Other responses

- `400`: Error Response
- `401`: Error Response
- `404`: Error Response

## Changes

- **2022-12-01** `ccfc66512822`: 8 breaking, 5 info
  - request property `fileType` was restricted to a list of enum values
  - the request property `email` became required
  - the request property `fields` became required
  - the request property `fileType` became required
  - …9 more
- **2022-11-15** `5a3e99844a04`: 1 info
  - api tag `Reports` added
- **2022-09-13** `bf936ee14543`: 1 info
  - added the new optional request property `email`
- **2022-08-18** `b3d5903f0e70`: 1 info
  - added the non-success response with the status `400`
- **2022-08-05** `b7d4402f0c1a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/wri/apis/fw-exports/changes/v3/exports/reports/exportSome/post.md)

---

[API](https://skmtc.dev/wri/apis/fw-exports.md) - [All operations](https://skmtc.dev/wri/apis/fw-exports/llms.txt) - [OpenAPI document](https://skmtc.dev/wri/apis/fw-exports/revisions/ccfc66512822?raw)
