Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get leads details in SalesForce with the REST API?

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

like image 843
herve Avatar asked Oct 14 '25 07:10

herve


1 Answers

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

like image 182
Abhishek Arora Avatar answered Oct 18 '25 00:10

Abhishek Arora



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!