Skip to main content
POST
/
api
/
v1
/
notion
/
comments
Create a comment
curl --request POST \
  --url https://{deployment}/api/v1/notion/comments \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-Notion-Official-Token: <x-notion-official-token>' \
  --header 'X-Notion-Token: <api-key>' \
  --data '
{
  "page_id": "abc123",
  "rich_text": "Looks good"
}
'
{}

Authorizations

X-API-KEY
string
header
required

Your deployment's API key (MMK_API_KEY).

X-Notion-Token
string
header
required

Your Notion integration token / internal token. Supplied by the caller (not stored server-side).

Headers

X-Notion-Official-Token
string
required

Your official Notion integration token — required by the official-API comments and users endpoints.

Body

application/json

The body is of type object.

Response

Created comment

The response is of type object.