Counts RSVPs given the provided filtering and searching.
You can only call this method when authenticated as a Wix app or Wix user identity.
Filter object in the following format:
"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }
Example of operators: $eq
, $ne
, $lt
, $lte
, $gt
, $gte
, $in
, $hasSome
, $hasAll
, $startsWith
, $contains
Search details.
Number of RSVPs.
curl -X POST 'https://www.wixapis.com/events/v2/rsvps/count' \
-H 'Authorization: <AUTH TOKEN>'\
-H 'Content-Type: application/json' \
-d '{
"filter": {
"eventId": "2c0eab1-b7a0-4ec2-9fb6-db76f76ee488"
}
}'
{
"count": 23
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.