delivery server api

majid1f

Active Member
MailWizz 2.0 Tester
hi
Dose mailwizz have delivery server lists api to show which delivery server available to use in campaign create api?
Thanks
 
There's an undocumented endpoint for this that shows only the delivery servers for the customer doing the API call, I am not sure how much that'd help you, but using the current API client you can reach it:
PHP:
       $client = new \EmsApi\Http\Client([
            'method'        => \EmsApi\Http\Client::METHOD_GET,
            'url'           => $this->getConfig()->getApiUrl('delivery-servers'),
            'paramsGet'     => [
                'page'      => 1,
                'per_page'  => 100,
            ],
            'enableCache'   => false,
        ]);

        $data = $client->request();
 
hi thanks
i can use it to show delivery servers to users but i think the problem is campaign create api dose not have an option to send which delivery servers used for this campaign.
 
Back
Top