Skip to Content
Xeonr Developer Docs
UplApiUploads

Copy upload

POST
/uplim.api.v1.BucketUploadsService/CopyUpload

Creates a copy of an upload at a specified destination. Preserves metadata and thumbnails without re-processing.

Required scopes: upl:uploads:create

Authorization

OAuth2 upl:uploads:create
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:uploads:create

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bucketRef?|&|
uploadId?string

The source upload to copy

Length1 <= length
destinationFolder?|&|

Destination folder path or ID

slug?string

The slug for the copied upload (required)

Length1 <= length
tags?array<>

Optional tags to set on the copied upload (uses source tags if not provided)

Itemsitems <= 1000
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketUploadsService/CopyUpload" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "upload": "map[author:map[userId:3 username:luke] contentUrl:https://storage.upl.im/uploads/9b/7e/4d/2a/9b7e4d2a-3c1f-4e8b-a6d5-2f0c8e1b7a94.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=900&X-Amz-Signature=3f9a… createdAt:2026-10-22T09:30:00Z externalPath:/archive integrationHidden:false isVirtualFile:false order:0 path:/archive private:false sizeBytes:482113 slug:a8Kd3x-copy.png tags:[screenshot work] thumbnailContentTypeIconName:faFileImage thumbnailContentTypeUrn:default:image updatedAt:2026-10-22T10:15:00Z uploadId:e1c7a35b-82d4-4f19-9a0e-6b3d5f7c2a18 url:https://i.example.com/screenshots/a8Kd3x.png version:1]"
}