Skip to main content
POST
/
clause-reference
/
paste
Paste clause references
curl --request POST \
  --url https://app.myhero.so/clause-reference/paste \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "oldToNewClauseReferenceIds": {},
  "documentId": "<string>"
}
'
{
  "data": [
    {
      "_id": "<string>",
      "blockId": "<string>",
      "documentId": "<string>",
      "workspaceId": "<string>",
      "hierarchy": "<string>",
      "createdAt": 123,
      "updatedAt": 123,
      "originId": "<string>",
      "isDeleted": false
    }
  ],
  "version": 1
}

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
oldToNewClauseReferenceIds
object
required
documentId
string
required
Minimum string length: 1

Response

201 response

data
object[]
required
version
enum<number>
required
Available options:
1