Query unified profile data from Salesforce Data Cloud using the Query API

domain: developer.salesforce.com · 6 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Obtain a Data Cloud-scoped OAuth access token using the JWT Bearer or web server flow with the Data Cloud Query API scope
  2. Construct a SELECT statement in the Data Cloud SQL dialect targeting a Data Model Object (e.g., the unified Individual or unified Contact Point Email)
  3. POST the query to the Data Cloud Query API endpoint, specifying pagination parameters for large result sets
  4. Parse the synchronous response or, for long-running queries, poll the async job endpoint using the returned job ID
  5. Handle pagination by following the nextBatchId or equivalent cursor returned in the response
  6. Map the returned Data Cloud attribute names back to your application's data model

Known gotchas

Related routes

Retrieve a unified individual profile and its resolved identity graph from the Salesforce Data Cloud Profile API
developer.salesforce.com · 6 steps · unrated
Use Salesforce Data Cloud Data Actions to activate a segment and push unified profile attributes to Marketing Cloud as a synchronized Data Extension
developer.salesforce.com · 6 steps · unrated
Ingest batch profile data into Salesforce Data Cloud using the Ingestion API
developer.salesforce.com · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp