# Make a document: empty, or from a template, text, Markdown or a file

`POST /spaces/docs` · Praecise Spaces · Docs

> For Praecise products only.

- Scope: product

## Parameters

- `Praecise-Account` (header, required), string: The address of the Praecise account the product acts for.
- `Idempotency-Key` (header), string: The same key within a day answers the first result again.

## Responses

- `200`: Make a document: empty, or from a template, text, Markdown or a file
- `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 POST 'https://inbox.praecise.com/api/spaces/docs' \
  -H 'Authorization: Bearer $KEY'
```
