I have added my phone number on WhatsApp API but still status is pending.
You have to call /register api to get number connected: https://developers.facebook.com/docs/whatsapp/cloud-api/reference/registration