Newer Version Available

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

Share a Feed Item

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.

This Feed Item Input request body also includes a capabilities property that is a Feed Element Capabilities Input request body. In this example, the Feed Element Capabilities Input request body includes a feedEntityShare property that is a Feed Entity Share Capability Input request body.

Request body example
Request parameters

The originalFeedElementId request parameter isn’t supported in version 39.0 and later. Use the request body to share a feed item in version 39.0 and later.

Note

originalFeedElementId, subjectId
Request parameter example
Returns
Feed Item