How to get correspondence with a specific user?

To connect to the WhatsApp API, these materials can help you.
Chat API offers the most accessible and automated connection to the WhatsApp Business API on the market with instant access, a visual Chabot constructor that does not require code knowledge, and a Chat platform.
WhatsApp Business API is the most reliable way to introduce more than 2 billion messenger audiences to your business or product. Connect to the Chat API.
Thank you for visiting our website. Our team wishes you success in all matters!
Use the / messages method for this.
when doing this, use the parameters:
chatiId = <> - Examples: 17633123456@c.us for private messages and 17680561234-1479621234@g.us for group.
& limit = 0 - Sets the length of the message list. The default is 100. A value of 0 will return all messages.
You can find more methods in our documentation section: Full Documentation WhatsApp API Gateway for sending and receiving messages. Whatsapp marketing campaigns and bots in PHP, JavaScript and Python (chat-api.com)