Amazon SNS Sns Operations API

The Sns Operations API from Amazon SNS — 24 operation(s) for sns operations.

GitHub OpenAPI
Business capability
Application Communications AE-150

Operations 25

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /?Action=CheckIfPhoneNumberIsOptedOut Check whether a phone number is opted out of SMS · Check If Phone Number Is Opted Out #
Ask an LLM
“Is a particular phone number opted out of receiving SMS messages from my account?”
“Can I send an SMS to a number that has opted out?”
Tell an agent
Check whether {phoneNumber} is opted out of SMS.
Tell me if {phoneNumber} has opted out of receiving text messages.
POST /?Action=ConfirmSubscription Confirm a subscription to a topic · Confirm Subscription #
Ask an LLM
“How do I confirm a subscription after receiving the confirmation token?”
“What happens to a subscription that is never confirmed?”
Tell an agent
Confirm subscription {token} to topic {topic}.
Verify the subscription confirmation token {token} for {topic}.
POST /?Action=OptInPhoneNumber Opt a phone number back in for SMS · Opt In Phone Number #
Ask an LLM
“Can I send SMS messages to a number that opted out?”
“How often can I opt a phone number back in?”
Tell an agent
Opt {phoneNumber} back in for SMS.
Re-enable text messaging to {phoneNumber} after it opted out.
POST /?Action=Publish Publish a message to a topic, phone number or endpoint · Publish #
Ask an LLM
“How do I send a message to an SNS topic?”
“Can I publish a message directly to a phone number or mobile endpoint?”
Tell an agent
Publish {message} to topic {topic}.
Send {message} to phone number {phoneNumber}.
POST /?Action=PublishBatch Publish up to ten messages to a topic in one batch · Publish Batch #
Ask an LLM
“Can I publish several messages to a topic in a single request?”
“What happens if one message in a batch publish fails?”
Tell an agent
Publish these messages to topic {topic}: {entries}.
Batch publish up to ten messages to {topic}.
POST /?Action=Subscribe Subscribe an endpoint to a topic · Subscribe #
Ask an LLM
“How do I subscribe an email address to a topic?”
“Can I subscribe a phone number to receive SMS messages from a topic?”
Tell an agent
Subscribe {protocol} endpoint {endpoint} to topic {topic}.
Subscribe {endpoint} to {topic} using protocol {protocol}.
POST /?Action=Unsubscribe Unsubscribe an endpoint from a topic · Unsubscribe #
Ask an LLM
“How do I stop an email address from receiving topic messages?”
“Can I unsubscribe an endpoint without confirming it?”
Tell an agent destructive · confirm first
Unsubscribe {subscription} from its topic.
Remove the endpoint subscription {subscription}.
POST /?Action=VerifySMSSandboxPhoneNumber Verify a phone number in the SMS sandbox · Verify SMSSandbox Phone Number #
Ask an LLM
“How do I verify a destination phone number for SMS sandbox testing?”
“What do I need to send an SMS in the SMS sandbox?”
Tell an agent
Verify {phone} in the SMS sandbox with OTP {otp}.
Confirm destination number {phone} for sandbox SMS using {otp}.
POST /?Action=AddPermission Grant another account permission to a topic · Add Permission #
Ask an LLM
“How do I let another AWS account publish to my topic?”
“Can I restrict which actions a granted account can perform?”
Tell an agent
Add permission {label} to topic {topic} for account {account} allowing {action}.
Grant account {account} permission {label} on {topic} for action {action}.
POST /?Action=RemovePermission Revoke a granted permission on a topic · Remove Permission #
Ask an LLM
“How do I stop another account from publishing to my topic?”
“Can I remove a permission label from a topic?”
Tell an agent destructive · confirm first
Remove permission {label} from topic {topic}.
Revoke the {label} permission on {topic}.
POST /?Action=CreatePlatformEndpoint Create a mobile push endpoint · Create Platform Endpoint #
Ask an LLM
“How do I create an endpoint for a mobile app on GCM or APNS?”
“Can I associate custom user data with a mobile endpoint?”
Tell an agent
Create a {platform} endpoint for token {token} on application {application}.
Create mobile endpoint {token} for app {application} with user data {data}.
POST /?Action=GetTopicAttributes Get a topic's attributes · Get Topic Attributes #
Ask an LLM
“What attributes are set on a topic?”
“Can I read a topic's attributes without listing its subscriptions?”
Tell an agent
Get the attributes of topic {topic}.
Show the attributes of SNS topic {topic}.
POST /?Action=DeleteEndpoint Delete a mobile push endpoint · Delete Endpoint #
Ask an LLM
“How do I remove a mobile endpoint from a platform application?”
“Can I delete an endpoint that is also subscribed to a topic?”
Tell an agent destructive · confirm first
Delete mobile endpoint {endpoint}.
Remove the push endpoint {endpoint} from its platform application.
POST /?Action=ListEndpointsByPlatformApplication List endpoints for a platform application · List Endpoints By Platform Application #
Ask an LLM
“Which mobile devices are registered with my platform application?”
“Can I page through all endpoints for a push application?”
Tell an agent
List endpoints for platform application {application}.
Show the next {application} page of endpoints after token {next}.
POST /?Action=GetDataProtectionPolicy Get a topic's data protection policy · Get Data Protection Policy #
Ask an LLM
“What data protection policy is stored on a topic?”
“Can I read the inline data protection policy of a topic?”
Tell an agent
Get the data protection policy on {topic}.
Show the data protection policy stored in topic {topic}.
POST /?Action=PutDataProtectionPolicy Set a topic's data protection policy · Put Data Protection Policy #
Ask an LLM
“How do I add a data protection policy to a topic?”
“Can I update the inline data protection policy on a topic?”
Tell an agent
Set the data protection policy {policy} on {topic}.
Add or update the inline data protection policy on topic {topic}.
POST /?Action=GetEndpointAttributes Get a mobile endpoint's attributes · Get Endpoint Attributes #
Ask an LLM
“What attributes are set on a mobile endpoint?”
“Can I read an endpoint's attributes without listing its platform application?”
Tell an agent
Get the attributes of endpoint {endpoint}.
Show the attributes of mobile endpoint {endpoint}.
POST /?Action=SetEndpointAttributes Set a mobile endpoint's attributes · Set Endpoint Attributes #
Ask an LLM
“How do I change the attributes of a mobile endpoint?”
“Can I update the custom user data on an endpoint?”
Tell an agent
Set attributes {attributes} on endpoint {endpoint}.
Update mobile endpoint {endpoint} with attributes {attributes}.
POST /?Action=GetPlatformApplicationAttributes Get a platform application's attributes · Get Platform Application Attributes #
Ask an LLM
“What attributes are set on a platform application?”
“Can I read a platform application's attributes without listing its endpoints?”
Tell an agent
Get the attributes of platform application {application}.
Show the attributes of push application {application}.
POST /?Action=SetPlatformApplicationAttributes Set a platform application's attributes · Set Platform Application Attributes #
Ask an LLM
“How do I change the attributes of a platform application?”
“Can I update the platform credential on a push application?”
Tell an agent
Set attributes {attributes} on platform application {application}.
Update push application {application} with attributes {attributes}.
POST /?Action=SetSMSAttributes Set SMS sending settings · Set SMSAttributes #
Ask an LLM
“How do I set a monthly spend limit on SMS messages?”
“Can I override the default SMS settings for one message?”
Tell an agent
Set SMS attributes {attributes}.
Set the SMS monthly spend limit to {attributes}.
POST /?Action=GetSMSSandboxAccountStatus Check SMS sandbox status · Get SMSSandbox Account Status #
Ask an LLM
“Is my AWS account in the SMS sandbox?”
“Can I send SMS messages to unverified numbers right now?”
Tell an agent
Call {action} at API version {version} to check my account's SMS sandbox status.
Check whether SMS sandbox mode is enabled by running {action} with version {version}.
POST /?Action=GetSubscriptionAttributes Get a subscription's attributes · Get Subscription Attributes #
Ask an LLM
“What are the attributes of a specific subscription?”
“Can I look up one subscription by its ARN?”
Tell an agent
Get the attributes of subscription {subscription_arn}.
Show me the settings for subscription {subscription_arn}.
POST /?Action=ListOriginationNumbers List dedicated origination numbers · List Origination Numbers #
Ask an LLM
“Which phone numbers have I dedicated for SMS origination?”
“Can I page through my origination numbers?”
Tell an agent
List my dedicated origination numbers.
Show {max_results} origination numbers starting from {next_token}.
POST /?Action=ListPhoneNumbersOptedOut List phone numbers that opted out of SMS · List Phone Numbers Opted Out #
Ask an LLM
“Which phone numbers have opted out of receiving my SMS messages?”
“Can I page through the opt-out list?”
Tell an agent
List phone numbers that opted out of SMS.
Show the next page of opt-out numbers after {next_token}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-sns:amazon-sns-operations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-sns-operations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Notification Service Operations API
  version: '2010-03-31'
  description: Generated from AWS's published Smithy model for Amazon Simple Notification Service. 25 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://sns.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


# --- truncated at 32 KB (87 KB total) ---
# Full source: https://artifacts.apis.io/amazon-sns/openapi/amazon-sns-operations-api-openapi.yml