> For the complete documentation index, see [llms.txt](https://docs.loci-dev.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.loci-dev.net/api-spec/api-references/upload-binary-file-using-api-key.md).

# Upload binary file using API key

### Request Body — REQUIRED

| Field        | Type   |
| ------------ | ------ |
| `binaryFile` | binary |

### Responses

| Status | Description                |
| ------ | -------------------------- |
| `200`  | File uploaded successfully |
| `400`  | Bad request                |
| `401`  | Unauthorized               |
