Skip to main content

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

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


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


Do you have any info?


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