Does opting out a phone number for SMS trigger any event?

0

For a "STOP" reply to SMS, the phone number is opted out and it is added to opted out numbers list in AWS SNS. We need to capture this event to handle some logic in our application. Does the opting out action trigger any event that can be captured asynchronously?

ny
demandé il y a 2 ans285 vues
1 réponse
0

According to this documentation: you can query to find out what numbers have opted out via ListPhoneNumbersOptedOut API or you can check an individual number with the CheckIfPhoneNumberIsOptedOut API. I don't see an event documented. An approach to take would be to use a scheduled event in AWS Event Bridge that would process this list and invoke events for each number, or new number, if you keep a list elsewhere.

profile pictureAWS
répondu il y a 2 ans
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions