Newer Version Available

This content describes an older version of this product. View Latest

Post a Feed Item

Post a feed item in Chatter.
Resource
/chatter/feed-elements
HTTP method
POST
Request body
Feed Item Input

This Feed Item Input request body includes a body property that is a Message Body Input request body. In this example, the Message Body Input request body includes a messageSegments property that has one Message Segment Input: Text request body and one Message Segment Input: Mention request body.

Request body example
In the subjectId, specify the user, group, or record that will parent the feed item.
Request parameters
feedElementType, subjectId, text
Request parameter example
Returns
Feed Item