Refer -
WhatsApp[
^]
Quote:
German Tech site The H demonstrated how to use WhatsAPI to hijack any WhatsApp account on September 14, 2012.[31] Shortly after a legal threat to WhatsAPI's developers was alleged, characterized by The H as "an apparent reaction" to security reports, and WhatsAPI's source code was taken down for some days.[32] The WhatsAPI team has since returned to active development.[33]
So, not sure whether there is a API or not.
Contact WhatsApp[
^] and collect the correct information.
If you face any difficulty while coding, feel free to come back here and ask another question with specific issue describing the scenario.
Members will be happy to help you then.
Happy Coding. :)