How to get correspondence with a specific user?

Use the / messages method for this.

when doing this, use the parameters:

chatiId = <> - Examples: for private messages and 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 (



Was this article helpful?

Your opinion will be used to improve the content of the article

The Most Multifunctional WhatsApp API Provider

Chat API has been operating since 2015 and is one of the first and largest providers in Eastern Europe.

Here are some curious and important figures:

  • We have tremendous expertise in docker container management at scale with an SLA of 99.5+%;
  • Chat API involves in its work more than 200 servers, with the ability to quickly connect another 100;
  • 3200 cores and 25 terabytes of RAM;
  • 200+ WhatsApp methods and features that keep adding;
  • Highload system, Up Time servers 99.9%;
  • Support 24\7;
Get access to the WhatsApp API