Skip to main content
Answered

API getContacts method returns only leads

  • September 17, 2020
  • 1 reply
  • 14 views

I have about 110 users and about 55 leads. The getContacts method returns only 55 contacts in two pages. Looks like an API bug.

Best answer by Roy

Hi @user327​ ,

 

To get all your contacts, you should use:

https://developers.intercom.com/intercom-api-reference/reference#list-contacts/p>

 

$ curl https://api.intercom.io/contacts\

-H 'Authorization:Bearer <Your access token>' \

-H 'Accept:application/json'

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

1 reply

Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • Answer
  • September 17, 2020

Hi @user327​ ,

 

To get all your contacts, you should use:

https://developers.intercom.com/intercom-api-reference/reference#list-contacts/p>

 

$ curl https://api.intercom.io/contacts\

-H 'Authorization:Bearer <Your access token>' \

-H 'Accept:application/json'


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