Skip to navigation

Create Comment

Create a comment on a post or page, or reply to an existing comment.

Authentication: Required — Bearer token.

Feature gate: Requires comments feature enabled on the app.

Request body:

  • parent_id (required) — ID of the Post or Page being commented on
  • parent_type (required) — Either “Post” or “Page”
  • content (required) — The comment text
  • comment_id (optional) — Parent comment ID for nested replies

Response: The created comment object with author info.

Errors:

  • 401 — Content is missing
  • 422 — Validation errors

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
parent_idstringOptional
parent_typestringOptional
contentstringOptional
comment_idstringOptional

Response

Created