SocialBu Queues API
Manage your publishing queues and queue items.
Manage your publishing queues and queue items.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/socialbu-com:socialbu-com-queues-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: 'This is documentation for the SocialBu API.
Base URL: `https://socialbu.com/api/v1`
Pass your API token from the SocialBu dashboard in the `Authorization` header:
`Authorization: Bearer YOUR_API_TOKEN`
You can get your API token from **Settings** in your SocialBu dashboard. You can also generate one programmatically by calling `POST /auth/get_token` with your email and password.
Example GET request: `GET https://socialbu.com/api/v1/accounts`'
version: 1.0.0
title: SocialBu Queues API
termsOfService: https://socialbu.com/about/terms
contact:
email: support@socialbu.com
servers:
- description: SocialBu API
url: https://socialbu.com/api/v1
security:
- bearerAuth: []
tags:
- name: Queues
description: Manage your publishing queues and queue items.
paths:
/queues:
get:
tags:
- Queues
summary: List available queues
description: Returns all queues available to the authenticated user, including team queues they can access.
operationId: listQueues
parameters:
- name: team_id
in: query
description: Only return this team's queues. `0` returns only your own queues that aren't in a team. When omitted, your own queues and your teams' queues are returned.
schema:
type: integer
minimum: 0
responses:
'200':
description: Queue list
content:
application/json:
schema:
$ref: '#/components/schemas/QueueListResponse'
'400':
description: Bad Request
/queues/{id}:
delete:
tags:
- Queues
summary: Delete a queue
description: Deletes a publishing queue available to the authenticated user. Team queues require the `queues.edit` permission. Deleting a queue does not delete posts that have already been scheduled or published.
operationId: deleteQueue
parameters:
- name: id
in: path
description: Queue ID.
required: true
schema:
type: integer
responses:
'204':
description: Queue deleted successfully. No response body.
'400':
description: The user does not have permission to edit this team queue.
'401':
description: Authentication required.
'404':
description: Queue not found or not available to the authenticated user.
/queues/{id}/posts:
get:
tags:
- Queues
summary: List queue posts
description: Returns paginated posts for a single queue.
operationId: listQueuePosts
parameters:
- name: id
in: path
description: Queue ID.
required: true
schema:
type: integer
- name: perPage
in: query
description: Number of items per page. Maximum 500.
schema:
type: integer
maximum: 500
responses:
'200':
description: Queue posts
content:
application/json:
schema:
$ref: '#/components/schemas/QueuePostsResponse'
'404':
description: Queue not found
'422':
description: The given data was invalid.
post:
tags:
- Queues
summary: Add a post to a queue
description: Validates the post for the selected accounts, then stores it in the queue.
operationId: createQueuePost
parameters:
- name: id
in: path
description: Queue ID.
required: true
schema:
type: integer
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/QueuePostCreateRequest'
responses:
'204':
description: Queue post created successfully.
'400':
description: Bad Request
'404':
description: Queue not found
'409':
description: The queue is publishing. Retry adding to the start shortly.
'422':
description: The given data was invalid.
/queues/{id}/shuffle:
post:
tags:
- Queues
summary: Shuffle queue order
description: Randomizes the order of items in the queue using the same cursor rules as a bulk reorder. Requires queues.edit for team queues.
operationId: shuffleQueue
parameters:
- name: id
in: path
description: Queue ID.
required: true
schema:
type: integer
responses:
'204':
description: Queue shuffled successfully.
'400':
description: The user does not have permission to edit this queue.
'409':
description: A post is currently being published from this queue. Retry after publishing finishes.
'404':
description: Queue not found
components:
schemas:
UploadedMediaTokenAttachment:
type: object
required:
- upload_token
properties:
upload_token:
type: string
description: The value received from `/upload_media/status` or `/upload_media_by_url`.
QueuePostsResponse:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/QueueItem'
currentPage:
type: integer
lastPage:
type: integer
nextPage:
type:
- integer
- 'null'
total:
type: integer
nextItemId:
type:
- integer
- 'null'
nextPublishTime:
type:
- string
- 'null'
QueueListResponse:
type: array
items:
$ref: '#/components/schemas/Queue'
Queue:
type: object
properties:
id:
type: integer
name:
type: string
user_id:
type: integer
user_name:
type: string
options:
type:
- object
- 'null'
additionalProperties: true
team_id:
type:
- integer
- 'null'
active:
type: boolean
times_to_publish:
type:
- integer
- 'null'
next_publish_at:
type:
- string
- 'null'
started_at:
type:
- string
- 'null'
ended_at:
type:
- string
- 'null'
created_at:
type:
- string
- 'null'
updated_at:
type:
- string
- 'null'
need_cleanup:
type: boolean
QueuePostCreateRequest:
type: object
required:
- accounts
properties:
accounts:
type: array
description: ID(s) of one or more social media accounts used to validate queue post options.
items:
type: integer
content:
type: string
description: The content to save into the queue.
queue_position:
type: string
enum:
- end
- start
default: end
description: Where to insert the post. Start places it first and makes it publish next, then resumes the previous rotation.
options:
type: object
description: Queue post options. Can be a shared options object or keyed by account ID.
additionalProperties: true
existing_attachments:
type: array
description: Attachments already uploaded to SocialBu's storage using media upload endpoint.
items:
$ref: '#/components/schemas/UploadedMediaTokenAttachment'
QueueItem:
type: object
additionalProperties: true
description: A queue item object as returned by the queue posts endpoint.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: 'Send your SocialBu API token in the `Authorization` header:
`Authorization: Bearer YOUR_API_TOKEN`
'