Get Activities (Enrich)

GET https://api.stream-io-api.com/api/v1.0/enrich/activities?api_key={{api_key}}&ids={{string}}

Request Params

KeyDatatypeRequiredDescription
foreign_idsstringOptional - A comma separated list of activity foreign IDs. Maximum length is 100, and must match the length of timestamps.
timestampsstringOptional - A comma separated list of activity timestamps. Maximum length is 100, and must match the length of foreign_ids.
withRecentReactionsstringOptional - If true activity object will have attribute "latest_reactions" that contains list of recently created reactions
recentReactionsLimitstringOptional - number of reactions in the "latest_reactions" attribute, maximum value is 25.
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
api_keystring
idsstring

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring
Stream-Auth-Typestring