younifyd
Menu

Retrieve Comments

Retrieve comments

GET/v1/comments

Use it in a workflow

  1. Add a step and choose the Notion connector.
  2. Pick the Retrieve Comments action (under Comments).
  3. Fill in the fields below, then reference the result from later steps as {{retrieveComments.response.data}}.

Request

Query parameters

block_idstring
page_sizestring

Headers

Notion-Versionstring

Response

Returns 200 with an object. Read it in later steps with {{retrieveComments.response.data.<field>}}.

commentobject
has_moreboolean
next_cursorany
objectstring
resultsarray<object>
created_byobject2 fields
created_timestring
discussion_idstring
idstring
last_edited_timestring
objectstring
parentobject2 fields
rich_textarray<object>5 fields
typestring
json
{
  "comment": {},
  "has_more": false,
  "next_cursor": null,
  "object": "list",
  "results": [
    {
      "created_by": {
        "id": "952f41bb-da96-4d36-9c2e-74924eee8ef1",
        "object": "user"
      },
      "created_time": {},
      "discussion_id": "ce18f8c6-ef2a-427f-b416-43531fc7c117",
      "id": "ed4c62f2-c0ad-4081-b6b8-dad025637741",
      "last_edited_time": {},
      "object": "comment",
      "parent": {
        "block_id": "5d4ca33c-d6b7-4675-93d9-84b70af45d1c",
        "type": "block_id"
      },
      "rich_text": [
        {
          "annotations": {
            "bold": false,
            "code": false,
            "color": "default",
            "italic": false,
            "strikethrough": false,
            "underline": false
          },
          "href": null,
          "plain_text": "Please cite your source",
          "text": {
            "content": "Please cite your source",
            "link": null
          },
          "type": "text"
        }
      ]
    },
    {
      "created_by": {
        "id": "952f41bb-da96-4d36-9c2e-74924eee8ef1",
        "object": "user"
      },
      "created_time": {},
      "discussion_id": "e63f446f-a84a-4cab-8f5a-b9e7779ecb67",
      "id": "8949cb38-aee6-4c62-ba96-6ef7df9b4cf2",
      "last_edited_time": {},
      "object": "comment",
      "parent": {
        "block_id": "5d4ca33c-d6b7-4675-93d9-84b70af45d1c",
        "type": "block_id"
      },
      "rich_text": [
        {
          "annotations": {
            "bold": false,
            "code": false,
            "color": "default",
            "italic": false,
            "strikethrough": false,
            "underline": false
          },
          "href": null,
          "plain_text": "What other nutrients does kale have?",
          "text": {
            "content": "What other nutrients does kale have?",
            "link": null
          },
          "type": "text"
        }
      ]
    },
    {
      "created_by": {
        "id": "e450a39e-9051-4d36-bc4e-8581611fc592",
        "object": "user"
      },
      "created_time": {},
      "discussion_id": "ce18f8c6-ef2a-427f-b416-43531fc7c117",
      "id": "6cd52483-6d55-4f8a-a724-4adb1c17ed43",
      "last_edited_time": {},
      "object": "comment",
      "parent": {
        "block_id": "5d4ca33c-d6b7-4675-93d9-84b70af45d1c",
        "type": "block_id"
      },
      "rich_text": [
        {
          "annotations": {
            "bold": false,
            "code": false,
            "color": "default",
            "italic": false,
            "strikethrough": false,
            "underline": false
          },
          "href": "https://www.healthline.com/nutrition/10-proven-benefits-of-kale",
          "plain_text": "https://www.healthline.com/nutrition/10-proven-benefits-of-kale",
          "text": {
            "content": "https://www.healthline.com/nutrition/10-proven-benefits-of-kale",
            "link": {
              "url": "https://www.healthline.com/nutrition/10-proven-benefits-of-kale"
            }
          },
          "type": "text"
        }
      ]
    }
  ],
  "type": "comment"
}

Need more? See the Notion guide for connection setup and behaviour shared by every action.