# Documents

## Add a document

<mark style="color:green;">`POST`</mark> `https://app.gem-books.com/api/documents`

This endpoint allows you to add a document.

#### Query Parameters

| Name            | Type   | Description                                     |
| --------------- | ------ | ----------------------------------------------- |
| booking\_id     | string | Booking ID that this document is linked to.     |
| path            | array  | Binary document.                                |
| title           | string | Title of the document.                          |
| transaction\_id | string | Transaction ID that this document is linked to. |
| client\_id      | string | Client ID that this document is linked to.      |
| fournisseur\_id | string | Provider ID that this document is linked to.    |

#### Headers

| Name             | Type   | Description                      |
| ---------------- | ------ | -------------------------------- |
| Authentification | string | Bearer token.                    |
| Accept           | string | Should be `multipart/form-data`. |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}
