Sign in

Create News feed item

documented

Post a new item to the News feed.

POST /services/data/{version}/chatter/feeds/news/{scope}/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://{{$INSTANCE_URL}}/services/data/v{{$version}}/chatter/feeds/news/{{$scope}}/feed-items" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"feedElementType": "FeedItem", "subjectId": "{{$subject_id}}", "body": {"messageSegments": [{"type": "Text", "text": "{{$text}}"}]}}'