+ 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