0

I want to create a page on my website where a user can verify their number as an Outgoing Caller ID for my Twilio account. I understand that I can initiate this process by hitting the OutgoingCallerIds.json endpoint with a post request, passing in the phone number to verify. This returns a verification code to me, which I must communicate to the end user, and then they have to enter it when they get a phone call.

Instead, I want to do verification through SMS. I want it to mirror the method of adding a caller ID in the Twilio console. This would mean I make a request to a Twilio endpoint (passing in a phone number) which sends a verification code via SMS to that phone number. Then, I want to have the user tell me the verification code through my website, and then I make another request to Twilio entering the verification code. Is this in any way possible? I have looked through the Verify API documentation and I have found nothing on scaling SMS caller ID verification.

dp3
  • 1

0 Answers0