How to retrive lead information from API?

Highlighted
Anonymous
Not applicable

How to retrive lead information from API?

Hi,

We are trying to fetch lead information such as Company Name, Country through lead API. but this is only providing First Name, Last Name and Email Address. Is there any way to fetch some more required fields value from Lead ID through REST API.

Please suggest me what will be the best way.

Appreciate your help.

Thanks,

Sheershak

Tags (2)
1 REPLY 1
Highlighted
Level 10 - Community Moderator

Re: How to retrive lead information from API?

You should always be specific about which endpoint you're using.  And the exact payload you're sending.

I assume here you mean /leads.json. You need to pass the fields query parameter, which is a comma-delimited list of fields. (This is in the docs.)