Skip to main content
POST
/
document
/
transfer
/
accept
/
{transferId}
Accept a document transfer
curl --request POST \
  --url https://app.myhero.so/document/transfer/accept/{transferId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceId": "<string>",
  "projectId": "<string>"
}
'
{
  "data": {
    "success": true,
    "path": "<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.

Accepts a pending transfer identified by transferId, copying the documents into the caller’s target workspace or project. The caller’s authenticated email must match the transfer’s recipientEmail. Returns a path pointing to the newly created documents on success.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

transferId
string
required
Minimum string length: 1

Body

application/json
workspaceId
string
required
Minimum string length: 1
projectId
string

Response

200 response

data
object
required