function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Praneetha MurakondaPraneetha Murakonda 

Using RestApi can I get AccessToken from Session Id?

Hi,
Is it possible to get access token through session id?
If possible, posting any snippets for this will be appreciated!
Thanks in advance!
NagaNaga (Salesforce Developers) 
Hi Praneetha,

Yes, I think you can get the access token from the session id

Please follow the below link which shows how you can generate an access token using the rest api.

http://www.salesforce.com/us/developer/docs/api_rest/index_Left.htm#CSHID=quickstart_oauth.htm|StartTopic=Content%2Fquickstart_oauth.htm|SkinName=webhelp

Please let me know if this was useful

Best Regards
Naga kiran