Skip to main content
CommentsVersion: v3

Create a comment or reply

POST/social-media-posting/comments/{platform}

Create a top-level comment on a post (isParentThread: true, parentId = postId) or a reply to an existing comment (isParentThread: false, parentId = commentId). Per-platform content max length: Facebook 8000, Instagram 2200, Linkedin 3000, Community 8000, Tiktok 150, Bluesky 300, Youtube 10000, Threads 500.

Optional-field platform support:

  • attachments — supported on Facebook only. Ignored on Instagram, LinkedIn, TikTok, Bluesky, Community (Community processes the field but external URLs are not rendered due to its bucket restriction).
  • mentions — supported on Facebook, LinkedIn, and Community only. Ignored on Instagram, TikTok, Bluesky.
  • notifyAllGroupMembers — supported on Community only. When true, all group members get a push/in-app notification (equivalent to an @everyone broadcast). Independent of the mentions array and of @everyone text in content. Default false.

Authorizations

Authorizationstringheaderrequired

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

Scope:socialplanner/comments.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

platformstringrequired

Supported Comments Platforms

Available optionsfacebookinstagramlinkedincommunitytiktokblueskyyoutubethreads
Example:facebook

Query Parameters

locationIdstringrequired

Location ID

Example:1234

Body

parentIdstringrequired

For top-level comments (isParentThread: true): pass the post ID returned by the posts API. For replies (isParentThread: false): pass the parent comment ID returned by the list-comments API. In both cases this must be a valid 24-character internal ID — not the native platform ID.

Example:6975b186f3442844ec07665b
isParentThreadbooleanrequired

Set true to create a top-level comment on a post (parentId = post ID). Set false to create a reply to an existing comment (parentId = comment ID).

Example:true
contentstringrequired

Content of the comment. Per-platform max length: Facebook 8000, Instagram 2200, Linkedin 3000, Community 8000, Tiktok 150, Bluesky 300, Youtube 10000, Threads 500.

Example:Great post, Alex Morgan!
attachmentsobject[]

Attachments for the comment (max 1 image). Supported on: Facebook only. Not supported on: Instagram, LinkedIn, TikTok, Bluesky, Community — the field is accepted by the API but the attachment will not appear on the comment. (Community processes the field server-side, but external URLs are not rendered due to its bucket restriction.)

Example
[
  {
    "url": "https://example.com/image.jpg",
    "type": "image"
  }
]
mentionsobject[]

Mentions for the comment. Supported on: Facebook, LinkedIn, Community. Ignored on: Instagram, TikTok, Bluesky — the field is accepted but mentions are not rendered on these platforms.

offset/length must locate name inside content exactly — content.substring(offset, offset + length) === name — otherwise the request is rejected with 400. The example below aligns with the content example above.

Example
[
  {
    "name": "Alex Morgan",
    "id": "102694781978972",
    "offset": 12,
    "length": 11
  }
]
notifyAllGroupMembersboolean

When true, all members of the Community group receive a push/in-app notification about this comment — equivalent to an @everyone broadcast.

Supported on: Community only. Ignored on all other platforms (the field is accepted but no notification is sent).

Independent of the mentions array — you do not need to add an @everyone entry to mentions for this to take effect. Conversely, putting the literal text @everyone in content does not by itself trigger notifications; only this flag does.

Defaults to false (no broadcast notification). Use true only when the comment is genuinely intended for every member of the group — overuse may cause members to mute the group.

Example:false
pollOptionsobject

Poll options for Threads reply (2-4 options)

Example
{
  "option_a": "Yes",
  "option_b": "No",
  "option_c": "Maybe"
}
textAttachmentobject

Text attachment for Threads reply with optional styling info

Example
{
  "plaintext": "Styled text content",
  "textWithStylingInfo": [
    {
      "offset": 0,
      "length": 5,
      "styling_info": [
        "bold"
      ]
    }
  ]
}
threadLocationIdstring

Location ID for Threads reply location tagging

Example:123456

Response

Successful response

successbooleanrequired

Success or Failure

Example:true
statusCodenumberrequired

Status Code

Example:201
messagestringrequired

Message

Example:Created Comment
resultsobjectrequired

The created comment