question

chetana avatar image
chetana asked

OTP verification

OTP verification

I have a situation, where the skill sends an OTP to a user's email/phone and then user enters it in his/her next command to Alexa. The skill verifies the OTP and then provides the information.

How to perform this.

payment
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Gaetano@Amazon avatar image
Gaetano@Amazon answered

Hello and thanks for posting.

You can use the four_digit_number slot type to accept this kind of information.

Your backend will receive the entire number that you can validate and send the correct response to the customer.

Regards,
Gaetano

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.