Skip to main content
POST
/
templates
/
copy
/
projects
Copy project templates to a workspace
curl --request POST \
  --url https://app.myhero.so/templates/copy/projects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "templateIds": [
    "<string>"
  ],
  "workspaceId": "<string>"
}
'
{
  "data": {
    "firstNewProjectId": "<string>"
  }
}

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.

Copies one or more project templates into the specified workspace, creating new projects for each. Requires create-project permission on the workspaceId. Returns the firstNewProjectId for navigation.

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
templateIds
string[]
required
Minimum array length: 1
Minimum string length: 1
workspaceId
string
required
Minimum string length: 1

Response

200 response

data
object
required