Is there an API to send a message via Whatsapp using PHP?

Asked

Viewed 28,661 times

26

Is there an API to send a message to Whatsapp from a person using PHP?

  • If the API is not working I recommend reading: http://answall.com/a/130096/3635

  • Response removed as it violates the terms of Whatsapp. Good luck.

  • 1

    Not officially. But it has the alternative methods, like this one: https://whatsmate.github.io/2016-02-20-send-whatsapp-message-php/

  • 1
  • You don’t need PHP for this, you can use a link like this: https://api.whatsapp.com/send?phone={SE_NUMERO_CELULAR}&text=SUA MENSAGEM&lang=pt_br , see this one example with fake number.

2 answers

10

Good exite yes an api of Whatsapp official link: https://developers.facebook.com/docs/whatsapp/overview

The Whatsapp Business API client is compatible with a subset of features provided by the Whatsapp apps you already know about Android, iOS, the Web and other platforms, including point-to-point encryption. The difference is that this application can be deployed on a server, providing a local API that allows you to send and receive messages programmatically and integrate this 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 this violates our policies. Do not use third party tools not authorized by Whatsapp to communicate in the application.

0

There is no official API for sending or receiving Whatsapp message for any language.

You can even find something unofficial, but there is no guarantee that will work forever, because Whatsapp works hard to block any third-party API that does this.

You can read a little more about the Whatsapp policy is to ask your questions. https://www.whatsapp.com/legal

Browser other questions tagged

You are not signed in. Login or sign up in order to post.