A Postman collection of 200+ requests for the following Salesforce APIs:
|
|
Learn more about the Collection:
- This collection is provided as-is. It's not officially supported by Salesforce or covered by SLAs.
- API documentation is not provided with the collection. Please refer to the official documentation.
ℹ️ Please report issues here.
-
Download the latest Postman collection or go to previous releases. The collection comes as a
salesforce-apis.postman_export.json
file.
- Clone the "Salesforce Template" Postman environment. Never customize the template directly! Always clone it and link the environment created to the target Sandbox, Trailhead Playground (TP), Developer Edition (DE) or production org.
- Edit the environment and fill in these variables:
- url (login, test or mydomain)
- username
- password (+ security token if required)
- Use your preferred authentication method (SOAP login is very convenient). This automatically fills the endpoint url and access token environment variables for subsequent API calls.
- Use any of the API endpoints from the collection.
Note: some APIs are just boilerplates (ex : UI API), you need to copy them and customize them (uri + get parameters) according to your need.
Salesforce template environment meant to be duplicated for each of your environment. Do not modify it directly Environment variable have been designed to be used by the API \endpoint in order to :
- Store values from call result (access token, job id, refresh token, etc)
- Use values as variable in call (url, endpoint, access token, username, password, etc) Postman "Tests" feature is used to parse query result and store environment variables
Predefine header presets meant to be used when creating new API from scratch. Allow to have the Authorization header prefilled with the right syntax and environment variable Use it when you need to create a new API call from scratch.
Salesforce APIs Postman Collection Name of the endpoint and its description are taken from the Salesforce documentations. Collections use environment variable in order to partition the variable content per env and easily switch between environment