Connect REST API Developer Guide
Summer '26 (API version 67.0)
Spring '26 (API version 66.0)
Winter '26 (API version 65.0)
Summer '25 (API version 64.0)
Spring '25 (API version 63.0)
Winter '25 (API version 62.0)
Summer '24 (API version 61.0)
Spring '24 (API version 60.0)
Winter '24 (API version 59.0)
Summer '23 (API version 58.0)
Spring '23 (API version 57.0)
Winter '23 (API version 56.0)
Summer '22 (API version 55.0)
Spring '22 (API version 54.0)
Winter '22 (API version 53.0)
Summer '21 (API version 52.0)
Spring '21 (API version 51.0)
Winter '21 (API version 50.0)
Summer '20 (API version 49.0)
Spring '20 (API version 48.0)
Winter '20 (API version 47.0)
Summer '19 (API version 46.0)
Spring '19 (API version 45.0)
Winter '19 (API version 44.0)
Summer '18 (API version 43.0)
Spring '18 (API version 42.0)
Winter '18 (API version 41.0)
Summer '17 (API version 40.0)
Spring '17 (API version 39.0)
Winter '17 (API version 38.0)
Summer '16 (API version 37.0)
Spring '16 (API version 36.0)
Winter '16 (API version 35.0)
Summer '15 (API version 34.0)
Spring '15 (API version 33.0)
Winter '15 (API version 32.0)
Spring '14 (API version 30.0)
Filter a Response Body
Make a Request in an Experience Cloud Site
Get My News Feed
Get Another User’s Feed
Get a Group Feed
Post a Feed Item
Post a Feed Element and Include Files from Salesforce
Post a Poll
Post a Rich-Text Feed Element
Post a Feed Element with a Code Block
Post a Feed Element with an Inline Image
Post a Comment
Post a Comment and Include a File from Salesforce
Post a Rich-Text Comment
Post a Comment with a Code Block
Post a Comment with an Inline Image
Post a Binary File
Post an @Mention
Post Multiple @Mentions
Get a List of @Mention Proposals
Define Action Links and Post with a Feed Element
Define Action Links in a Template and Post with a Feed Element
Update the Status of an Action Link or Invoke an Action Link
Edit a Feed Post
Edit a Comment
Edit a Question Title and Post
Move a Feed Post from one Public Group to Another
Like a Feed Item
Like a Feed Item and Return the Total Number of Likes
Share a Feed Item
Send a Direct Message
Get Feed Elements Updated Since Last Request
Get a Feed with Internal Feed Items Only
Search a Feed
Get a List of Records a User Follows
Get Chatter Activity Statistics for a User
Get Recommendations of Users to Follow
Create and Schedule Custom Recommendations with Audiences
Create a Group
Update and Crop a Group Photo
Join a Group
Request to Join a Private Group
Approve or Reject a Request to Join a Private Group
Post to a Group
Follow a Record
Stop Following a Record
Get a Record Feed
Update a User Profile
Update and Crop a User Photo
Send a Private Message
Get User Information for Multiple Users
Create a Topic Hierarchy in Experience Cloud Sites
Get Answers From Data Cloud Sources
Newer Version Available
Connect REST API Examples
Use Connect REST API examples to perform tasks.
While using the Connect REST API, remember these request parameter and request body tips.
- Request parameters may be included as part of the Connect REST API resource URL, for example, /chatter/users?q=searchtext. A request body is a rich input which may be included as part of the request. When accessing a resource, you can use either a request body or request parameters. You cannot use both.
- With a request body, use Content-Type: application/json or Content-Type: application/xml.
- With request parameters, use Content-Type: application/x-www-form-urlencoded.
For more information on request bodies, see Using POST, PATCH, or PUT for Input.
For examples of how to upload a binary file, see Uploading Binary Files.
-
Filter a Response Body
Filter response bodies in Connect REST API. -
Make a Request in an Experience Cloud Site
Make a request in an Experience Cloud site. -
Get My News Feed
Get my news feed. -
Get Another User’s Feed
Get another user’s Chatter feed. -
Get a Group Feed
Get a Chatter group feed. -
Post a Feed Item
Post a feed item in Chatter. -
Post a Feed Element and Include Files from Salesforce
Post a feed element with Salesforce files in Chatter. -
Post a Poll
Post a poll feed element in Chatter. -
Post a Rich-Text Feed Element
Post a rich-text feed element in Chatter. -
Post a Feed Element with a Code Block
Post a feed element with a code block in Chatter. -
Post a Feed Element with an Inline Image
Post a feed element with an inline image in Chatter. -
Post a Comment
Post a comment in Chatter. -
Post a Comment and Include a File from Salesforce
Post a comment with a Salesforce file in Chatter. -
Post a Rich-Text Comment
Post a rich-text comment in Chatter. -
Post a Comment with a Code Block
Post a Chatter comment with a code block. -
Post a Comment with an Inline Image
Post a Chatter comment with an inline image. -
Post a Binary File
Post a binary file. -
Post an @Mention
Post an @mention in a Chatter feed item or comment. -
Post Multiple @Mentions
Post up to 25 mentions in a Chatter feed item or comment. -
Get a List of @Mention Proposals
Get a list of @mention proposals in Chatter. -
Define Action Links and Post with a Feed Element
Define actions links and post with a feed element. -
Define Action Links in a Template and Post with a Feed Element
Define action links in a template and post with a feed element. -
Update the Status of an Action Link or Invoke an Action Link
Update the status of an action link or invoke an action link. -
Edit a Feed Post
Edit a feed post in Chatter. -
Edit a Comment
Edit a comment in Chatter. -
Edit a Question Title and Post
Edit a question title and post. -
Move a Feed Post from one Public Group to Another
Move a Chatter feed post from one public group to another. -
Like a Feed Item
Like a feed item. -
Like a Feed Item and Return the Total Number of Likes
Like a feed item and get the total number of likes. -
Share a Feed Item
Share a Chatter feed item. -
Send a Direct Message
Send a direct message. -
Get Feed Elements Updated Since Last Request
Get the feed elements updated since the last request. -
Get a Feed with Internal Feed Items Only
Get a feed with internal feed items only. -
Search a Feed
Search a feed. -
Get a List of Records a User Follows
Get a list of records that a user follows. -
Get Chatter Activity Statistics for a User
Get the Chatter activity statistics for a user. -
Get Recommendations of Users to Follow
Get recommendations of users to follow. -
Create and Schedule Custom Recommendations with Audiences
Create and schedule custom recommendations with audiences. -
Create a Group
Create a Chatter group. -
Update and Crop a Group Photo
Update and crop a Chatter group photo. -
Join a Group
Join a Chatter group. -
Request to Join a Private Group
Make a request to join a private Chatter group. -
Approve or Reject a Request to Join a Private Group
Approve or reject a request to join a private group in Chatter. -
Post to a Group
Post to a Chatter group. -
Follow a Record
Follow a record in Chatter. -
Stop Following a Record
Stop following a record. -
Get a Record Feed
Get a record feed. -
Update a User Profile
Update a user profile. -
Update and Crop a User Photo
Update and crop a user photo. -
Send a Private Message
Send a private message. -
Get User Information for Multiple Users
Get user information for multiple users with a single call. -
Create a Topic Hierarchy in Experience Cloud Sites
Create a topic hierarchy in Experience Cloud sites. -
Get Answers From Data Cloud Sources
Search a data model object using a natural language query and return an answer.