APILinkedIn Actions
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 'https://api.connectsafely.ai/linkedin/reply' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"commentId":"12345","reply":"example_value"}'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": "12345",
"reply": "example_value"
}Responses
| Status | Description |
|---|---|
| 200 | Reply posted successfully |
Check relationship status with specific account
Check the relationship between a specific LinkedIn account and a target profile. Useful for multi-account setups to check relationships from different accounts. Returns connection degree, follow status, and connection status.
LinkedIn Posts API
Fetch, engage, and analyse LinkedIn posts with the ConnectSafely API.
