Skip to main content
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

ParameterTypeRequiredDescription
platformstringYesinstagram, facebook, or threads
accountIdstringYesIntegration ID from list_integrations
postIdstringOne ofPlatform post/media ID — creates a top-level comment (Instagram, Facebook) or new post (Threads)
commentIdstringOne ofPlatform comment ID to reply to — creates a reply on any platform
textstringYesComment text

Provide either postId or commentId, not both.

Response

{
	"success": true,
	"commentId": "COMMENT_ID"
}

On this page