Sign in

Create record feed item

documented

Post a new feed item to a specific record’s feed.

POST /services/data/{version}/chatter/feeds/record/{recordId}/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://{{$salesforce_domain}}/services/data/v{{$version}}/chatter/feeds/record/{{$recordId}}/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\": \"{{$recordId}}\", \"feedElementType\": \"FeedItem\" }'
Create record feed item · Salesforce Chatter · OpenIntegrations