Hi,
I have I Mautic system with 10.000+ contacts I need to access via the API. First of all I need a list of all contact which were modified within the last 2 days.
I am using the following code to access the contacts:
$api = new MauticApi();
$contactApi = $api->newApi('contacts', $auth, [API-URL]);
$response = $contactApi->getList();
According to the documentation (https://developer.mautic.org/?php#list-contacts) it is possible to apply configuration parameters when using the getList()
method, e.g. a limit, a search filter and so on.
Unfortunately I have no idea how to use the getList()
parameters and I cannot find any reference code.
Any hint is highly appreciated.
Best,
Peter