Amazon SQS Messages API

Operations for sending, receiving, and deleting messages in SQS queues

GitHub OpenAPI

Operations 10

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 /#DeleteMessage Delete a received message from a queue · Delete Message #
Ask an LLM
“How do I remove a message from a queue after I've received it?”
“Can I delete a message using its receipt handle instead of its message ID?”
Tell an agent destructive · confirm first
Delete the received message with receipt handle {receipt_handle} from queue {queue_url}.
Remove message {receipt_handle} from {queue_url} so it is no longer available to other consumers.
POST /#SendMessage Send a message to a queue · Send Message #
Ask an LLM
“How do I send a text message into an Amazon SQS queue?”
“Can I delay a message or attach attributes when sending it to a queue?”
Tell an agent
Send message {message_body} to queue {queue_url}.
Send {message_body} to {queue_url} delayed by {delay_seconds} seconds.
POST /#CancelMessageMoveTask Cancel a running message move task · Cancel Message Move Task #
Ask an LLM
“Can I stop a message redrive task that is still running?”
“What happens to messages already moved when I cancel a message move task?”
Tell an agent destructive · confirm first
Cancel the message move task {task_handle}.
Stop the running message redrive task {task_handle}.
POST /#ListMessageMoveTasks List message move tasks for a queue · List Message Move Tasks #
Ask an LLM
“Which message move tasks are currently running on a dead-letter queue?”
“How many message redrive tasks can a queue have at once?”
Tell an agent
List the most recent message move tasks for queue {source_arn}.
Show up to {max_results} message move tasks on {source_arn}.
POST /#StartMessageMoveTask Move messages from a dead-letter queue to another queue · Start Message Move Task #
Ask an LLM
“How do I redrive messages from a dead-letter queue back to their source queue?”
“Can I set a maximum number of messages moved per second when redriving?”
Tell an agent
Move messages from dead-letter queue {source_arn} to {destination_arn}.
Redrive up to {max_per_second} messages per second from {source_arn}.
POST /#ChangeMessageVisibility Extend a message's visibility timeout · Change Message Visibility #
Ask an LLM
“How do I keep a received message locked from other consumers for longer?”
“What is the maximum visibility timeout I can set on a message?”
Tell an agent
Set the visibility timeout of message {receipt_handle} in {queue_url} to {timeout} seconds.
Extend the lock on {receipt_handle} in {queue_url} to {timeout} seconds.
POST /#ChangeMessageVisibilityBatch Change visibility timeout for several messages at once · Change Message Visibility Batch #
Ask an LLM
“Can I change the visibility timeout of many messages in one request?”
“What happens if some messages in a batch visibility change fail?”
Tell an agent
Change the visibility timeout of these messages in {queue_url}: {entries}.
Batch extend the locks on {entries} in {queue_url}.
POST /#ReceiveMessage Receive messages from a queue · Receive Message #
Ask an LLM
“How do I fetch the next batch of messages from a queue?”
“Can I wait for a message to arrive before receiving from a queue?”
Tell an agent
Receive up to {max_messages} messages from {queue_url}.
Wait up to {wait_seconds} seconds for a message to arrive in {queue_url}.
POST /#DeleteMessageBatch Delete several messages from a queue at once · Delete Message Batch #
Ask an LLM
“Can I delete multiple messages from a queue in one request?”
“What does the batch delete response tell me about which messages failed to delete?”
Tell an agent destructive · confirm first
Delete these messages from {queue_url}: {entries}.
Batch remove the messages {entries} from {queue_url}.
POST /#SendMessageBatch Send several messages to a queue at once · Send Message Batch #
Ask an LLM
“Can I send a batch of messages to a queue in a single request?”
“How many messages can I include in one batch send?”
Tell an agent
Send these messages to {queue_url}: {entries}.
Batch send {entries} into {queue_url}.

Documentation

Specifications

Code Examples

Schemas & Data

Other Resources

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-sqs:amazon-sqs-messages-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-sqs-messages-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Queue Service Messages API
  version: '2012-11-05'
  description: Generated from AWS's published Smithy model for Amazon Simple Queue Service. 10 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://sqs.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


# --- truncated at 32 KB (56 KB total) ---
# Full source: https://artifacts.apis.io/amazon-sqs/openapi/amazon-sqs-messages-api-openapi.yml