Skip to content
masterclass Buddy

Upstash · Method

client.enqueueJSON

enqueueJSON adds a JSON message to a named QStash queue. The queue sends it to an HTTP endpoint and supports ordered delivery.

Last updated

Syntax

await client.queue({ queueName }).enqueueJSON({ url, body, label });

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

Subscribe
  • client.queue
  • queue.enqueue
  • queue.upsert
  • queue.pause
  • queue.resume
  • Flow Control
  • FIFO delivery

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