---
title: "Reply to a comment"
method: POST
path: "/comments/{platformCommentId}/reply"
tags: ["Comments"]
---

# Reply to a comment

`POST /comments/{platformCommentId}/reply`

## Request

- Base URL: `https://api.postplanify.com/api/v1`
- URL: `https://api.postplanify.com/api/v1/comments/{platformCommentId}/reply`
- Auth: HTTP bearer

Posts a public reply to a comment on the originating platform. The reply is published immediately via the platform's API (there is no scheduling for replies).

## Requirements

- The comment's social account must still be connected and have the scopes required for the platform:
  - **Instagram**: `instagram_manage_comments` or `instagram_business_manage_comments`
  - **Facebook**: `pages_manage_engagement`
  - **LinkedIn**: no extra scopes required
  - **Google Business**: no extra scopes required
- The comment must not be hidden (`isHidden: false`). Unhide it in the PostPlanify dashboard first if needed.
- The reply must respect the platform's length limit (see `message` description).

## Success response

Returns the new reply's platform-native ID. The reply is also persisted to PostPlanify's inbox and `brandReplied` is set on the parent comment.

## LinkedIn URN encoding

For LinkedIn, URL-encode the parent comment's URN in the path: for example `urn:li:comment:(activity:12345,67890)` becomes `urn%3Ali%3Acomment%3A%28activity%3A12345%2C67890%29`.

## Path parameters

- `platformCommentId` string, required

## Request body

- ReplyToCommentRequest
  - `message` string, required: The reply body. Platform-specific length limits apply at publish time: - Instagram: 2,200 characters - Facebook: 8,000 characters - LinkedIn: 1,250 characters - Google Business: 4,096 characters Replying to a hidden comment is rejected with a `400` error.

## Response `201`

Reply posted

- object
  - `ok` boolean
  - `data` ReplyToCommentResponse
    - `id` string: Platform-native ID of the newly created reply.
    - `parentCommentId` string: The comment you replied to.

## Other responses

- `400`: Validation error: missing message, reply too long, or replying to a hidden comment
- `403`: Workspace requires an active subscription
- `404`: Comment not found, or you do not have access to it

---

[API](https://skmtc.dev/postplanify/apis/postplanify-api.md) · [All operations](https://skmtc.dev/postplanify/apis/postplanify-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postplanify/apis/postplanify-api/revisions/9eae5f1faa56?raw)
