Skip to main content
POST
string
required
The API key for your account. You can find this in your account settings.
Object Copy duplicates a file under a new name, prefix or visibility, entirely on the server: no bytes go through your application. With move: true the source is removed afterwards, which is how you rename or move a file. Requires the blob:write scope and a paid plan.
  • The copy keeps the source’s extension, content type, cache, disposition and metadata.
  • A copy counts against your storage quota; a move doesn’t.
  • The destination always uses the current storage, so moving is also how you bring a legacy file, stored before the September 2026 update, to the new format (see Object Update).
string
required
The id of the file to copy.
object
required
Where the copy goes.
boolean
default:"false"
true removes the source after the copy succeeds.
boolean
default:"false"
true replaces an existing file at the destination. Otherwise the request answers 409 OBJECT_ALREADY_EXISTS.

Rate limits

10 requests per 10 seconds (RATE_LIMITED, 429).

Response

string
“success” if successful, “error” if not.
object

Errors