How can I do sms marketing using the Amazon SNS service?

0

In the application, I want to verify the phone numbers entered when my users register with OTP and then send sms with amazon sns technology. (discounts, promotions, etc.). I can add a subscription to a topic locally, but the message does not go away afterwards. I think this is related to otp. When I wanted to build an otp system with lambda, I couldn't include the aws-sdk library. I found that Amazon doesn't have a detailed guide for all of them. What would you recommend me for this?

2개 답변
1

Amazon Pinpoint includes a One-Time Password (OTP) management feature. You can use this feature to generate new one-time passwords and send them to your recipients as SMS messages. Your applications can then call the Amazon Pinpoint API to verify these passwords.

[+] https://docs.aws.amazon.com/pinpoint/latest/developerguide/send-validate-otp.html#send-validate-otp-sending

Code examples that show how to use the SDK for Python (Boto3) to send and verify OTP codes.

[+] https://docs.aws.amazon.com/pinpoint/latest/developerguide/send-validate-otp.html#send-validate-otp-examples

AWS
답변함 9달 전
0

Hi,

AWS Cognito provides mechanisms to verify user identity and phone, email, etc. See https://docs.aws.amazon.com/cognito/latest/developerguide/signing-up-users-in-your-app.html

Then, for those registered users, sms sending usually happens via AWS SNS: https://docs.aws.amazon.com/sns/latest/dg/sns-mobile-phone-number-as-subscriber.html

Best,

Didier

profile pictureAWS
전문가
답변함 9달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠