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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则