Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.

Get to Know Marketing Cloud Engagement APIs

Learning Objectives

After completing this unit, you’ll be able to:

  • Describe each Marketing Cloud Engagement API.
  • Discover the endpoints used to access a Marketing Cloud Engagement API.

APIs: The Building Blocks of Marketing Cloud Engagement

As a developer, APIs are the building blocks you use to connect your system to Marketing Cloud Engagement. We want you to have everything you need to design and implement your code, so Marketing Cloud Engagement offers two robust APIs: REST and SOAP. Each API has its own benefits, so sometimes you may even use both, depending on your needs. In this unit, we take a look at these APIs and explore how they can help you reach your goals. 

Let’s Get Some REST API

Ready to make your job easier? Good news: You can create content, build your contact records, and monitor your customer journeys with the Marketing Cloud Engagement REST API. And the REST API is your key to the latest and greatest functionality across Marketing Cloud Engagement apps, like: 

  • Contact Builder
  • Content Builder
  • GroupConnect
  • Journey Builder
  • MobileConnect
  • MobilePush
  • Personalization Builder

Using the REST API, you can also send transactional (or triggered) messages, manage campaigns, and handle event notifications. Plus, our REST API requests and responses contain JSON bodies, and the resources accept synchronous requests.

Dive In with SOAP API

If you’re working with an existing Marketing Cloud Engagement integration or building new functionality with Email Studio, the SOAP API provides the tools you need. With the SOAP API, you can manage:

  • Automations
  • Content creation
  • Subscribers and lists
  • Tracking
  • Triggered sends
  • Other email activities

The SOAP API accepts SOAP envelopes to exchange information with Marketing Cloud Engagement. You can review your WSDL to see all of the available operations, or check out Salesforce Developers for a complete list.

Choose the Best API for the Job

So how do you choose between the two APIs? Well, the REST API works with the latest apps in Marketing Cloud Engagement and is up to almost any task, so it’s the best place to start. If you want to use Content Builder, the REST API is the way to go. However, the SOAP API can be helpful for managing Email Studio content and triggered sends—especially if you’re working with older accounts or integrations that require a specific functionality. Keep in mind, the SOAP API can only be used with classic content in Marketing Cloud Engagement (not Content Builder).

If you noticed some overlap between the two APIs (namely, content and triggered sends), you’ve got a keen eye! As we mentioned earlier, you may need both APIs to accomplish some of your Marketing Cloud Engagement tasks—and these shared uses are a good example. However, when possible, opt for the REST API to make sure you’re using the most current API offerings.

No matter which API you choose, you need an OAuth (Open Authorization) token to access Marketing Cloud Engagement. In the next unit, we walk through the steps to get your credentials and get started!

Resources

Salesforce 도움말에서 Trailhead 피드백을 공유하세요.

Trailhead에 관한 여러분의 의견에 귀 기울이겠습니다. 이제 Salesforce 도움말 사이트에서 언제든지 새로운 피드백 양식을 작성할 수 있습니다.

자세히 알아보기 의견 공유하기