I'm trying to call out to an external API to return some details about a contact/lead into freshsales from within the freshsales app SDK
When I fire some event
like: client.data.get("lead").then (); I see that the leadID for
the current lead is returned; however I need to grab some other data from
the lead (phone number, email, name) to be able to correlate it with a
value on premise.
Is there a simple/easy way to grab additional data about the lead, or do i have to call out to the freshsales API pass in the lead ID, grab the data i need, then call out to my API?