Add Activities by Feed Group and User Copy

POST https://api.stream-io-api.com/api/v1.0/feed/{{feed_slug}}/{{user_id}}?api_key={{API_KEY}}

The Feed endpoint is to retrieve activities in a feed (GET), or to submit an activity or list of activities (POST).

Note on Pagination: Using id_lte for pagination is preferable to using offset.

Note on Aggregated Feeds: When using id_lte to paginate an aggregated feed, use the ID of the group that is returned from the API. Using an ID of an individual activity within the group will not work and result in an error.

Request Params

KeyDatatypeRequiredDescription
api_keystring
limitstringOptional - Default 25
id_gtestringOptional - Filter the feed on ids greater than or equal to the given value
id_gtstringOptional - Filter the feed on ids greater than the given value
id_ltestringOptional -Filter the feed on ids smaller than or equal to the given value
id_ltstringOptional - Filter the feed on ids smaller than the given value
offsetstringOptional - Default 0 - Offsets the results
recentReactionsLimitstringOptional - Specify number of reactions in the "latest_reactions" attribute, maximum value is 25.
withRecentReactionsstringOptional - If true activity object will have attribute "latest_reactions" that contains list of recently created reactions
withOwnReactionsstringOptional - If true activity object will have attribute "own_reactions" that contains list of reactions created by the user himself.
withReactionCountsstringOptional - If true activity object will have attribute "reaction_counts" that contains number of reactions for each kind
rankingstringOptional - If ranking is enabled on your feed group you can supply the ranking method to use by supplying the ranking method's slug

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring
Stream-Auth-Typestring