I am getting below error while sending a Google Business Messages via API
Business Messages API has not been used in project 7170339412 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/businessmessages.googleapis.com/overview?project=7170339412 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry
But under API Library, I am not able to find Business Messages API so that I can enable it. Is it referred with any other name?
Below screenshots of what I see:
The Business Messages api is a restricted API you need apply for permission to access it.
Due to the fact that its a restricted api that name is not going to appear under libary.
The page linked there describes how to apply