3

Is it possible, with the REST API available from SalesForce, to get the list of all leads and all their details?

herve
  • 525
  • 6
  • 17

1 Answers1

3

Sure you can, with the help of SOQL queries.

Read here: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_query.htm

Example: POST https://instance_name.salesforce.com/services/data/v40.0/query?q=SELECT Id,FirstName,LastName FROM Lead