Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import messages and contacts with date range #1278

Open
alohacrmchat opened this issue Mar 2, 2025 · 1 comment
Open

Import messages and contacts with date range #1278

alohacrmchat opened this issue Mar 2, 2025 · 1 comment

Comments

@alohacrmchat
Copy link

alohacrmchat commented Mar 2, 2025

Currently, the Evolution API does not provide a way to retrieve messages and contacts based on a date range. This limits the ability to perform historical analysis and data synchronization for systems that need to maintain an interaction history.

It would be useful to have an endpoint that allows requesting messages and contacts filtered by date. A possible implementation for this feature could be:

Suggested Implementation:

  • A new endpoint, such as /messages/history and /contacts/history, that accepts date parameters (start_date and end_date).

Benefits:

  • Enables retrieving old messages without relying solely on real-time events.
  • Facilitates data migration and synchronization in external systems.
  • Reduces the need to store all messages locally for future queries.

If this functionality already exists in some way, please clarify how we can use it. Otherwise, this improvement would greatly enhance the scalability of the API.

Thank you! 🚀

@alohacrmchat alohacrmchat changed the title Importação de mensagens e contatos com intervalo de datas Import messages and contacts with data range Mar 2, 2025
@alohacrmchat alohacrmchat changed the title Import messages and contacts with data range Import messages and contacts with date range Mar 2, 2025
@yewkay
Copy link

yewkay commented Mar 5, 2025

I have a issue that will benefit from this solution. my chatwoot crashed but evolution API has been collecting the messages diligently behind the scene. When chatwoot came online, the messages were not imported and i have about 3 days of missing data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants