Consider this installation option if you can’t install the Postman desktop app.
- Fork the Collection
- Configure the Collection
- Enable CORS in Salesforce
- Authenticate with Salesforce
- Execute a Request
-
Click this button:
-
Click Fork Collection.
-
Enter a label for your fork (e.g.: “My fork”).
-
Select a workspace (the default “My Workspace” workspace is fine).
-
Click Fork Collection.
-
Click Salesforce APIs
-
Open the Variables tab.
-
If needed, update the
CURRENT VALUEof theurlvariable with your org's My Domain login URL in one of these formats:https://MyDomainName--SandboxName.sandbox.my.salesforce.comfor sandboxes or Scratch orgs.https://MyDomainName.my.salesforce.comfor production, Trailhead Playground and Developer Edition orgs.
-
Click Save.
- In Salesforce Setup, enter
CORSin the Quick Find and select CORS. - Click New under Allowed Origins List
- Enter
https://*.postman.comas the Origin URL Pattern - Click Save
- Repeat the previous steps and add
https://*.postman.co(note the.codomain extension)
You'll need to authenticate with Salesforce to access the APIs. Doing so grants you an access token that is valid for a certain duration.
Repeat this step whenever your access token expires.
-
Click Salesforce APIs
-
Open the Authorization tab. The authorization type should be set to OAuth 2.0.
-
Click Get New Access Token. This opens a browser tab with the Salesforce login screen.
-
Log in to your Salesforce org.
-
Click Allow to grant access to "Salesforce APIs Collection for Postman" to your org.
At this point, if your environment is correctly set up, you should see a success message and you should be redirected to the Postman web UI.
-
Copy the value of the
instance_urlfield from the token details view. Make sure not to copy the line break character. -
Click Use Token.
-
Open the Variables tab.
-
Update the
CURRENT VALUEof the_endpointvariable with the value that you just copied from theinstance_urlfield in the access token details. -
Click Save.
- Expand the collection and select the
REST > Limitsrequest. - Click
Send.
At this point, if your environment is correctly set up, you should see a 200 OK status. This means that you have successfully authenticated with Salesforce and that you can now use the other collection’s requests.
See additional documentation for more information on how to keep the collection up to date and work with multiple Salesforce orgs.



