# The document as a file: pdf, docx, md, html or txt

`GET /spaces/docs/{id}/export` · Praecise Spaces · Docs

> For Praecise products only.

- Scope: product

## Parameters

- `id` (path, required), string
- `Praecise-Account` (header, required), string: The address of the Praecise account the product acts for.

## Responses

- `200`: The document as a file: pdf, docx, md, html or txt
- `401`: No valid product token.
- `403`: The account has not given this product what it asks.
- `default`: Every refusal is a sentence and one machine word.

## Example

```sh
curl -X GET 'https://inbox.praecise.com/api/spaces/docs/{id}/export' \
  -H 'Authorization: Bearer $KEY'
```
