move_message_to_folder
Move a voice memo or prerecorded message into a folder or out to a workspace. Use to file a memo after creation; pass a folder_id or workspace_id to set its new placement.
Instructions
Move a message into a folder, or out to a workspace.
USE WHEN: Filing a memo. Only voicememo/prerecorded messages you created can be moved, and the message type must match the folder's type. Pass exactly one of folder_id or workspace_id.
USE INSTEAD: move_folder to relocate a whole folder. create_voicememo_message with folder_id to file a memo at creation time instead of moving it after.
FIRST: message_id comes from list_messages (field results[].id) — call it first if you don't have one.
EXAMPLE: {"message_id":"msg-abc","folder_id":"folder-abc"}
RETURNS: The updated message with its new placement.
ERROR BAD_REQUEST: The message type is not voicememo/prerecorded, it does not match the destination folder's type, or both/neither destination was given. — Check type via get_message and the folder type via get_folder; they must match. Pass exactly one destination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | No | Destination folder. Pass exactly one of `folder_id` or `workspace_id` — both together, or neither, is rejected. | |
| message_id | Yes | Message to move. Only `voicememo` and `prerecorded` messages can be moved, you must be the message creator, and the message type must match the destination folder's type (a voicememo cannot go into a prerecorded folder). | |
| workspace_id | No | Destination workspace, to take the message out of any folder. Pass exactly one of `folder_id` or `workspace_id` — both together, or neither, is rejected. |