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
posta 2 anni fa285 visualizzazioni
1 Risposta
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
con risposta 2 anni fa
profile picture
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande