---
title: "Endpoint for the comments file using the version 2 schema for the nifi message."
method: POST
path: "/deliver/v2/comments"
---

# Endpoint for the comments file using the version 2 schema for the nifi message.

`POST /deliver/v2/comments`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body `multipart/form-data`

- object
  - `filename` string: The name of the zip file being submitted.
  - `tx_id` string: The transaction id
  - `context` CommentsFileContext
    - `tx_id` string: The transaction ID.
    - `survey_type` 'comments': The type of the survey.
    - `title` string: The title of the comments file.
  - `zip_file` string, binary: The zip file containing the comments.

## Response `200`

Successful response

- object
  - `success` boolean

## Other responses

- `400`: Bad request
- `500`: Internal server error

---

[API](https://skmtc.dev/office-of-national-statistics/apis/sdx-deliver-api.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/sdx-deliver-api/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/sdx-deliver-api/revisions/f1d9ef1b82c9?raw)
