Skip to main content

Sharing a Postman collection my team maintains for Salesforce API work — SFMC, Data Cloud, Agentforce, and Core in one place. Putting it here because the auth juggling is the part that wastes everyone's afternoon.  

 

What's in it:  

 

01 | SFMC

— Journey Builder entry events, journey definitions, transactional email 

02 | Data Cloud

— the Core→Data Cloud token exchange, streaming ingestion, Query API v2, ingestion schema lookup 

03 | Agentforce & Core

— Agent API session + messages, Flow via REST, Apex REST, SOQL 

04 | Utilities — token verification for both stacks, API limits, sObject describe 

 

The part worth having: a collection-level pre-request script that refreshes the SFMC and Core tokens in parallel and caches them with a 15-minute expiry buffer, so you never paste a bearer token again. Data Cloud still needs its two-step exchange run once per session.  

 

Import the collection + the environment template, fill in your Installed Package and Connected App credentials, and run. Nothing else to configure. No signup — the zip is attached. 

Two gotchas that cost us time, in case they save you some: the Agent API is not under /services/data/vXX/, it's on api.salesforce.com/einstein/ai-agent/v1/

. And the Data Cloud token exchange has to POST to your My Domain, not login.salesforce.com.  

 

If anything 404s in your org, tell me and I'll try to fix it.

0/9000