Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
JFAR49ER
Frequent Visitor

How to connect to Mailchimp API to return reports soft bounces

Hi

I've used Mailchimp API to connect to both Lists and campaigns, and have been able to get summary info for all email campaigns through this. 
The API doesn't return all information, in particular I'd like to return the number of soft bounces for each campaign. 
I've tried to use the API to return reports information but struggling with this. Can anyone advice? Id be happy to just get a single report return for a specific campaign ID as a starter. 

The power query ive used to get lists information:

 

let
dc = "ServerInput",
api_url = "https://" & dc & ".api.mailchimp.com/3.0/",
ClientID = "String",
apikey = "ApiKeyString",

EncodedCredentials = "Basic " & Binary.ToText(Text.ToBinary(ClientID & ":" & apikey), BinaryEncoding.Base64),
path = "lists?offset=0&count=1000/",

data= Json.Document(Web.Contents(api_url,
[ RelativePath = path,
Headers=[#"Authorization"=EncodedCredentials]])),
lists = data[lists]

in 
lists

1 REPLY 1
JFAR49ER
Frequent Visitor

Thanks for the reply, I'm looking for a non third party solution.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors