Skip to content

getNotes

READ

Get notes.

POST /api/v1/shared/getNotes
curl -X POST '<your-host>/api/v1/shared/getNotes' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "documentId": "string"
  }'
Response
{
  "results": [
    {
      "id": "string",
      "note": "string",
      "createdAt": "string",
      "user": {
        "id": "string",
        "fullName": "string",
        "avatarUrl": "string"
      }
    }
  ],
  "count": null
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "documentId": {
      "type": "string"
    }
  },
  "required": [
    "documentId"
  ]
}