GET
/
api
/
v4
/
stories
/
count
Count stories by target
curl --request GET \
  --url https://apix.us.amity.co/api/v4/stories/count \
  --header 'Authorization: Bearer <token>'
{
  "count": 10
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

targetId
string
required
Maximum length: 900
targetType
enum<string>
required
Available options:
community,
user

Response

Story Count

count
integer
Example:

10