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

  • 16 November 2023
  • 2 replies

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 20 November 2023, 00:22

View original

2 replies

Userlevel 3

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.