---
title: "Create a file"
method: POST
path: "/files"
tags: ["files"]
---

# Create a file

`POST /files`

Create a file from a signed upload. **Please use the `id` that was returned when the signed upload was requested.**

## Request body

- CreateFileFromSignedUploadRequest
  - `signed_upload` string, required — ID of the signed upload to create the file from.

## Response `201`

Created

- File
  - `content_type` string, required — MIME type of the uploaded file.
  - `created_at` string, date-time, required — The timestamp (in [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) format) of when the resource was created.
  - `filename` string, required — Name of the uploaded file.
  - `id` string, required — Unique resource identifier.
  - `modified_at` string, date-time, required — The timestamp (in [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) format) of when the resource was last modified.
  - `purpose` 'verification_evidence' | 'legal_document' | 'welcome_letter' | 'order_confirmation' | 'fee_statement' | 'account_statement', required — Purpose of the uploaded file.
  - `signed_upload` string, nullable, required — ID of the signed upload that created the file.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/joinsophic/apis/sophic-engine-api.md) · [All operations](https://skmtc.net/joinsophic/apis/sophic-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/joinsophic/sophic-engine-api/revisions/5b4c43e2941b/schema)
