I've been meaning to use MailChimp API, and since v3 is out already, I'd like to use it. I see there's a search-members helper like in v2 (https://apidocs.mailchimp.com/api/2.0/helper/search-members.php) and what is the endpoint for it?
If you want to get one spesific member by email address you can use this endpoint: Lists Members Instance
Not sure this is what you are looking for, but I was also looking for search-helper just to get one spesific user by email.
"But hey, how it happens, I dont have members id?"
Yes you do, if you have email address of that member you can create the id too. It's just MD5 Hash of lowercased version from that email address.
There is a search-members endpoint now on V3. I believe it was released after the original answer to this question:
http://developer.mailchimp.com/documentation/mailchimp/reference/search-members/
In case the link should change in the future it can be found under the main V3 MailChimp API documentation under the Search Members area.
No, searching members in this way isn't supported in API v3.0.
Related
I was looking at the Mailchimp API documentation because I want do an implementation where I list all the messages per subaccount. This doesn't seem possible. You get all the messages from every subaccount. Same if you use a webhook. The subaccount API options seem very limited.
I'm using the Mailchimp Transactional PHP lib. I tried using the messages->search() method where I set senders param but that doesn't really capture everything linked to the subaccount. It would be great if you could add a subaccount param to the messages->search() method. You can filter afterwards by looping through every result and checking the subaccount but that seems like a crappy workaround.
Anyone have another workaround? I see there is no way to report bugs or feature request on their Github? Or know how to contact the developers?
We want to start a service with Mailchimp where every subscriber will get a customized link in the email she receives. The Subscription Form will be on a wordpress website (not my decision).
There is a pool of thousand of links with a unique parameter, which we have stored on our webserver, like these examples
https://example.com/link?code=a25b1d085f3aec4b256
https://example.com/link?code=32219abb336de28a103
etc
Every code parameter should only be used once and should be kept as secret as possible. So I don't think it is a good idea to send the code from the form to mailchimp in a hidden field.
I don't know, if this is possible. Is Mailchimp even the right tool to do this?
I'm not sure, where to start the journey.
I don't think webhooks will help me here, as those are only one-way communication without a backwards channel, as far as I understand.
I checked the Mailchimp API documentation, but I might be too foolish to understand, which of the multiple options I need to use.
I found this answer here: https://stackoverflow.com/a/53096852/476951, but I don't know, if this will suit my needs. As I understand it, this will chhange the mail template in Mailchimp UI with an API request and store it. The successive emails will all use this changed template until I change the template again. This seems not to be the correct way.
So, here are the two workflows that might be possible, but I don't know if they are.
Have a form created in Wordpress (not the embedded Mailchimp form), and create a custom form handler with admin-post.php like described here. Then use the API to send the email through the Mailchimp service with my dynamic link in it. But how. Every tuorial I found sends campaigns via the API, not individual mails to single recepients
Somehow manage Mailchimp to get the dynamic content via some sort of webhooks or the likes.
Is any of these workflows suitable to do this?
If yes, who should I set these up?
Is there anything else I might have missed?
Edit
Or do I need to use Mailchimp Transactional Email service (former called Mandrill)?
I am looking through the Mailchimp API documentation but cannot seem to find an api call that will take a user_id and return the list of newsletter_ids to which they are subscribed.
Does anyone know of any method available for this purpose?
The below api call used to return a feed of results that would have been on my homepage.
https://content.googleapis.com/youtube/v3/activities?home=true&maxResults=50&part=id%2Csnippet%2CcontentDetails&key=AIzaSyC0wL6aecu2rxiTNtW8uvtnb1kx9Kdlb4s
In the past day or so the feed I get has changed to be only videos from some channel called "Popular on YouTube".
Does anyone know why this API call changed? Is it a bug? Is there a different way to get an authenticated user's activity feed?
It turns out the home parameter for the activities api endpoint has been deprecated.
https://developers.google.com/youtube/v3/docs/activities/list
Sounds like you must have been using a shared API key.
Either case, "Popular on Youtube" is a Youtube channel by Youtube. Something has broken functionality and I believe it is referrer issue. With that, I suggest getting a new API Key.
You can learn more about and getting a free personal API Key, if you haven't done so. https://developers.google.com/youtube/v3/docs/errors
I'd like to link directly to a Mailchimp list in the Mailchimp dashboard. I have full API access, and the list id is: bb7b537cd0.
However, I notice when looking at the dashboard URL that the URL is:
https://us5.admin.mailchimp.com/lists/members/?id=212269
The id 212269 is not present in the API response data about this list.
Is there any way of linking directly to the list that I'm not aware of?
Thanks!
This isn't possible through v3.0, but is possible in older versions. The main reason it was removed from 3.0 is that the dashboard URLs can change without notice, so relying on a particular algorithm to build them isn't advisable.