What is the best AWS service for sending SMS via REST WEB API calls?


I would like to use an AWS service as it is possible to do with Twillio. I have an application that manages customers (so I have several thousand phone numbers). This application must be able to send WEB REST API calls to a service (AWS) to send SMS. I had thought of SNS, but that doesn't seem like the right service to me because the phone number won't be in AWS. I thought of Pinpoint. Is this the right service for you? Thank you

2 Answers
Accepted Answer

It depends what you're trying to do. You're on the right track, Pinpoint and SNS are both options for mobile messaging.

Pinpoint: https://docs.aws.amazon.com/pinpoint/latest/apireference/operations.html SNS (without subscribing the phone number to a topic): https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html

Keep in mind there is a SNS "sandbox" mode for SMS to protect reputation and not spam: https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html. Once out of the sandbox mode, you can send SMS messages to any recipient and not just verified ones.

answered 2 years ago

I can't find how SNS can be invoked via a web service call (eg. HTTP), I can only find documentation and examples using Amazon SDKs for specific languages. I don't want to build the SDK into my application (all the other AWS services we use are REST endpoints... why not this one?).

answered 9 months 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