Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 

Monitoring and Governing 3rd Party MailChimp APIs

In this part 2 of 3 part blog series, I will explain, how SAP Cloud Platform, API Management can be used to monitor, govern and securely publish APIs from 3rd Party Cloud solutions(e.g. MailChimp).Once the connection with the 3rd Party Cloud solution is established through API Provider, API Management can connect to it and make them available in a secure and documented way.

Overview of MailChimp

 MailChimp is a very popular email marketing service that offers generous plans for small and developing enterprises but can handle large volumes of emails for big businesses and organizations. Known for their low-cost plans ideal for startups, MailChimp also offers business-enhancing analytical features and strong technology tools that allow users to effectively use email to get in touch with their clients and prospective customers, market their products and services with ease and accuracy and turn leads into actual sales. Easy to use and extremely affordable, MailChimp remains to be a powerhouse in the email marketing solutions market.

For more details refer link

Getting Started with MailChimp

Navigate to and create trial account by filling the below details

Once you create an account you can Log-in and Navigate to Campaigns.

Click on Create to create a new campaign and save it

Getting API Key and Campaign Id

Navigate to User and click on accounts and then click on Extras. Under API Key Section you can get your API Key.

You can get the Campaign Id by opening the Campaign and by checking the header.

Save Campaign Id and API Key as it will be used to get the campaign once we use MailChimp API.

Note: We will be using MailChimp API e.g (https://{dc}<CampaigID>) to get the details of  created campaign

Let’s get started with SAP API Management!

Now let’s go to the SAP API Management Service. From your SAP Cloud Platform cockpit, navigate to the list of services and locate API Management Service. Click on “Access API Portal”. It is a good idea to add the SAP API Management as a bookmark to your browser now.

Click on Develop and Navigate to APIs

Create API proxy and fill in the following details and Save it.

Navigate to Test Console by clicking on Test and click on MailchimpRESTCampaign

Give the Authorization and API key(already copied) in the header and click on Send.

The created Campaign details will be seen as a response.

Monitoring and Governing 3rd Party APIs using SAP API Management

3rd Party APIs can be Monitored and Governed using SAP Cloud Platform, API Management which offers many out of the box API Security best practices.  These API Security Best Practices includes security policies for Authentication and Authorization, Traffic Management and many more.

In order to monitor and govern APIs following blog can be referred.

 Further Reads

  • API Security Best Practices Blog Series.

  • Monitor and Analytics blog.

  • For more blogs on SAP Cloud Platform, API Management visit us at SCN.

1 Comment