curl --request GET \
--url https://apix.us.amity.co/api/v4/stories/seen \
--header 'Authorization: Bearer <token>'
{
"storyTargets": [
{
"targetId": "<string>",
"targetPublicId": "<string>",
"targetType": "community",
"lastStoryExpiresAt": "2023-11-07T05:31:56Z",
"lastStorySeenExpiresAt": "2023-11-07T05:31:56Z",
"targetUpdatedAt": "2023-11-07T05:31:56Z"
}
]
}
Query story targets by multiple targets
curl --request GET \
--url https://apix.us.amity.co/api/v4/stories/seen \
--header 'Authorization: Bearer <token>'
{
"storyTargets": [
{
"targetId": "<string>",
"targetPublicId": "<string>",
"targetType": "community",
"lastStoryExpiresAt": "2023-11-07T05:31:56Z",
"lastStorySeenExpiresAt": "2023-11-07T05:31:56Z",
"targetUpdatedAt": "2023-11-07T05:31:56Z"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Target object. The target object is an array of objects that contain targetId and targetType. Max up to 10 items
1 - 10
elementsStory targets Information
Story targets response payload