Apex 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)
SmartDataDiscovery Class
ConnectApi Enums
ConnectApi Exceptions
Glossary
Newer Version Available
ConnectApi Namespace
The ConnectApi namespace (also called Chatter in
Apex) provides classes for accessing the same data available in Chatter REST API. Use Chatter in
Apex to create custom Chatter experiences in Salesforce.
For information about working with the ConnectApi classes, see Chatter in Apex.
-
ActionLinks Class
Create, delete, and get information about an action link group definition; get information about an action link group; get action link diagnostic information. -
Announcements Class
Access information about announcements and post announcements. -
Chatter Class
Access information about followers and subscriptions for records. -
ChatterFavorites Class
Chatter favorites give you easy access to topics, list views, and feed searches. -
ChatterFeeds Class
Get, post, and delete feed elements, likes, comments, and bookmarks. You can also search feed elements, share feed elements, and vote on polls. -
ChatterGroups Class
Information about groups, such as the group’s members, photo, and the groups the specified user is a member of. Add members to a group, remove members, and change the group photo. -
ChatterMessages Class
Access and modify message and conversation data. -
ChatterUsers Class
Access information about users, such as activity, followers, subscriptions, files, and groups. -
Communities Class
Access general information about communities in your organization. -
CommunityModeration Class
Access information about flagged feed items and comments in a community. Add and remove flags from comments and feed items. -
ContentHub Class
Access Files Connect repositories and their files and folders. -
Datacloud Class
Purchase Data.com contact or company records, and retrieve purchase information. -
EmailMergeFieldService Class
Extract a list of merge fields for an object. A merge field is a field you can put in an email template, mail merge template, custom link, or formula to incorporate values from a record. -
ExternalEmailServices Class
Access information about integration with external email services, such as sending email within Salesforce through an external email account. -
Knowledge Class
Access information about trending articles in communities. -
ManagedContent Class
Get managed content versions. -
ManagedTopics Class
Access information about managed topics in a community. Create, delete, and reorder managed topics. -
Mentions Class
Access information about mentions. A mention is an “@” character followed by a user or group name. When a user or group is mentioned, they receive a notification. -
Missions Class
Export and purge mission activity for users. Get a user’s mission progress. Update mission activity counts for users. -
NextBestAction Class
Execute recommendation strategies, get recommendations, manage recommendation reactions. -
Organization Class
Access information about an org. -
QuestionAndAnswers Class
Access question and answers suggestions. -
Recommendations Class
Get and reject Chatter, custom, and static recommendations. Create, get, update, and delete custom recommendation audiences, custom recommendation definitions, and scheduled custom recommendations. -
Records Class
Access information about record motifs, which are small icons used to distinguish record types in the Salesforce UI. -
SalesforceInbox Class
Access information about Automated Activity Capture, which is available in Einstein and Salesforce Inbox. -
SmartDataDiscovery Class
Get predictions on Salesforce objects. -
SocialEngagement Class
Manage information about social accounts or fan pages for social networks. -
Topics Class
Access information about topics, such as their descriptions, the number of people talking about them, related topics, and information about groups contributing to the topic. Update a topic’s name or description, merge topics, and add and remove topics from records and feed items. -
UserProfiles Class
Access user profile data. The user profile data populates the profile page (also called the Chatter profile page). This data includes user information (such as address, manager, and phone number), some user capabilities (permissions), and a set of subtab apps, which are custom tabs on the profile page. -
Zones Class
Access information about Chatter Answers zones in your organization. Zones organize questions into logical groups, with each zone having its own focus and unique questions. -
ConnectApi Input Classes
Some ConnectApi methods take arguments that are instances of ConnectApi input classes. -
ConnectApi Output Classes
Most ConnectApi methods return instances of ConnectApi output classes. -
ConnectApi Enums
Enums specific to the ConnectApi namespace. -
ConnectApi Exceptions
The ConnectApi namespace contains exception classes.