---
title: "Upload a file"
method: POST
path: "/files"
tags: ["Private Files"]
---

# Upload a file

`POST /files`

## Headers

- `x-apikey` string, required

## Response `200`

The analysis ID. Use [/analyses/<analysis_ID>](https://gtidocs.readme.io/reference/private-analysis) API call to check the analysis status.

- object
  - `data` object
    - `id` string
    - `type` string
    - `links` object
      - `self` string

## Other responses

- `401` — If password was provided and the file isn't a ZIP, it contains more than one file, the password is incorrect, or the file is corrupt.

---

[API](https://skmtc.net/virustotal/apis/threat-landscape.md) · [All operations](https://skmtc.net/virustotal/apis/threat-landscape/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/virustotal/threat-landscape/revisions/d61b85e6a6b3/schema)
