Is there an API for sending a message to a person's WhatsApp using PHP?
Is there an API for sending a message to a person's WhatsApp using PHP?
Good exite yes an api of the official WhatsApp link: link
The WhatsApp Business API client supports a subset of features provided by WhatsApp applications you already know about Android, iOS, the Web, and other platforms, including end-to-end encryption. The difference is that this application can be deployed to a server, providing a local API that allows you to programmatically send and receive messages and integrate that workflow into your own systems (CRMs, customer service, etc.).
If you use anything other than the official WhatsApp Business API or other official WhatsApp tools, we reserve the right to limit or remove your access to WhatsApp as it violates our policies. Do not use third-party tools not authorized by WhatsApp to communicate in the application.
There is no official API for sending or receiving WhatsApp messages to any language.
You can even find something that is not official, but the guarantee will work as long as it's working and something unanswered, because WhatsApp will work hard to block any third-party APIs that do this.
You can read a little more about what WhatsApp policy is to answer your questions. link