---
title: "Upload file from URL"
method: POST
path: "/serverless/files/file/url/{file}"
tags: ["Serverless", "Files"]
---

# Upload file from URL

`POST /serverless/files/file/url/{file}`

Creates a new file at the target path by downloading it from the provided URL.

## Path parameters

- `file` string, required — Target file path (including filename)

## Request body

- object — Upload a file from a URL into the target path
  - `url` string, uri, required — Publicly accessible URL for the file

## Response `200`

Upload initiated

- boolean — Indicates whether the operation was successful

## Other responses

- `400` — Invalid request parameters
- `401` — Authentication required
- `429` — Rate limit exceeded
- `500` — Internal server error

---

[API](https://skmtc.dev/fal/apis/platform-apis.md) · [All operations](https://skmtc.dev/fal/apis/platform-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fal/platform-apis/revisions/0c7dabf80b00/schema)
