I am using Mailchimp's Marketing PHP API (https://github.com/mailchimp/mailchimp-marketing-php) to retrieve the templates list. It has the following code.
<?php
require_once '/path/to/MailchimpMarketing/vendor/autoload.php';
$client = new MailchimpMarketing\ApiClient();
$client->setConfig([
'apiKey' => 'YOUR_API_KEY',
'server' => 'YOUR_SERVER_PREFIX',
]);
$response = $client->templates->list();
print_r($response);
And it returns the whole set of other default templates (128 templates!), the api request parameter has type
field which can be used to filter these templates. But I could not find anyway to pass the request parameter. Any idea?