Skip to main content
Answered

Is the updated_at field equal to the created_at field at the conversation/contact creation?


I want to search and load only new conversations/contacts.

By “new” I mean newly created and updated ones.

Can I do it only by updated_at field? For example, if the contact is created on 15.11.2023 18:00:00, will the updated_at field be the same? So I do not need to add the created_at field also

So if we assume the time boundaries are 06.11.2023 00:00:00 and 12.11.2023 00:00:00, then what I expect to see is:

  • contacts that are created in this period
  • AND contacts that are updated in this period (irrelevant of the fact when they were created)

Best answer by Jacob Cox

Hi @Dmytro Horodetskyi !

You are correct, that those 2 attributes will be the same value when a Contact or Conversation is created! 

In the screenshot below you can see an example of a user who was just created. The created_at and updated_at values have the same Unix timestamp.

 

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

2 replies

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • Answer
  • November 19, 2023

Hi @Dmytro Horodetskyi !

You are correct, that those 2 attributes will be the same value when a Contact or Conversation is created! 

In the screenshot below you can see an example of a user who was just created. The created_at and updated_at values have the same Unix timestamp.

 


Hi, @Jacob Cox! Thank you for your verification! This will really help to optimize our scripts.


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