---
title: "POST export-binfile"
method: POST
path: "export-binfile"
---

# POST export-binfile

`POST export-binfile`

## Request

- Base URL: `https://design.penpot.app/api/main/methods`
- URL: `https://design.penpot.app/api/main/methods/export-binfile`
- Auth: none declared

Export a penpot file in a binary format.

## Request body

- object
  - `fileId` string, uuid, required: UUID formatted string
  - `type` 'merge-libraries' | 'link-later' | 'detach-libraries' | 'include-libraries'
  - `includeLibraries` boolean: boolean
  - `embedAssets` boolean: boolean

---

[API](https://skmtc.dev/penpot/apis/penpot-api.md) - [All operations](https://skmtc.dev/penpot/apis/penpot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/penpot/apis/penpot-api/revisions/a195708d87bc?raw)
