---
title: "Add a post to a queue"
method: POST
path: "/queues/{id}/posts"
tags: ["Queues"]
---

# Add a post to a queue

`POST /queues/{id}/posts`

## Request

- Base URL: `https://socialbu.com/api/v1`
- URL: `https://socialbu.com/api/v1/queues/{id}/posts`
- Auth: HTTP bearer

Validates the post for the selected accounts, then stores it in the queue.

## Path parameters

- `id` integer, required

## Request body

- QueuePostCreateRequest
  - `accounts` integer[], required: ID(s) of one or more social media accounts used to validate queue post options.
  - `content` string: The content to save into the queue.
  - `options` object: Queue post options. Can be a shared options object or keyed by account ID.
  - `existing_attachments` UploadedMediaTokenAttachment[]: Attachments already uploaded to SocialBu's storage using media upload endpoint.
    - `upload_token` string, required: The value received from `/upload_media/status` or `/upload_media_by_url`.

## Response `204`

Queue post created successfully.

## Other responses

- `400`: Bad Request
- `404`: Queue not found
- `422`: The given data was invalid.

---

[API](https://skmtc.dev/socialbu/apis/socialbu-api.md) · [All operations](https://skmtc.dev/socialbu/apis/socialbu-api/llms.txt) · [OpenAPI document](https://skmtc.dev/socialbu/apis/socialbu-api/revisions/841b3ab0f671?raw)
