How to call Salesforce API from Postman

| By Webner

To verify the output of a web service in salesforce we need to connect it with the postman. To connect salesforce with postman we need to follow these steps.

  1. Get access token:- To get access token.

    • Click on the authorization tab in the request section.
    • Select OAuth2.0 in type section
    • Click on ‘Get New Access Token’.


    • A window will popup.
      salesforce 2
    • Write the information as mentioned above and click on the request token.
    • On the next screen, you will get your token click on the Use token button.

      salesforce 3

  2. Select your request type

  3. Enter the URL – https:// — InstanceURL– /services/apexrest//

    salesforce 4

  4. In the body section put your request data.

    salesforce 5

Leave a Reply

Your email address will not be published. Required fields are marked *