curl --request GET \
--url https://apix.us.amity.co/api/v1/invitations/count \
--header 'Authorization: Bearer <token>'
{
"count": 5
}
Returns the total count of invitations matching the specified criteria. This endpoint is useful for displaying invitation counts in UI without needing to fetch all invitation data.
curl --request GET \
--url https://apix.us.amity.co/api/v1/invitations/count \
--header 'Authorization: Bearer <token>'
{
"count": 5
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Filter by specific target entity ID
900
Filter by target entity type
community
Filter invitations by type
communityMemberInvite
Filter invitations by status (array)
Show child attributes
Count invitations response
The response is of type object
.