---
title: "Export multiple assets to export location"
method: POST
path: "/v1/assets/export_locations/{export_location_id}/"
deprecated: true
---

# Export multiple assets to export location

`POST /v1/assets/export_locations/{export_location_id}/`

## Request

- Base URL: `https://app.iconik.io/API/files`
- URL: `https://app.iconik.io/API/files/v1/assets/export_locations/{export_location_id}/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-files/docs/v1/assets/export_locations/:export_location_id/post.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Required roles:
 - can_write_exports

## Path parameters

- `export_location_id` string, required

## Query parameters

- `allow_host_transfer` boolean

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Request body

- AssetBatchExportSchema
  - `assets` AssetBatchExportItemSchema[], required
    - `asset_id` string, uuid, required
    - `file_name` string, nullable
    - `format_id` string, uuid, nullable
  - `export_metadata` boolean, nullable
  - `export_to_asset_folder` boolean, nullable
  - `metadata_format` 'CSV' | 'JSON' | 'XML' | 'null', nullable
  - `metadata_view` string, uuid, nullable
  - `overwrite` boolean, nullable
  - `preferred_original_storage_id` string, uuid, nullable
  - `transcode_profile_ids` string[], nullable

## Response `200`

Returns an export job id

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `403`: Export batch size exceeded
- `404`: Export location, storage or formats/files to export not found
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-files.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-files/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-files/revisions/ed57d13791a2?raw)
