younifyd
Menu

Update A Block

Update a block

PATCH/v1/blocks/{id}

Use it in a workflow

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

Request

Path parameters

idstringrequired

Headers

Notion-Versionstring

Request body

Enter the body as JSON in the step's Body field.

paragraphobject
rich_textarray<object>2 fields
json
{
  "paragraph": {
    "rich_text": [
      {
        "text": {
          "content": "hello to you"
        },
        "type": "text"
      }
    ]
  }
}

Response

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

created_timestring
has_childrenboolean
idstring
last_edited_timestring
objectstring
paragraphobject
textarray<object>5 fields
typestring
json
{
  "created_time": {},
  "has_children": false,
  "id": "4868767d-9029-4b9d-a41b-652ef4c9c7b9",
  "last_edited_time": {},
  "object": "block",
  "paragraph": {
    "text": [
      {
        "annotations": {
          "bold": false,
          "code": false,
          "color": "default",
          "italic": false,
          "strikethrough": false,
          "underline": false
        },
        "href": null,
        "plain_text": "hello to you",
        "text": {
          "content": "hello to you",
          "link": null
        },
        "type": "text"
      }
    ]
  },
  "type": "paragraph"
}

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