Skip to content

wrone/postman-salesforce-apis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salesforce APIs for Postman

A Postman collection of 200+ requests for the following Salesforce APIs:

  • Async Query
  • Auth
  • Bulk (V1 & V2)
  • Chatter (Connect)
  • Composite
  • CPQ
  • Metadata
  • Rest
  • Tooling
  • UI

Postman screenshot

Learn more about the Collection:

⚠️ Disclaimers:

  • 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.

Installation

  1. Download the latest Postman collection or go to previous releases. The collection comes as a salesforce-apis.postman_export.json file.

  2. Import it in Postman.

Get started

  1. 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.
  2. Edit the environment and fill in these variables:
    • url (login, test or mydomain)
    • username
    • password (+ security token if required)
  3. 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.
  4. 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.

Postman Architecture

Template Environment

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

Salesforce Preset

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 Collection

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

Contributions

Contribution guidelines for this project

About

Salesforce API Postman Collection

Resources

License

Stars

Watchers

Forks

Packages

No packages published