Skip to main content
1 of 4
Daniel Ballinger
  • 103.1k
  • 40
  • 275
  • 601

Where did you get your accessToken from? If you used OAuth to establish the session then you will need to have the web OAuth scope to use the sessionid for what is essentially a screen scraping web request. Having the api scope would be sufficient for the Partner API, but for for mocking UI requests.

enter image description here

Other than that, as you have found, you need to put the sessionId/accessToken into a sid cookie along with the request.

Daniel Ballinger
  • 103.1k
  • 40
  • 275
  • 601