Mautic Community Forums

Limit Fields From API

Hi Everyone.

I’m trying to sync data from our CRM and Mautic via the API. I’m trying to get the Mautic Contact ID via a API call using something like…

https://mydatabase/api/contacts?search=email:my@email.net

…but i’m getting all the data for that contact passed back (542 rows). Is there a better way to retrieve the Contact ID via the API?

Thanks!!!