Skip to content

Bookings "list" endpoints to support filtering by phone number #26874

@perknutsen011-sketch

Description

@perknutsen011-sketch

Hi,

I am working on an AI Voice Agent in Retell AI, using functions such as book, cancel and reschedule calendar appointments with Cal.com. I need to be able to get active bookings by filtering out the customers phone number. Backend is n8n workflow that handles the rescheduling and cancellation part, however we are not able to find the correct booking. It always deletes the first upcoming booking in the calendar. We have tried several filter nodes in n8n, but cannot seem to make it work.

In Cal.com API v2, GET /v2/bookings (and the org user variant) supports filters like attendeeEmail and attendeeName, plus status, date range etc. but there is no attendeePhone / phoneNumber query filter.

It is very important to get active bookings by only asking for the customers phone number, as the risk of getting the wrong customer is much higher by name or email (transcription is not perfect, especially in Scandinavian).

Therefore, I hope you will consider making this possible.

Highly appreciate your response!

Br,
Ole

Metadata

Metadata

Assignees

No one assigned

    Labels

    Low priorityCreated by Linear-GitHub Sync✨ featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions