Sign in

Create feed item

documented

Post a new feed item (post/update) to a feed context.

POST /services/data/{version}/chatter/feed-itemsFeedsno 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}}.salesforce.com/services/data/v{{version}}/chatter/feeds/news/me/feed-items" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"body": {"messageSegments": [{"type": "Text", "text": "{{{$message}}}"}]}, "subjectId": "{{{$subject_id}}}", "feedElementType": "FeedItem"}'
Create feed item · Salesforce Chatter · OpenIntegrations