Hi, I’m trying to call the Mautic 4.3 REST API using bash curl to find if a list of emails exist as contacts, but I seem to be hitting some kind of hard limit, because Mautic instantly returns an
HTTP 503: Service Unavailable.
It works if I try with a handful of email addresses, but since my actual search list is very long I suspect this is due to the fact that I’m using a GET query string to send the search list, as exemplified in Mautic Developer Documentation :
curl -gkX GET \ -H "Content-Type: application/json" \ -H "Authorization: Basic $(echo -n 'user:password' | base64)" \ 'https://mautic-url/api/contacts?where[col]=email&where[expr]=in&where[val]=user@email,otheruser@email,yetanotheruser@email...'
So my question is: is there a way to send a list of emails to search via REST API using the request body instead of the query string?