---
title: "Create a File"
method: POST
path: "/files"
---

# Create a File

`POST /files`

To upload a file to Increase, you'll need to send a request of Content-Type `multipart/form-data`. The request should contain the file you would like to upload, as well as the parameters for creating a file.

## Response `200`

File

- File — Files are objects that represent a file hosted on Increase's servers. Each File has a `purpose` that determines how Increase will use it. You upload a File so it can be attached to another object in the API (for example, when uploading a check image), or Increase creates one for you to download (for example, an autogenerated statement PDF). If you need to download a File, use the `/files/{file_id}/contents` endpoint. If you need to share a File with someone who doesn't have access to your API key, create a File Link.
  - `created_at` string, date-time, required — The time the File was created.
  - `description` string, nullable, required — A description of the File.
  - `direction` 'to_increase' | 'from_increase', required — Whether the File was generated by Increase or by you and sent to Increase.
  - `filename` string, nullable, required — The filename that was provided upon upload or generated by Increase.
  - `id` string, required — The File's identifier.
  - `idempotency_key` string, nullable, required — The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](https://increase.com/documentation/idempotency-keys).
  - `mime_type` string, required — The MIME type of the file.
  - `purpose` 'card_dispute_attachment' | 'check_image_front' | 'check_image_back' | 'processed_check_image_front' | 'processed_check_image_back' | 'mailed_check_image' | 'check_attachment' | 'check_voucher_image' | 'check_signature' | 'inbound_mail_item' | 'form_1099_int' | 'form_1099_misc' | 'form_ss_4' | 'identity_document' | 'increase_statement' | 'loan_application_supplemental_document' | 'other' | 'trust_formation_document' | 'digital_wallet_artwork' | 'digital_wallet_app_icon' | 'physical_card_front' | 'physical_card_back' | 'physical_card_carrier' | 'document_request' | 'entity_supplemental_document' | 'export' | 'fee_statement' | 'unusual_activity_report_attachment' | 'deposit_account_control_agreement' | 'proof_of_authorization_request_submission' | 'account_verification_letter' | 'funding_instructions' | 'hold_harmless_letter', required — What the File will be used for. We may add additional possible values for this enum over time; your application should be able to handle such additions gracefully.
  - `type` 'file', required — A constant representing the object's type. For this resource it will always be `file`.

## Other responses

- `4XX` — Error
- `5XX` — Error

---

[API](https://skmtc.net/increase/apis/increase-api-2.md) · [All operations](https://skmtc.net/increase/apis/increase-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/increase/increase-api-2/versions/e968bcd4dcf9/schema)
