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 Answers
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
answered 9 months ago
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
EXPERT
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions