ActiveCampaign Forum

Retrieve a contact using email

I know I can retrieve a contact using …

https://youraccountname.api-us1.com/api/3/contacts/id

but first I need to know the contact Id. In my case I want to use the API from an external app where I have just have the contact’s email address. So, is there a way to retrieve a contact using their email?

Kind of like Odata …

https://youraccountname.api-us1.com/api/Contacts?$filter=Email eq ‘abc@def.com’

Guess I could retrieve all contacts and then loop through but that’s a bit over-kill