---
title: "Create a new File object"
method: POST
path: "/files/create"
tags: ["Files"]
---

# Create a new File object

`POST /files/create`

## Headers

- `X-Request-Id` string
- `X-Idempotency-Key` string

## Request body

- CreateFile
  - `id` string — File ID
  - `fedWireMessage` FedWireMessage[] — unresolved $ref

## Response `201`

A JSON object containing a new File

- File
  - `id` string — File ID
  - `fedWireMessage` FedWireMessage[], required — unresolved $ref

## Other responses

- `400` — Invalid File Header Object

## Changes

- **2019-05-03** `a91925900624` — 7 breaking, 115 warning
  - removed the required property `fedWireMessage/items/amount` from the response with the `201` status
  - removed the required property `fedWireMessage/items/businessFunctionCode` from the response with the `201` status
  - removed the required property `fedWireMessage/items/inputMessageAccountabilityData` from the response with the `201` status
  - removed the required property `fedWireMessage/items/receiverDepositoryInstitution` from the response with the `201` status
  - …118 more
- **2019-04-10** `6784c486947d` — 4 warning, 4 info
  - removed the request property `fedWireMessage/items/remittanceBeneficiary/dateAndBirthPlace`
  - removed the request property `fedWireMessage/items/remittanceOriginator/dateAndBirthPlace`
  - removed the optional property `fedWireMessage/items/remittanceBeneficiary/dateAndBirthPlace` from the response with the `201` status
  - removed the optional property `fedWireMessage/items/remittanceOriginator/dateAndBirthPlace` from the response with the `201` status
  - …4 more
- **2019-04-04** `a11542a76c75` — 2 info
  - added the new optional request property `fedWireMessage/items/remittanceOriginator/countryOfResidence`
  - added the optional property `fedWireMessage/items/remittanceOriginator/countryOfResidence` to the response with the `201` status
- …earlier changes not shown

[Full history](https://skmtc.dev/moov-io/apis/wire-api/changes/files/create/post.md)

---

[API](https://skmtc.dev/moov-io/apis/wire-api.md) · [All operations](https://skmtc.dev/moov-io/apis/wire-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/moov-io/wire-api/revisions/a91925900624/schema)
