Skip to content

Skip one queue occurrence

PubNio API queues.skips.create: skip one queue occurrence. Request fields, examples in five clients, errors, and idempotency.

Skip one queue occurrence with POST /api/v1/queues/{queueId}/skips. Requires an API key with the publish scope or a signed-in workspace owner.

Request

The slot must belong to the queue and the date must not be in the past in the queue time zone. Repeating the same skip returns the existing row.

Parameter In Type Required
queueId path UUID Yes
workspaceId query UUID Yes
Body field Type Required
slotId UUID Yes
occurrenceDate string Yes

Response

  • HTTP 201: QueueSkip with id, queueId, slotId, occurrenceDate, createdAt.

The OpenAPI document has each field’s type.

Examples

const skip = await workspace.queues.skip(queueId, slotId, "2026-12-14");
skip = workspace.queues.create_skip(
    queue_id,
    slot_id=slot_id,
    occurrence_date="2026-12-14",
)
curl -X POST "https://pubnio.com/api/v1/queues/$QUEUE_ID/skips?workspaceId=$WORKSPACE_ID" \
  -H "Authorization: Bearer $PUBNIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slotId":"'"$SLOT_ID"'","occurrenceDate":"2026-12-14"}'
pnio queues skip "$QUEUE_ID" --slot-id "$SLOT_ID" --occurrence-date 2026-12-14
async () => {
  const queueId = "<queueId>";
  const slotId = "<slotId>";
  const response = await codemode.request({
    method: "POST",
    path: `/api/v1/queues/${queueId}/skips`,
    query: { workspaceId: codemode.workspaceId },
    body: { slotId: slotId, occurrenceDate: "2026-12-14" },
  });
  return response.data;
};

Errors

It declares no problem of its own.

It declares the problems most operations declare.

Idempotency

No key, so a retried POST is not deduplicated. Read the current state before you retry.

Limits

Type to search…

↑↓ navigate↵ selectEsc close