v1

latestOpenAPI 3.1.0MIT2026-07-243952451019.0 KB
Communities::Spaces::Post::Comment

Create Comment

Create a comment on a post. Comments created via the API are auto-approved. The contact_id is optional and defaults to the connected user's own contact. Use parent_comment_id for threaded replies.

post/communities/spaces/posts/{post_id}/comments

Path parameters

post_idinteger required

Request body

Example request

{
  "communities_spaces_posts_comment": {
    "communities_spaces_posts_comment": {
      "body": "<p>Great post, thanks for sharing!</p>"
    }
  }
}

Response

Created

idinteger

Comment ID

public_idstring nullable

Comment public ID

contact_idinteger nullable

ID of the Contact who authored the comment

bodystring nullable

Comment body as plain text

urlstring nullable

Canonical URL of the comment

created_atstring date-time nullable

Created at

updated_atstring date-time nullable

Updated at

Example response

{
  "id": 202,
  "public_id": "MnOpQr",
  "contact_id": 55,
  "body": "Great post, thanks for sharing!",
  "url": "https://example.myclickfunnels.com/communities/posts/AbCdEf/comments/MnOpQr",
  "contact": {
    "id": 55,
    "public_id": "GhIjKl",
    "email_address": "jane@example.com",
    "first_name": "Jane",
    "last_name": "Doe",
    "phone_number": null
  },
  "group": {
    "id": 1,
    "public_id": "BcDeFg",
    "name": "General"
  },
  "post": {
    "id": 101,
    "public_id": "AbCdEf",
    "title": "Welcome to the community!",
    "url": "https://example.myclickfunnels.com/communities/posts/AbCdEf"
  },
  "created_at": "2025-01-01T00:00:00.000Z",
  "updated_at": "2025-01-01T00:00:00.000Z"
}