Comments
Create a Comment
Post a top-level comment on Instagram, Facebook, or Threads.
Post a top-level comment on an Instagram Business post, a Facebook Page post, or publish a new Threads post. To reply to an existing comment, provide commentId instead of postId.
Request
POST /v1/comments
x-access-key: YOUR_ACCESS_KEY
Content-Type: application/json{
"platform": "instagram",
"accountId": "INTEGRATION_ID",
"postId": "MEDIA_ID",
"text": "Try it out at postpeer.dev"
}Body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
platform | string | Yes | instagram, facebook, or threads |
accountId | string | Yes | Integration ID from list_integrations |
postId | string | One of | Platform post/media ID — creates a top-level comment (Instagram, Facebook) or new post (Threads) |
commentId | string | One of | Platform comment ID to reply to — creates a reply on any platform |
text | string | Yes | Comment text |
Provide either postId or commentId, not both.
Response
{
"success": true,
"commentId": "COMMENT_ID"
}