Best practice to get incoming call phone number at the begining of the call

hi, my goal is the following :
  • when someone calls my bot, I need to get his phone number pretty quickly
  • this phone number will be used to check if the caller already called in the past days (external service that I communicate with, with make.com)
  • If it's the case, the bot will have to use previous calls informations, also present in the external service, as context to answer the caller's questions
My question is :
  • I saw that there was a way, using the API, to collect the incoming call phone number using a call ID
  • I also saw this sentence in this discord """When an incoming call is received, you'll automatically get the id of the call in the response. Use this ID to fetch call details if necessary.""" How is it done ?
  • Is the best way to do it to trigger a webhook at the begining of the call, that will start a make scenario containing HTTP requests nodes that performs all the required requests ?
Was this page helpful?