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 Account Engagement APIs

Learning Objectives

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

  • Describe Account Engagement APIs.
  • Identify Account Engagement API capabilities.

Extend Account Engagement APIs

REST APIs let you access and manipulate your Account Engagement data in various ways. The API is available to Plus, Premium, and Advanced editions. In this quick look, you learn about the different API versions, authentication, and the APIs that Account Engagement offers. 

With Account Engagement APIs, you can:

  • Extend Account Engagement—Build your own custom integrations to better support your business needs.
  • Augment Account Engagement data—Clean and enrich prospect data, saving your sales reps hours of time spent on menial tasks.
  • Expand Reporting—Use the Account Engagement API to automate exporting visitor data to your own external analytics tools for richer insights.
  • Boost Your Business Value—Automate tasks, segment prospects with external data, or create custom external scoring models and update prospects.

API Versions

There are three versions of Account Engagement APIs. Which version you use depends on what kind of Account Engagement account you have and what your goals are. 

Version 

Who it’s for

Details

3

Accounts that don’t allow multiple prospects with the same email address (non-AMPSEA accounts)

Versions 3 and 4 are mostly the same, and which one you use is dictated by whether AMPSEA is enabled in your account. There are only two differences: the endpoint URIs and which endpoints are available for the Prospect object.

4

Accounts that allow multiple prospects with the same email address (AMPSEA account)

5

All accounts

Version 5 is the future of the Account Engagement API, and provides access to assets like files and layout templates. Some objects aren’t available in this version yet. 

Authentication

Use a Salesforce OAuth flow with a connected app for authentication for the Account Engagement API. OAuth uses tokens to give a server access to resources on another server without sharing access credentials. 

You can set up OAuth flows in many ways, so we suggest reading up on OAuth Authorization Flows and selecting the best flow for your use case. 

Object APIs

 Use the object APIs to work with Account Engagement objects like Campaigns, Opportunities, Prospects, and more. The actions available vary depending on the object. Some objects, like Visitor Activity, are read-only. Other objects, like Prospects, can be read, assigned, created, updated, or deleted. 

Import API

The Import API provides a programmatic way to insert or update large amounts of prospect data in Account Engagement. It uses existing Account Engagement API structures, patterns, and terminology. The Import API lets you import a CSV file of prospects. Columns in the CSV correspond to Account Engagement field names. Rows correspond to prospects to be upserted. Each column must match a valid field name, or validation fails and the CSV is rejected.

Export API

Use the Export API to retrieve large sets of data when you don’t need synchronous completion responses or when query limitations are too restrictive. 

An export is associated with a query and a data set in Account Engagement. When you create an export, the query is split into smaller queries, which return smaller sets of data. These smaller queries are processed in parallel, and the retrieved data is saved in CSV files. When the export is complete, the CSV files are available to download. Review Account Engagement developer documentation to understand currently supported objects. 

Summary

We’ve covered a lot—what you can do with Account Engagement APIs, which version to use, the APIs that are available, and the basics of authentication. Now you’re ready to take on using these APIs to meet your business needs. 

Resources

Teilen Sie Ihr Trailhead-Feedback über die Salesforce-Hilfe.

Wir würden uns sehr freuen, von Ihren Erfahrungen mit Trailhead zu hören: Sie können jetzt jederzeit über die Salesforce-Hilfe auf das neue Feedback-Formular zugreifen.

Weitere Infos Weiter zu "Feedback teilen"