Skip to main content
POST
/
upload
Create documents from a file tree
curl --request POST \
  --url https://app.myhero.so/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "uploaded": {},
  "workspaceId": "<string>",
  "projectId": "<string>"
}
'
{
  "data": true
}

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
uploaded
object
required
workspaceId
string
required
Minimum string length: 1
projectId
string
docxMode
enum<string>
Available options:
convert,
keep

Response

200 response

data
boolean
required