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 Antworten
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
beantwortet vor 9 Monaten
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
EXPERTE
beantwortet vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen