How to retrive lead information from API? | Community
Skip to main content
November 12, 2018
Question

How to retrive lead information from API?

  • November 12, 2018
  • 1 reply
  • 1156 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
November 12, 2018

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.)