Skip to main content
GET
/
access
/
document
/
{documentId}
Check document access
curl --request GET \
  --url https://app.myhero.so/access/document/{documentId} \
  --header 'Authorization: Bearer <token>'
{
  "data": true
}

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 true if the authenticated user can access the document identified by documentId, false otherwise. Does not reveal whether the document exists.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

documentId
string
required
Minimum string length: 1

Response

200 response

data
boolean
required