---
title: "Add/update details for the files"
method: PUT
path: "/submission/{submission-id}/files"
tags: ["files", "update"]
---

# Add/update details for the files

`PUT /submission/{submission-id}/files`

## Request

- Base URL: `/efs-submissions-api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/efs-submissions-api/submission/{submission-id}/files`
- Auth: none declared

## Request body

- File[]: Collection of files
  - `file_id` string, required: File id
  - `file_name` string, required: File name
  - `file_size` number, required: File size

## Response `200`

Resource updated

- object: Resource updated
  - `id` SubmissionResponse: Submission response
    - `id` string: Submission ID

## Other responses

- `400`: Incomplete or malformed request
- `401`: Invalid or missing credentials
- `404`: Requested resource was not found
- `409`: Request valid but not consistent with state of resource

---

[API](https://skmtc.dev/companies-house/apis/emergency-filing-service-api.md) - [All operations](https://skmtc.dev/companies-house/apis/emergency-filing-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/companies-house/apis/emergency-filing-service-api/revisions/7dbd2ded46b4?raw)
