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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南