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
Amit RoopnarineAmit Roopnarine 

Enable and test REST Apis for Auth, Leads, Opps, etc in Sandbox

Hi there, I am new to Salesforce and trying to get started with REST Api's for things like
- getting Auth'd
- creating Leads
- converting Leads to Opportunities
- updating dollar amounts, etc

Been jumping through screens and docs and have a few questions.

I read somewhere it must be a Developer Edition account to use Api's. How do we determine what type of Organization the account is in? 

Somewhere mentioned Api Enabled must be turned on. Where do I go to enable/disable Api services needed?

Is there a list of Api services with documentation? Trying to find out how to navigate to Api's and their docs. Is Data.com part of Force.com.

There are 4 types of Sandboxes but not sure which to try Api's with. Can the Developer Sandbox be used with Apis for Auth, Lead gen, Lead to Opportunity conversion, etc, or is it limited to only certain Sandbox types?

All help is appreciated, thanks!
 
jkcjkc
Hi Amlt,

You can check your salesforce environment edition by hovering on the browser's tab.
User-added image
If you are using developer, enterprise, group, or professional edition Api is enabled by default, regardless, here is a link to show how to enable it: https://ebsta.zendesk.com/hc/en-us/articles/210469083-How-do-I-enable-API-access-in-Salesforce-

I usually use workbench to check or test on the services available in the salesforce instance that I'm trying to connect: https://workbench.developerforce.com/
Here is a complete documentation for Rest Api: https://resources.docs.salesforce.com/sfdc/pdf/api_rest.pdf

The developer sandbox is enough to test the api.
For authentication
In sandbox: https://test.salesforce.com/services/oauth2
In production: https://login.salesforce.com/services/oauth2

You will also need to create a connected app to get the consumer key and secret to use for the authentication.

Regards,
jkc