I am using /messages api in whatapp api. when i send message to that user which do not have whatsapp account, my response is still 200 and message is not sent anywhere. how to manage that?
The API response indicates that Cloud API has successfully received your request, not that the message was delivered.
Notification about message delivery, including errors, are sent to your Cloud API webhook: https://developers.facebook.com/docs/whatsapp/cloud-api/guides/set-up-webhooks