Sign in

Create feed item comment

documented

Post a new comment on a feed item.

POST /services/data/{version}/chatter/feed-items/{feedItemId}/commentsFeedsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$SF_INSTANCE}}/services/data/v{{$version}}/chatter/feed-items/{{$feedItemId}}/comments" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"body": {"messageSegments": [{"type": "Text", "text": "{{$comment_text}}"}]}}'
Create feed item comment · Salesforce Chatter · OpenIntegrations