Skip to content
masterclass Buddy

Upstash · Method

client.publish

client.publishJSON sends a JSON message to an HTTP endpoint through QStash. You can add a delay, headers, retries, callbacks, timeout, deduplication, and labels.

Last updated

Syntax

const result = await client.publishJSON({ url, body, ...options });

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • publish
  • URL Groups
  • retries
  • retry_delay
  • content-based deduplication
  • timeout
  • labels
  • callbacks

Source: Publish - Upstash Documentation. Checked 2026-11-03.