Skip to main content
POST
/
referenced-rows-in-document
Upsert a referenced row
curl --request POST \
  --url https://app.myhero.so/referenced-rows-in-document \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tableId": "<string>",
  "documentId": "<string>",
  "rowId": "<string>"
}
'
{
  "data": {
    "_id": "<string>",
    "documentId": "<string>",
    "tableId": "<string>",
    "rowId": "<string>",
    "workspaceId": "<string>",
    "createdAt": 123,
    "updatedAt": 123,
    "originId": "<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.

Creates or updates a record linking a table row to a document. The combination of tableId and documentId is used as the upsert key; rowId is optional. Requires edit access to the document. Returns the upserted ReferencedRowInDocument record.

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
tableId
string
required
Minimum string length: 1
documentId
string
required
Minimum string length: 1
rowId
string

Response

201 response

data
object
required