---
title: "Upload Resource"
method: POST
path: "/sites/multiscreen/resources/{site_name}/upload"
---

# Upload Resource

`POST /sites/multiscreen/resources/{site_name}/upload`

Upload a resource to the website from an external source. Resource is uploaded to Duda's CDN and made available to anyone building the website.

## Path parameters

- `site_name` string, required

## Request body

- object
  - `RAW_BODY` object[] — Provide an array of resources to upload
    - `folder` string — A folder structure where the image will be located within the image library. A maximum of two levels are supported (folder1/folder2). Leading and trailing slashes are optional.
    - `resource_type` 'IMAGE' | 'FILE', required — The type of resource being uploaded.
    - `src` string, required — A public URL for the resource

## Response `200`

200

- object
  - `n_failures` integer
  - `uploaded_resources` object[]
    - `new_url` string
    - `original_url` string
    - `status` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/duda/apis/partner-api.md) · [All operations](https://skmtc.net/duda/apis/partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/duda/partner-api/revisions/5b9208270ed1/schema)
