---
title: "Create queue — estimate"
method: POST
path: "/v1/social/post_queues/estimate"
tags: ["Queues"]
---

# Create queue — estimate

`POST /v1/social/post_queues/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/social/post_queues/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/social/post_queues`.

## Request body

- object: Request body for creating a queue.
  - `post_queue` object, required
    - `name` string, required: Queue name
    - `jitter` integer: Random offset in minutes (0-60, default: 0)
    - `timezone` string: IANA timezone (default: UTC)
    - `description` string: Optional description
    - `queue_timeslots_attributes` object[]: Initial timeslots
      - `id` integer: Existing timeslot ID (required when removing)
      - `day` integer: Day of the week: 0=Sunday through 6=Saturday
      - `time` string: Time in 24-hour HH:MM format
      - `_destroy` boolean: Pass true together with id to remove the timeslot

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
