Salesforce CDP API Developer Guide
Winter '25 (API version 62.0)
Summer '24 (API version 61.0)
Spring '24 (API version 60.0)
Winter '24 (API version 59.0)
Summer '23 (API version 58.0)
Spring '23 (API version 57.0)
Winter '23 (API version 56.0)
Summer '22 (API version 55.0)
Spring '22 (API version 54.0)
Winter '22 (API version 53.0)
Summer '21 (API version 52.0)
Spring '21 (API version 51.0)
Extract Data
Programmatically extract your data from Salesforce CDP.
-
Retrieve Metadata
The Salesforce CDP Metadata API response includes metadata about all entities, including Calculated Insights, Engagement, Profile, and other entities, as well as their relationships to other objects. -
Search Customer Profile Information
The Salesforce CDP Profile API calls are used to lookup and search customer profile information. These API calls can be included in your external web/mobile apps to look up customer profile information. -
Query Data using Query API V2
This API supports SQL query in ANSI standard. The results return as an array of records. The expected input when calling this API is free form SQL. The expected input objects include data stream, profile and engagement data model objects, and unified data model objects. This API can be used to support a variety of use cases, which includes large volume data reads, external application integration, or interactive ad hoc querying on the data lake. -
Query Data using Query API V1
This API family supports only synchronous query API in v1, with SQL query in ANSI standard. The SQL can be a free form SQL with objects that include data streams, profile/engagement data model objects, and unified data model objects. This API can be used to support a variety of use cases that include data extraction, external application integration or interactive querying on the data lake. -
Query Source Record IDs
Universal ID Lookup API allows you to query on a source record ID from one org and returns the IDs from all orgs. -
Query Calculated Insights
The Calculated Insights API calls only support data collection from the Salesforce CDP Calculated Insights object. You can use this API to query Calculated Insights with selected SQL dimensions and measures with optional filters.