Access to watsapp API

Hi,

I am new to this development game and was wondering is it possible to get access to watsapp API. I am looking to pull the messages from watsapp into another app. Any ideas on how this might be possible?

Thanks,
Adrian