Search code examples
androidactions-on-google

can't get phone number to launch an automatic call in google actions (nodeJs)


I want to trigger an automatic call using a platform like twilio when saying "make a call" in the conversation. I have the destination phone and want to have the phone number of the user. This is available on alexa platform through Amazon account but with Google accounts, I don't find any trick. Is there any google API to get it ? Looking to permissions, I don't see a permission like "Read phone number" like location one. Could you please help me ? We are in the era of automation, what is the reason to not have a permission like that ?

I don't want to initialize a phone call (this is done through twilio). I only want a permission to get the phone number (null or setted) like the permission one for latitude/longitude in the google actions . https://developers.google.com/assistant/conversational/permissions?hl=en


Solution

  • The platform does not have an API to programmatically initialize a phone call nor request a phone number.