Skip to main content
Answered

'Retrieve a contact' doesn't return existing user


I have tried to retrieve a contact with id 5fdf1f7270c60b2cb67905a9. I got this id from conversation this user has created. By the id of the conversation I can retrieve the user from web interface, but when I'm trying to get the same user by calling https://api.intercom.io/contacts/5fdf1f7270c60b2cb67905a9/p>

I am getting this error:

{'type': 'error.list',

'request_id': '00069hfajrq2e422bjfg',

'errors': [{'code': 'not_found', 'message': 'Contact Not Found'}]}

and I can't figure out what I'm doing wrong

Best answer by Roy

Hello @tracy a​ , Sorry for the late reply, just now saw the reply.

 

Can you try to create a contact via API and then test if this user will appear in Intercom?

Here is the API doc for creating a new contact via API.

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

4 replies

Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • January 29, 2021

Hello @tracy a​ , Can you post a full API call to take a look?


  • Author
  • New Participant
  • 2 replies
  • January 29, 2021

I am calling API from python code using requests lib:

requests.get('https://api.intercom.io/contacts/5fdf1f7270c60b2cb67905a9#39;, 

       headers={'Authorization': 'Bearer {}'.format(AUTH_TOKEN), 'Accept': 'application/json'}).json()


  • Author
  • New Participant
  • 2 replies
  • February 10, 2021

Do you have any info?


Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • Answer
  • February 15, 2021

Hello @tracy a​ , Sorry for the late reply, just now saw the reply.

 

Can you try to create a contact via API and then test if this user will appear in Intercom?

Here is the API doc for creating a new contact via API.


Reply


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