This snippet will help you to list all campaign urls with Mailchimp API.

The code

use DrewM\MailChimp\MailChimp;
    
$mailChimp = new MailChimp('xxxxxxxxx'); // Your api key
$campaigns = $mailChimp->get('campaigns', [
     'count' => 200,
      'list_id' => 'xxxxxxxx', // The id of the list
      'status' => 'sent',
      'sort_field' => 'send_time',
      'sort_dir' => 'desc'
]);
// Now do something like
foreach($campaigns['campaigns'] as $campaign) {
   $url = $campaign['long_archive_url'];
   $date = $campaign['send_time'];
   ...
}