curl --request POST \
--url https://api.example.com/v2/content \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"account_id": "<string>",
"action": "<string>",
"params": {
"post_url": "<string>",
"comment_text": "<string>",
"company_url": "<string>"
}
}
'{
"success": true,
"data": {
"commented": true,
"post_url": "https://www.linkedin.com/feed/update/urn:li:activity:7654321098765432100",
"comment_text": "Great insights! Thanks for sharing."
},
"metadata": {
"action": "comment",
"account_id": "your-account-id",
"credits_consumed": 1,
"timestamp": "2026-04-26T10:35:00Z"
}
}
Add a comment to a post.
curl --request POST \
--url https://api.example.com/v2/content \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"account_id": "<string>",
"action": "<string>",
"params": {
"post_url": "<string>",
"comment_text": "<string>",
"company_url": "<string>"
}
}
'{
"success": true,
"data": {
"commented": true,
"post_url": "https://www.linkedin.com/feed/update/urn:li:activity:7654321098765432100",
"comment_text": "Great insights! Thanks for sharing."
},
"metadata": {
"action": "comment",
"account_id": "your-account-id",
"credits_consumed": 1,
"timestamp": "2026-04-26T10:35:00Z"
}
}
company_url parameter.
"comment".{
"success": true,
"data": {
"commented": true,
"post_url": "https://www.linkedin.com/feed/update/urn:li:activity:7654321098765432100",
"comment_text": "Great insights! Thanks for sharing."
},
"metadata": {
"action": "comment",
"account_id": "your-account-id",
"credits_consumed": 1,
"timestamp": "2026-04-26T10:35:00Z"
}
}
Was this page helpful?