Press enter to see results or esc to cancel.

How to get the salesforce Current User’s Session Id in One Click

There can be a number of ways how you can get Current User’s Session ID. Below are the easy ways you can get the Session ID in salesforce.

  • Book mark this below piece of code in your browser and just click on it once you logged into salesforce Org. 

Code:

  • Execute below piece of code in console to get the Current User Session ID.

Code:

  • Use this Chrome Extension to get the Salesforce Session Id: 

Link: https://github.com/tiaanswart/GetSFSessionID

To install this extension you need to enable the developer mode in your Chrome as it is not listed in Chrome Webstore.

  1. Clone this repo to your PC or download the source zip file
  2. If you downloaded the zip file, extract it
  3. From the Chrome Browser navigate to extensions
  4. Enable developer mode (checkbox)
  5. Click load unpackaged extension
  6. Navigate to the repo you cloned or archive you extracted on your PC
  7. Select the folder

Voila, you are just one click away in getting the session Id of the current user.

 

Thanks for reading. Please drop a comment if you know any other easy way to get the session ID in salesforce.