---
title: "Update queue settings"
method: PUT
path: "/api/queue-settings"
---

# Update queue settings

`PUT /api/queue-settings`

## Request

- Base URL: `https://octopost.ink`
- URL: `https://octopost.ink/api/queue-settings`
- Auth: HTTP bearer

## Request body

- QueueSettings
  - `enabled` boolean
  - `intervalHours` integer
  - `startHour` integer
  - `endHour` integer
  - `timezone` string

## Response `200`

Updated

- QueueSettings
  - `enabled` boolean
  - `intervalHours` integer
  - `startHour` integer
  - `endHour` integer
  - `timezone` string

## Other responses

- `400`: Validation error (hours 0-23, interval 1-24).
- `401`: Missing or invalid API key. Send `Authorization: Bearer op_...` with the key from https://octopost.ink/dashboard/api-keys.
- `429`: Rate limited (per minute per IP; publishing 50/hour). Retry after the `Retry-After` seconds.
- `500`: Server error. Safe to retry; email hello@greatwork.company if it persists.

---

[API](https://skmtc.dev/octopost/apis/octopost-rest-api.md) · [All operations](https://skmtc.dev/octopost/apis/octopost-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/octopost/apis/octopost-rest-api/revisions/87cef7870c1b?raw)
