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

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Skip one queue occurrence

Skip one queue occurrence with [`POST /api/v1/queues/{queueId}/skips`](https://pubnio.com/api/v1/docs#tag/queues/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](https://pubnio.com/api/v1/openapi) has each field's type.

## Examples

### TypeScript

```ts
const skip = await workspace.queues.skip(queueId, slotId, "2026-12-14");
```

### Python

```python
skip = workspace.queues.create_skip(
    queue_id,
    slot_id=slot_id,
    occurrence_date="2026-12-14",
)
```

### cURL

```sh
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"}'
```

### CLI

```sh
pnio queues skip "$QUEUE_ID" --slot-id "$SLOT_ID" --occurrence-date 2026-12-14
```

### MCP execute

```js
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](https://pubnio.com/docs/reference/#shared-problems) declare.

## Idempotency

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

## Limits

- Field lengths and ranges are in the [OpenAPI document](https://pubnio.com/api/v1/openapi).

## Related

- [Queues operations](https://pubnio.com/docs/reference/#queues)
- [Publishing](https://pubnio.com/docs/publishing/)

Source: https://pubnio.com/docs/reference/queues-skips-create/index.mdx
