---
title: "Upload file"
method: POST
path: "/devices/{deviceId}/files"
tags: ["Files"]
---

# Upload file

`POST /devices/{deviceId}/files`

Uploads a file to the device via multipart form data, writing it into the directory given by the path query parameter using the uploaded file's name.

## Path parameters

- `deviceId` string, required

## Query parameters

- `path` string, required

## Headers

- `X-Device-Display-ID` integer

## Response `204`

No Content

## Other responses

- `default` — Error

---

[API](https://skmtc.net/mobilerun/apis/workflows.md) · [All operations](https://skmtc.net/mobilerun/apis/workflows/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mobilerun/workflows/revisions/1bc499aa8f99/schema)
