Endpoint for whatsapp

How can I send a message selected endpoint type for whatsapp?

Do you have any documentation of the whatsapp api?