POST

Count Rsvps


Counts RSVPs given the provided filtering and searching.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Events - all permissions
Read Events - all read permissions
Manage Guest List
Read Event Tickets and Guest List
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/events/v2/rsvps/count

Body Params
filterstruct

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


searchSearch

Search details.

Response Object
countinteger

Number of RSVPs.

Request
cURL
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" } }'
Response
JSON
{ "count": 23 }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?