Skip to main content
POST
/
project
/
paste
Copy projects to a location
curl --request POST \
  --url https://app.myhero.so/project/paste \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "copiedNodes": [
    {
      "id": "<string>"
    }
  ],
  "parentId": "<string>",
  "workspaceId": "<string>",
  "projectId": "<string>"
}
'
{
  "data": true
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Creates deep copies of one or more projects (and all their documents) into the target workspace or project. The caller must have access to every source project and the destination.

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
copiedNodes
object[]
required
Minimum array length: 1
parentId
string
workspaceId
string
projectId
string

Response

200 response

data
enum<boolean>
required
Available options:
true