+ Start a Discussion

What is the URL to access the soap api in the sandbox?

I use the following URL to access our production soap api: https://www.salesforce.com/services/soap/u/18.0 
I would like to know what is the URL to access the soap api in the sandbox. I tried adding the sandbox server to the URL https://cs26.salesforce.com/services/soap/u/18.0 but that did not work. Any suggestions? 
Daniel BallingerDaniel Ballinger
You will want to use https://test.salesforce.com/services/soap/u/18.0 when performing a login call to a sandbox. It will send back a new serverURL to use for subsequent calls.

Also, you should change your production URL from https://www.salesforce.com/services/soap/u/18.0 to https://login.salesforce.com/services/soap/u/18.0. See API Endpoint Change Effective 1/1/2016 Salesforce (http://salesforce.stackexchange.com/q/97414/102)
Matt Heidenreich 8Matt Heidenreich 8
One note on the answer above, capitalization does matter in some instances, this is the correct URL for a sandbox:  https://test.salesforce.com/services/Soap/u/42.0