Skip to main content
Answered

I am trying to get a full list of the users through the /contacts endpoint of the current version of the API, but I am only getting the leads and not the users. Is there a param I have to pass to the endpoint? I tried role: user, type: user but no lu


I am trying to get a full list of the users through the /contacts endpoint of the current version of the API, but I am only getting the leads and not the users. Is there a param I have to pass to the endpoint? I tried role: user, type: user but no luck.

Best answer by User2465

I have this exact problem with version 2.5 of the API, where I only get the leads.

 

Switching to API version 2.4 gives me all contacts.

View original
Did this topic help you find an answer to your question?

6 replies

  • Employee
  • 328 replies
  • May 23, 2022

Hey @agustin​ ! To confirm are you using this API endpoint? If so this will list all contacts(leads and users). Could you confirm the version of the API you are using?


  • Author
  • New Participant
  • 3 replies
  • May 25, 2022

Hi @aparna​ , yes I am using that endpoint. Here are a screenshot from the app and another from the request in postman.

If you look at the result total count matches the amount of leads in the app. Whenever leads are updated the total count updates as well, so it is retrieving only leads, also all the contacts come without a company.

 

Postman requestIntercoms app


  • Author
  • New Participant
  • 3 replies
  • May 25, 2022

And I am using the current version of the API


  • Employee
  • 328 replies
  • June 3, 2022

Hmm.. strange. Would you please open a conversation with our support team? I request this because I am not able to reproduce the issue on my test app nor see any bug issue. This would need some more investigation.


  • New Participant
  • 1 reply
  • Answer
  • August 30, 2022

I have this exact problem with version 2.5 of the API, where I only get the leads.

 

Switching to API version 2.4 gives me all contacts.


  • Author
  • New Participant
  • 3 replies
  • August 31, 2022

Spot on!!!

Thanks for posting your answer!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings