---
title: "Export metadata"
method: POST
path: "/hubs/{HubHashId}/projects/{ProjectId}/documents/export_metadata"
tags: ["Metadata"]
---

# Export metadata

`POST /hubs/{HubHashId}/projects/{ProjectId}/documents/export_metadata`

Export and download document metadata of specified documents in a CSV file.

## Path parameters

- `HubHashId` string, required
- `ProjectId` integer, required

## Headers

- `dateFormat` string
- `timeZoneId` string

## Request body

- FeaturesDocumentsExportMetadataExportMetadataCommandBody
  - `documentIds` string[], nullable

## Response `204`

The documents metadata was successfully exported.

## Other responses

- `307` — According to the hub id, the request is at the wrong datacenter. Please retry with the URL in the "Location" header.
- `400` — The request is malformed or has invalid parameters values.
- `403` — You don't have access to the project.

---

[API](https://skmtc.dev/bimtrackapp/apis/newforma-konekt-document-control-api.md) · [All operations](https://skmtc.dev/bimtrackapp/apis/newforma-konekt-document-control-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bimtrackapp/newforma-konekt-document-control-api/revisions/4671d430ce39/schema)
