---
title: "Upload from URL"
method: POST
path: "/upload-from-url"
tags: ["Uploads"]
---

# Upload from URL

`POST /upload-from-url`

Upload a file from an existing URL.

## Request body

- object
  - `url` string, uri, required — URL of the file to upload

## Response `200`

File uploaded successfully

- MediaFile
  - `id` string — Unique file ID
  - `name` string — File name
  - `path` string — File URL
  - `organizationId` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

---

[API](https://skmtc.net/postiz/apis/postiz-public-api.md) · [All operations](https://skmtc.net/postiz/apis/postiz-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/postiz/postiz-public-api/revisions/91e98b6af585/schema)
