# Send template feedback (/docs/reference/Rest-API/api-docs/templates/sendTemplateFeedback)


{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

## POST /v2/templates/{template_id}/feedback

`POST https://api.verdocs.com/v2/templates/{template_id}/feedback`

### Path parameters

- `template_id` (string, uuid, required): The template ID the feedback refers to.

### Request body

Content type `application/json`, required. Body Parameters.

- `comments` (string, required): Feedback body, max 4000 chars.
- `source` (string): The part of the app the feedback came from, e.g. "field-suggestions". Max 64 characters.
- `page` (integer): The page the sender was viewing (1-based).
- `page_count` (integer): Total pages in the template's documents.
- `scroll_percent` (number): How far down the document the sender had scrolled, from 0 to 100.
- `viewport` (string): Browser viewport size, e.g. "1440x900".
- `screen` (string): Screen size, e.g. "2560x1440".
- `zoom` (number): Zoom level of the document view, e.g. 1.25.
- `language` (string): Browser language, e.g. "en-US".
- `url` (string): URL of the page the feedback came from.

### Responses

#### 200: Success

Content type `application/json`.

Type: `string`

#### 400: Request Error

Content type `application/json`.

- `status` (string, required): Always set to "ERROR". One of: `"ERROR"`.
- `error` (string, required): Description of the error that occurred.

#### 401: Access Denied

Content type `application/json`.

- `status` (string, required): Always set to "ERROR". One of: `"ERROR"`.
- `error` (string, required): Description of the error that occurred.

#### 404: Not Found

Content type `application/json`.

- `status` (string, required): Always set to "ERROR". One of: `"ERROR"`.
- `error` (string, required): Description of the error that occurred.

#### 406: Invalid Parameter

Content type `application/json`.

- `status` (string, required): Always set to "ERROR". One of: `"ERROR"`.
- `error` (string, required): Description of the error that occurred.

### Example request

```bash
curl -X POST "https://api.verdocs.com/v2/templates/TEMPLATE_ID/feedback" \
    -H "Authorization: Bearer ACCESS_TOKEN" \
    -H "content-type: application/json" \
    -d '{"param": "value"}'
```
