Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
---
title: MoveToProject
description: >-
Move a document, email thread, or project into another project (projects are
shown as folders in the app UI), or move it out to the top level.
---
# MoveToProject
Move a document, email thread, or project into another project (projects are shown as folders in the app UI), or move it out to the top level. Requires edit access to the destination project. Moving a document or email thread requires edit access to it; moving a project requires owning it.
## Parameters
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `entityType` | `"document"` \| `"email"` \| `"project"` | Yes | The kind of entity to move. |
| `entityId` | string | Yes | The id of the entity to move. |
| `projectId` | string | No | The id of the destination project. Omit to move the entity out of its current project to the top level. |