Skip to content

Commit 4616091

Browse files
authored
Add backfill changelog entry for http publish for queues (#23947)
* Add backfill changelog entry for http publish for queues * Link to SDK docs
1 parent 8e25e22 commit 4616091

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Publish messages to Queues directly via HTTP
3+
description: You can now publish messages to Cloudflare Queues from any HTTP client.
4+
products:
5+
- queues
6+
date: 2025-05-09 12:00:00 UTC
7+
---
8+
9+
You can now publish messages to [Cloudflare Queues](/queues/) directly via HTTP from any service or programming language that supports sending HTTP requests. Previously, publishing to queues was only possible from within [Cloudflare Workers](/workers/). You can already consume from queues via Workers or [HTTP pull consumers](/queues/configuration/pull-consumers/), and now publishing is just as flexible.
10+
11+
Publishing via HTTP requires a [Cloudflare API token](/fundamentals/api/get-started/create-token/) with `Queues Edit` permissions for authentication. Here's a simple example:
12+
13+
```bash
14+
curl "https://api.cloudflare.com/client/v4/accounts/<account_id>/queues/<queue_id>/messages" \
15+
-X POST \
16+
-H 'Authorization: Bearer <api_token>' \
17+
--data '{ "body": { "greeting": "hello", "timestamp": "2025-07-24T12:00:00Z"} }'
18+
```
19+
20+
You can also use our [SDKs](/fundamentals/api/reference/sdks/) for TypeScript, Python, and Go.
21+
22+
To get started with HTTP publishing, check out our [step-by-step example](/queues/examples/publish-to-a-queue-via-http/) and the full API documentation in our [API reference](/api/resources/queues/subresources/messages/methods/push/).

0 commit comments

Comments
 (0)