Query Records in Marketing Cloud

Salesforce REST API and Bulk API 2.0 include operations for querying records. The query endpoint in REST API provides results synchronously, making it a useful tool for small queries. For more complex queries, or queries that potentially involve a large number of results, the asynchronous Bulk API 2.0 is a better choice.

New Product

The product formerly known as Marketing Cloud is now called Marketing Cloud Engagement. Marketing Cloud and Marketing Cloud Engagement use different and incompatible APIs. For more information about developing for Marketing Cloud Engagement, see Marketing Cloud Engagement APIs and Programmatic Languages.