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
gefragt vor 2 Jahren285 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren
profile picture
EXPERTE
überprüft vor einem Monat

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