GET
/
api
/
v1
/
invitations
/
count
Count invitations
curl --request GET \
  --url https://apix.us.amity.co/api/v1/invitations/count \
  --header 'Authorization: Bearer <token>'
{
  "count": 5
}

Authorizations

Authorization
string
header
required

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

Query Parameters

targetId
string
required

Filter by specific target entity ID

Maximum length: 900
targetType
enum<string>
required

Filter by target entity type

Available options:
community
type
enum<string>
required

Filter invitations by type

Available options:
communityMemberInvite
statuses
enum<string>[]

Filter invitations by status (array)

Response

200
application/json

Count invitations response

The response is of type object.