Can SMS message be sent via SNS using a REST API endpoint (HTTP)?

0

We use a number of AWS services in our web application (mail, db, etc). We want to add SMS messaging, but it seems like the SNS service can only be called using the Amazon SDK for specific languages. We don't want to build the SDK into our web app just for this one function. Is there a way to send SMS messages in AWS by calling a REST endpoint (e.g. HTTP invocation)?

已提問 9 個月前檢視次數 589 次
1 個回答
1

If I understood your question correctly, you want to know if you can send a message to SNS through it's API directly, without using any SDK, right ? Then you would have SNS itself to send the SMS to the mobile phone.

If that's the case then yes. It's completly possible to send messagens to an SNS topic directly through a REST API.

Here you can find the complete SNS API Reference Guide: https://docs.aws.amazon.com/sns/latest/api/welcome.html

Check here for documentation and best practices on using SNS to send SMS messages.

https://docs.aws.amazon.com/sns/latest/dg/sns-mobile-phone-number-as-subscriber.html

Hope this helps you.

已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南