Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Notion Comments API

Comments allow integrations to read and create comments on pages and blocks within Notion. Comments support rich text content and are associated with discussion threads.

Notion Comments API is one of 6 APIs that Notion publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 3 JSON Schema definitions.

Tagged areas include Comments. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, a JSON-LD context, authentication docs, a getting-started guide, and 3 JSON Schemas.

This API exposes 2 operations across 1 path, and defines 5 schemas. It is described by OpenAPI 3.1.0, at version 2022-06-28.

Requests are made against a single base URL, https://api.notion.com/v1.

2 operations 1 paths 5 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2022-06-28
Server
https://api.notion.com/v1
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Notion Comments API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Notion API uses bearer token authentication. Obtain an integration token from https://www.notion.so/my-integrations. Pass the token in the Authorization header…

Paths & Operations 2

Across 1 path, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Comments 2

Comments allow integrations to read and create comments on pages and blocks within Notion. Comments support rich text content and are associated with discussion threads.

GET
/comments
Notion Retrieve comments
listComments 4 params → 200401404429
POST
/comments
Notion Create a comment
createComment 1 param body → 200400401404429

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are Comment (8 properties), RichText (7 properties), PaginatedList (6 properties), Error (5 properties). Each schema is shown below with its type and property counts.

PaginatedList
object
A paginated list of results returned by list and query endpoints. All paginated responses follow the same structure with a results array, pagination info, and…
6 properties 4 required
RichText
object
A Rich Text object represents styled text content in Notion. Rich text can include annotations like bold, italic, and color, as well as links and mentions of o…
7 properties 2 required
Comment
object
A Comment object represents a comment on a Notion page or block. Comments contain rich text content and are associated with discussion threads.
8 properties 8 required
PartialUser
object
A partial User object containing only the object type and ID. Used in createdby and lasteditedby fields.
2 properties 2 required
Error
object
An error response from the Notion API.
5 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

notion-comments-api-openapi.yml Raw ↑

Other APIs Notion publishes across the network.

Notion Blocks API
Notion Databases API
Notion Pages API
Notion Search API
Notion Users API