How to make SOAP request to Salesforce org via POSTMAN

gokul rajan
2 min read5 days ago

--

If you’re looking to interact with your Salesforce org using SOAP API, Postman is a great tool to help you test and debug your requests. In this guide, we’ll walk you through the steps to set up and send a SOAP request to Salesforce using Postman.

Prerequisites

Before we start, make sure you have the following:

  • A Salesforce org (Developer Edition or any other)
  • Postman account
  • Your Salesforce username and password
  • Security token (if required)

Fork this PostMan Collection : https://www.postman.com/salesforce-developers/salesforce-developers/collection/b32utmu/salesforce-platform-apis?action=share&creator=16636624

Salesforce Platform API collection in POSTMAN

Populate Collection Variables :

Collection -> Salesforce Platform Api -> Variables

populate these variables

  1. url
  2. version
  3. username
  4. password
  5. _endpoint (same as URL)

Authentication:

Navigate to Salesforce Platform Api / Auth / SOAP Login

verify the body and click send

check the response to get Session Id

Copy the session id and populate the variable _accessToken

Testing SOAP Calls

Navigate to Salesforce Platform Api / Metadata/ SOAP List Metdata

Check the Body of the Request and click Send

Find the result in response

--

--