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
asked 2 years ago276 views
1 Answer
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
answered 2 years ago
profile picture
EXPERT
reviewed 23 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions