---
title: "Export all assignments"
method: POST
path: "/v3/exports/assignments/exportAll"
tags: ["Assignments"]
---

# Export all assignments

`POST /v3/exports/assignments/exportAll`

## Request

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

Exports all assignements and associated images the user can see as either fwbundle or zipped csv or geojson or shp. The "fields" array in the body determines the columns in any csv export. The response is an id to poll the GET /v3/exports/assignments/{id} endpoint is for the URL once the export has completed

## Request body

- object
  - `fileType` string
  - `fields` string[]

## Response `200`

Id to poll endpoint

- object
  - `data` string

## Other responses

- `401`: Error Response

## Changes

- **2022-11-29** `358c7cbdb9df`: 1 warning, 1 info
  - removed the request property `fileds`
  - added the new optional request property `fields`
- **2022-11-15** `5a3e99844a04`: 1 info
  - api operation id `post-v3-exports-assignments-exportSome` removed and replaced with `post-v3-exports-assignments-exportAll`
- **2022-11-08** `9905998b00d4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/wri/apis/fw-exports/changes/v3/exports/assignments/exportAll/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)
