cURL
curl --request POST \ --url https://qstash.upstash.io/v2/queues \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "queueName": "<string>", "parallelism": 1 } '
{ "error": "<string>" }
Updates or creates a queue
QStash authentication token
The name of the queue
The number of parallel consumers consuming from the queue
Queue created or updated successfully
Was this page helpful?