one question about Mautic, i want to use Mautic API to download data automatically. From the manual, i have made a program by PHP to connect Mautic API and callback to localhost. The code does work and it connects to Mautic API correctly. but how can i get access token which is included in callback URL.I need to receive the access token data for my next step.
my php code:
$settings = array(
'baseUrl' => 'http://54.249.127.11',// Base URL of the Mautic instance
'version' => 'OAuth1a', // i selected OAuth1a.
'clientKey' => '199y8rmdeh6sck8g8o4okXXXXXXXX',//Consumer key from Mautic
'clientSecret' => '5705dvzynzksww4g8s4o0XXXXXXXX',//Client/Consumer secret key from Mautic
'callback' => 'http://127.0.0.1'// localhost as my Callback URI);