Gallery
Copy a gallery item into a pack
A gallery page's Add to a pack: the item, as its publisher made it, into a pack this key can edit (pack) or a new pack made for it (newPackName). It is then yours to change like anything else. A skin goes to your skins instead and needs neither. Free, but it counts against the plan's limits as any new asset or pack does.
/gallery/{item}/copyPath parameters
itemstringrequiredThe item's id from the gallery listing.
Body
packstringThe slug of the pack it goes into. Send this or newPackName.
newPackNamestringmax 100 charactersMake a new pack of this name for it instead.
Response · 201
Copied.
itemstringrequiredThe gallery item.
typestringrequiredWhat it is.
packstringrequiredThe pack it landed in. Null for a skin.
assetIdstringrequiredIts id there. Find it in GET /packs/{pack}/assets.
Error codes
Branch on error.code, never on the message.
invalid_json400The request body wasn't a JSON object.
invalid_request400Something in the body or query is wrong. message says what.
invalid_api_key401The key isn't one of ours, or it has been revoked.
missing_api_key401No Authorization: Bearer header was sent.
wrong_key_kind401An MCP key sent to the REST API, or an API key sent to the MCP server. Each only opens its own.
account_suspended403The account is suspended, so its keys open nothing. message says until when, if the suspension has an end date.
asset_limit_reached403The pack is at its asset limit.
pack_limit_reached403The account is at its plan's pack limit.
plan_required403The key is valid, but its account's plan does not include the API.
not_found404No such pack, asset or job.