To create a community activity, send a POST request to the remote applications feed of the community to which you want to add the activity.
Before you begin
You cannot add activities to a community programmatically until the Activities widget has been added to the community using the Customize menu option in the product user interface. It is not until the widget is explicitly added that the service document resource for activities is available from the remote applications feed.
See Authenticating requests
for information about how to authenticate the request.
Provide an Atom document that contains a category element that represents the community activity.
The content type of the Atom entry document must be application/atom+xml
After creating a community activity with a category of type of explicit_membership_community_activity, you can define the members of the community activity. See Creating a member for more details.