Skip to main content
GET
/
block
/
{id}
Retrieve a block
curl --request GET \
  --url https://app.myhero.so/block/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "_id": "<string>",
    "type": "clauseBlock",
    "properties": {
      "attributes": {},
      "content": [
        {
          "id": "<string>",
          "type": "<string>",
          "text": "<string>",
          "marks": [
            {
              "type": "<string>",
              "attributes": {}
            }
          ]
        }
      ],
      "marks": [
        {
          "type": "<string>",
          "attributes": {}
        }
      ]
    },
    "nodeId": "<string>",
    "userId": "<string>",
    "projectId": "<string>",
    "workspaceId": "<string>",
    "createdAt": 123,
    "updatedAt": 123,
    "originId": "<string>",
    "parentId": "<string>",
    "isDeleted": false
  }
}

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.

Returns a single block document (clause block, clause reference, placeholder, term definition, or image block) by its _id. Access is verified against the block’s parent document.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

id
string
required
Minimum string length: 1

Response

200 response

data
object
required