I don't think that whatsapp has any api to integrate with website now. web.whatsapp is there for desktop but there no integration for website as far my knowledge
You can add WhatsApp on your website by creating a WhatsApp link. That link will redirect your visitors to your WhatsApp account, so that they can contact you. Here are the steps to create a WhatsApp link.