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
900Filter by target entity type
community, room Filter invitations by type
communityMemberInvite, livestreamCohostInvite Filter invitations by status (array, optional)
pending, approved, rejected, cancelled Count invitations response
Total number of invitations matching the criteria
5