Answer the question
In order to leave comments, you need to log in
How to send sms on whatsapp?
Is it possible to somehow implement sending data from the form via PHP to the phone number. in WhatsApp without different intermediaries/aggregators?
For Telegram (without a bot) I found such a thing, I want to believe that it is somehow possible for WhatsApp.
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Unfortunately, WhatsApp has a very strict policy towards developers, it does not have a public API and the ability to send messages to numbers that are not in your contacts. However, there are services on the network that provide such an API, but it is not official, its use carries the risk of banning your account without the possibility of recovery. In addition, such a service is not free (on one of the services, it costs 900 rubles / month for 1 account) and, as a rule, with a limit on the number of messages sent.
There is a so-called WhatsApp Business API that is only available to "medium and large companies", the application is sent through Facebook, where it is checked and they pass their verdict on admission. It is not available to mere mortals and IPs.https://www.whatsapp.com/business/api
As user storm57 pointed out , there are several open source projects on GitHub that provide APIs for WhatsApp in the form of libraries and components for various programming languages.
However, using this method can greatly increase the risk of an account ban, even compared to paid services that work through WhatsApp WEB.
A relatively secure and practically free way: https://github.com/sigalor/whatsapp-web-reveng
A library running on its own server, with the ability to receive APIs and send messages.
Once I wanted to "play around" with it, if you want, I can install and configure it for you on your or my server, my contacts are on top under the nickname.
look for whatsapp api on the github, but it seems that now whatsapp is covering the shop for free use of api
I understand that the topic is outdated, but still.
If you need to send a message to only one or two numbers only. Those. when, for example, the site went down, a feedback message came, an order came, etc.
This is not the same as sending to other people's numbers.
Is this real or is it also possible to get banned for this?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question