Retrieve a block
GET
/v1/blocks/{id}Retrieve a block
Request
Path Params
id
string
required
Identifier for a Notion block
Request samples
Responses
200 Success - Retrieve a block(200)
200 Success - Retrieve a block
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
created_time
string
optional
Example:
2021-08-06T17:46:00.000Z
has_children
boolean
optional
Example:
false
id
string
optional
Example:
4868767d-9029-4b9d-a41b-652ef4c9c7b9
last_edited_time
string
optional
Example:
2021-08-12T00:12:00.000Z
object
string
optional
Example:
block
paragraph
object
optional
text
array [object {5}]
optional
type
string
optional
Example:
paragraph
Example
200 Success - Retrieve a block
{
"created_time": "2021-08-06T17:46:00.000Z",
"has_children": false,
"id": "4868767d-9029-4b9d-a41b-652ef4c9c7b9",
"last_edited_time": "2021-08-12T00:12:00.000Z",
"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"
}
Last modified: 2 years ago