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

# Endpoint for SEFT files using the version 2 schema for the nifi message.

`POST /deliver/v2/seft`

## Request

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

## Request body `multipart/form-data`

- object
  - `filename` string: The name of the SEFT file being submitted.
  - `tx_id` string: The transaction id
  - `context` BusinessSurveyContext
    - `tx_id` string: The transaction ID.
    - `survey_type` 'dap' | 'legacy' | 'spp' | 'environmental' | 'materials' | 'feedback': The type of the survey.
    - `survey_id` string: The survey ID.
    - `period_id` string: The period ID.
    - `ru_ref` string: The reporting unit reference.
  - `seft_file` string, binary: The encrypted SEFT file bytes.

## 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)
