How to check if email already exists in clickup

Hi there,

Fairly basic question that I have done before but can’t quite figure out how to do again.

The webhook is a calendar booking, and I want to check clickup if the email already exists or not. Then if not I add it, and if it exists I edit the entry.

Thank you - Rob