Copy Media
copy_mediaCopies a Wistia media item and its assets to a destination folder, defaulting to the source folder, with optional new owner.
Instructions
This endpoint copies a media and its assets to a destination folder (defaults to source media).
Requires api token with one of the following permissions
Read, update & delete anythingTokens with the "Act with a team member's permissions" permission
(all:delegate_to_contact_permissions scope) can also be used. Requests
made with such a token are authorized using the permissions of the
contact assigned to the token.
Requires confirm=true for the requested mutation. May share access, notify people or incur provider charges.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"media_hashed_id": "<media_hashed_id>"
},
"name": "copy_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | No | An email address specifying the owner of the new media. Defaults to the source media’s current owner if omitted or invalid. | |
| account | No | Named private Wistia account; selects credentials, not a remote account ID. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete JSON request body instead of body flags. Supports current nested customization, caption and nullable values. | |
| folder_id | No | The ID of the folder where you want the new copy placed. Defaults to the source media’s current folder if omitted or invalid. | |
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. | |
| media_hashed_id | Yes | The hashed ID of the media. |