-
Notifications
You must be signed in to change notification settings - Fork 12.3k
Description
The attendeeEmail query parameter on the GET /v2/bookings endpoint does not filter bookings. It returns all bookings regardless of the specified attendee email.
Create 3 bookings with different attendee emails (e.g., attendee-a@example.com, attendee-b@example.com, attendee-c@example.com)
Call the API with the attendeeEmail filter:
GET https://api.cal.com/v2/bookings?take=100&eventTypeId={your_event_type_id}&attendeeEmail=attendee-a%40example.com
Observe that all 3 bookings are returned instead of only the one matching the filter.
Expected Behavior:
Only bookings where the attendee email exactly matches the filtered email should be returned (1 booking).
Actual Behavior:
All 3 bookings are returned, including those with non-matching attendee emails. The filter is completely ignored.
API Version: v2
Response: The API returns "totalCount": 3 with all bookings, confirming no filtering is applied.
