Cloudflare Queues · Example Payload

Cloudflare Queues Create Queue

Example request and response for creating a Cloudflare Queue.

MessagingMessage QueueServerlessWorkersCloudflareAsyncDead Letter QueueEvent-Driven

Cloudflare Queues Create Queue is an example object payload from Cloudflare Queues, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "Create Queue Example",
  "description": "Example request and response for creating a Cloudflare Queue.",
  "request": {
    "method": "POST",
    "url": "https://api.cloudflare.com/client/v4/accounts/{account_id}/queues",
    "headers": {
      "Authorization": "Bearer <api_token>",
      "Content-Type": "application/json"
    },
    "body": {
      "queue_name": "my-message-queue"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "success": true,
      "errors": [],
      "messages": [],
      "result": {
        "queue_id": "023e105f4ecef8ad9ca31a8372d0c353",
        "queue_name": "my-message-queue",
        "created_on": "2024-01-15T10:00:00Z",
        "modified_on": "2024-01-15T10:00:00Z",
        "producers_total_count": 0,
        "consumers_total_count": 0,
        "settings": {
          "delivery_delay": 0,
          "delivery_paused": false,
          "message_retention_period": 345600
        }
      }
    }
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • 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 example
curl "https://apis.io/api/v1/examples/cloudflare-queues-create-queue"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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