ApiUncategorized
Reply to a comment
Post a reply to an existing comment on a LinkedIn post. Replies appear threaded under the original comment. Useful for continuing conversations and engaging with community discussions.
POST
/replyReply to a comment
Post a reply to an existing comment on a LinkedIn post. Replies appear threaded under the original comment. Useful for continuing conversations and engaging with community discussions.
Authentication requiredActions
Code Examples
curl -X POST '/linkedin/reply' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"commentId":"string","reply":"string"}'Parameters
No parameters.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
commentId | string | Yes | ID of the comment to reply to (from /posts/comments response) |
reply | string | Yes | Reply text content. Supports @mentions and hashtags. |
Example
{
"commentId": "string",
"reply": "string"
}Responses
| Status | Description |
|---|---|
| 200 | Reply posted successfully |
