API to update the blacklist

JeffC

New Member
How can we utilize the API to update the blacklist? I can't find where to create the API key to get access to post data to the blacklist.

Thanks.
 
How can we utilize the API to update the blacklist? I can't find where to create the API key to get access to post data to the blacklist.
Here you will find all available endpoints for the api: https://api-docs.mailwizz.com/#introduction
For blacklist we don't have an endpoint.

To create api key you need to be logged in customer area, make sure that customer have permission to use API: Backend > Settings > Customer > API
 
Why is it not possible to update blaclisted contacts by API?

I understand we can't send them emails, but why can't we manipulate their data? They can be unblacklisted, so why can't we have their data up to date when they are (temporarily) blacklisted?
 
Hello,
The API calls are bound to a customer, so the global blacklist cannot be manipulated using the API. But, each customer can manipulate the subscribers status with the API, which pretty much the same thing.

Cosmin
 
I meant, why can't the customer update the data of blacklisted emails by API? I mean not sending, but updating. And not the global blacklist, but common customer contacts, but blacklisted.

I always get error "message:409 - "{\"status\":\"error\",\"error\":\"This email address is blacklisted.\"}""
 
I meant, why can't the customer update the data of blacklisted emails by API? I mean not sending, but updating. And not the global blacklist, but common customer contacts, but blacklisted.

I always get error "message:409 - "{\"status\":\"error\",\"error\":\"This email address is blacklisted.\"}""
If a subscriber is blacklisted then you cannot update this from API you need first to remove it from blacklist and them update from API will work.

Best,
Laurentiu
 
I understand your point, but "blacklisted" means the user shouldn't get emails (black list ), but we should still be able to manipulate his data by API, right? We use MW as a simple CRM - why can't we update the user data by API, when the user is (temporarily) blacklisted?

For the reason you are writing about is the state "disabled", not "blacklisted"
 
Back
Top