Data Cloud Object-Specific APIs
Object-specific API requests are less error-prone and more efficient than writing a custom SQL query. Whenever an object-specific API is available, we recommend that you use the API to retrieve data instead of crafting your own SQL queries.
With the object-specific APIs, you can retrieve these data items.
- Calculated insights
- Data graphs
- Unified individuals and accounts (Universal ID Lookup)
- Profiles
To call the REST endpoints, use one of these Data Cloud APIs.
- If your app integrates with the Salesforce Platform, use the Data Cloud Connect REST API.
- To integrate with only Data Cloud, use the Data Cloud API.
To compare these two APIs, see Custom App Development in the Data Cloud Developer Guide.