Berkway Group Limited Posts API
The Posts API from Berkway Group Limited — 4 operation(s) for posts.
The Posts API from Berkway Group Limited — 4 operation(s) for posts.
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/postbase-so:postbase-so-posts-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:
title: Postbase Posts API
version: 1.0.0
description: 'Schedule and manage social posts on X, LinkedIn, Bluesky, Mastodon and YouTube. Authenticate with an API key from Postbase → Developers, sent as `Authorization: Bearer pb_live_…`.'
contact:
url: https://www.postbase.so
license:
name: AGPL-3.0
identifier: AGPL-3.0-only
servers:
- url: https://www.postbase.so/api/v1
security:
- bearerAuth: []
tags:
- name: Posts
paths:
/posts:
get:
summary: List posts
operationId: listPosts
tags:
- Posts
parameters:
- name: status
in: query
schema:
type: string
enum:
- draft
- scheduled
- publishing
- published
- failed
responses:
'200':
description: Up to 100 posts
content:
application/json:
schema:
type: object
properties:
posts:
type: array
items:
$ref: '#/components/schemas/PostSummary'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
post:
summary: Create a post
description: Save a draft, or schedule a post or thread. Send an Idempotency-Key so a retry can't post twice.
operationId: createPost
tags:
- Posts
parameters:
- name: Idempotency-Key
in: header
schema:
type: string
maxLength: 255
description: Repeat a request with the same key to get the first post back instead of a new one.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
body:
type: string
description: The post text, for a single post.
thread:
type: array
items:
type: string
description: Several posts to publish as a thread, in order. Takes precedence over body.
channel_ids:
type: array
items:
type: string
format: uuid
description: Channels to publish to, from GET /channels.
channel_bodies:
type: object
additionalProperties:
type: string
description: Text for particular channels instead of body, keyed by channel id. Each is a single post.
scheduled_at:
type:
- string
- 'null'
description: 'When to publish: ISO 8601 with Z or an offset (2026-10-01T09:00:00+01:00). Omit or null to save a draft.'
format: date-time
schedule_in_minutes:
type: number
description: Publish this many minutes from now, on the server's clock. Instead of scheduled_at.
media_ids:
type: array
items:
type: string
format: uuid
description: Files from GET /media to attach, in order.
media_urls:
type: array
items:
type: string
format: uri
description: Public https links to images or a video, attached after media_ids. Each is downloaded into the media library (up to 10 per request, 200 MB each).
maxItems: 10
youtube:
type: object
properties:
title:
type: string
maxLength: 100
privacy:
type: string
enum:
- public
- unlisted
- private
made_for_kids:
type: boolean
description: Required to schedule to YouTube.
idempotency_key:
type: string
maxLength: 255
description: Same as the Idempotency-Key header.
example:
body: Launching today 🚀
channel_ids:
- <channel-id>
scheduled_at: '2026-10-01T09:00:00+01:00'
responses:
'201':
description: Created
content:
application/json:
schema:
type: object
properties:
post:
$ref: '#/components/schemas/CreatedPost'
'200':
description: A repeat of an earlier request (same idempotency key)
content:
application/json:
schema:
type: object
properties:
post:
$ref: '#/components/schemas/CreatedPost'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: No active plan
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/posts/{id}:
get:
summary: Get a post
description: The post and each channel's status, live URL, error and latest metrics.
operationId: getPost
tags:
- Posts
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: The post
content:
application/json:
schema:
type: object
properties:
post:
$ref: '#/components/schemas/Post'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
patch:
summary: Edit a post
description: Edit or reschedule a draft or scheduled post. Only the fields you send change; scheduled_at null turns it into a draft.
operationId: updatePost
tags:
- Posts
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
body:
type: string
description: The post text, for a single post.
thread:
type: array
items:
type: string
description: Several posts to publish as a thread, in order. Takes precedence over body.
channel_ids:
type: array
items:
type: string
format: uuid
description: Channels to publish to, from GET /channels.
channel_bodies:
type: object
additionalProperties:
type: string
description: Text for particular channels instead of body, keyed by channel id. Each is a single post.
scheduled_at:
type:
- string
- 'null'
description: 'When to publish: ISO 8601 with Z or an offset (2026-10-01T09:00:00+01:00). Omit or null to save a draft.'
format: date-time
schedule_in_minutes:
type: number
description: Publish this many minutes from now, on the server's clock. Instead of scheduled_at.
media_ids:
type: array
items:
type: string
format: uuid
description: Files from GET /media to attach, in order.
media_urls:
type: array
items:
type: string
format: uri
description: Public https links to images or a video, attached after media_ids. Each is downloaded into the media library (up to 10 per request, 200 MB each).
maxItems: 10
youtube:
type: object
properties:
title:
type: string
maxLength: 100
privacy:
type: string
enum:
- public
- unlisted
- private
made_for_kids:
type: boolean
description: Required to schedule to YouTube.
example:
scheduled_at: '2026-10-02T09:00:00+01:00'
responses:
'200':
description: The edited post
content:
application/json:
schema:
type: object
properties:
post:
$ref: '#/components/schemas/Post'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: No active plan
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict with the post's state
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/posts/{id}/cancel:
post:
summary: Cancel a post
description: Stop a scheduled post; it goes back to being a draft.
operationId: cancelPost
tags:
- Posts
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Cancelled
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
id:
type: string
still_sending:
type: integer
description: Channels already mid-send, which will finish
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict with the post's state
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/posts/{id}/retry:
post:
summary: Retry a post
description: Send the post again to the channels where it failed. Channels that published are left alone.
operationId: retryPost
tags:
- Posts
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'202':
description: Retrying
content:
application/json:
schema:
type: object
properties:
id:
type: string
retrying:
type: array
items:
type: string
description: Channel ids being sent again
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: No active plan
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Conflict with the post's state
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
webhooks:
post.published:
post:
summary: post.published
description: The post went out on every channel.
parameters:
- name: Postbase-Event-Id
in: header
schema:
type: string
- name: Postbase-Event-Type
in: header
schema:
type: string
- name: Postbase-Timestamp
in: header
schema:
type: string
description: Unix seconds
- name: Postbase-Signature
in: header
schema:
type: string
description: sha256=<hex HMAC-SHA256 of `${timestamp}.${raw body}` with the endpoint's secret>
requestBody:
required: true
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/WebhookEvent'
- type: object
properties:
data:
type: object
properties:
post:
$ref: '#/components/schemas/Post'
responses:
'200':
description: Return any 2xx within 10 seconds. Anything else is retried with backoff (1 min, 5 min, 30 min, 2 h, 6 h).
tags:
- Posts
post.partial:
post:
summary: post.partial
description: The post went out on some channels and failed on others (no more automatic retries).
parameters:
- name: Postbase-Event-Id
in: header
schema:
type: string
- name: Postbase-Event-Type
in: header
schema:
type: string
- name: Postbase-Timestamp
in: header
schema:
type: string
description: Unix seconds
- name: Postbase-Signature
in: header
schema:
type: string
description: sha256=<hex HMAC-SHA256 of `${timestamp}.${raw body}` with the endpoint's secret>
requestBody:
required: true
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/WebhookEvent'
- type: object
properties:
data:
type: object
properties:
post:
$ref: '#/components/schemas/Post'
responses:
'200':
description: Return any 2xx within 10 seconds. Anything else is retried with backoff (1 min, 5 min, 30 min, 2 h, 6 h).
tags:
- Posts
post.failed:
post:
summary: post.failed
description: The post failed on every channel (no more automatic retries).
parameters:
- name: Postbase-Event-Id
in: header
schema:
type: string
- name: Postbase-Event-Type
in: header
schema:
type: string
- name: Postbase-Timestamp
in: header
schema:
type: string
description: Unix seconds
- name: Postbase-Signature
in: header
schema:
type: string
description: sha256=<hex HMAC-SHA256 of `${timestamp}.${raw body}` with the endpoint's secret>
requestBody:
required: true
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/WebhookEvent'
- type: object
properties:
data:
type: object
properties:
post:
$ref: '#/components/schemas/Post'
responses:
'200':
description: Return any 2xx within 10 seconds. Anything else is retried with backoff (1 min, 5 min, 30 min, 2 h, 6 h).
tags:
- Posts
channel.needs_reconnect:
post:
summary: channel.needs_reconnect
description: A channel lost access (revoked or expired) and needs reconnecting in Postbase.
parameters:
- name: Postbase-Event-Id
in: header
schema:
type: string
- name: Postbase-Event-Type
in: header
schema:
type: string
- name: Postbase-Timestamp
in: header
schema:
type: string
description: Unix seconds
- name: Postbase-Signature
in: header
schema:
type: string
description: sha256=<hex HMAC-SHA256 of `${timestamp}.${raw body}` with the endpoint's secret>
requestBody:
required: true
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/WebhookEvent'
- type: object
properties:
data:
type: object
properties:
channel:
type: object
properties:
id:
type: string
platform:
type: string
handle:
type:
- string
- 'null'
status:
type: string
error:
type: string
responses:
'200':
description: Return any 2xx within 10 seconds. Anything else is retried with backoff (1 min, 5 min, 30 min, 2 h, 6 h).
tags:
- Posts
components:
schemas:
Error:
type: object
properties:
error:
type: string
description: A readable message
code:
type: string
description: A stable code, e.g. not_found
required:
- error
WebhookEvent:
type: object
properties:
id:
type: string
format: uuid
description: 'Unique per event: use it to ignore repeats'
type:
type: string
created_at:
type: string
format: date-time
workspace_id:
type: string
format: uuid
data:
type: object
required:
- id
- type
- created_at
- data
CreatedPost:
type: object
properties:
id:
type: string
format: uuid
body:
type: string
scheduled_at:
type:
- string
- 'null'
format: date-time
status:
type: string
enum:
- draft
- scheduled
- publishing
- published
- failed
media:
type: integer
description: How many files are attached
warning:
type: string
description: Something to tell the user, such as X charging for links
idempotent_replay:
type: boolean
description: True when this repeats an earlier request with the same idempotency key
required:
- id
- status
Post:
type: object
properties:
id:
type: string
format: uuid
status:
type: string
enum:
- draft
- scheduled
- publishing
- published
- failed
body:
type: string
thread:
type: array
items:
type: string
scheduled_at:
type:
- string
- 'null'
format: date-time
created_at:
type: string
format: date-time
media:
type: array
items:
type: object
properties:
url:
type: string
format: uri
type:
type: string
channels:
type: array
items:
$ref: '#/components/schemas/PostChannel'
summary:
type: object
properties:
published:
type: integer
failed:
type: integer
pending:
type: integer
warning:
type: string
required:
- id
- status
- channels
PostSummary:
type: object
properties:
id:
type: string
format: uuid
body:
type: string
scheduled_at:
type:
- string
- 'null'
format: date-time
status:
type: string
post_targets:
type: array
items:
type: object
properties:
channel_id:
type: string
status:
type: string
PostChannel:
type: object
properties:
channel_id:
type: string
format: uuid
platform:
type:
- string
- 'null'
handle:
type:
- string
- 'null'
status:
type: string
enum:
- draft
- scheduled
- publishing
- published
- failed
url:
type:
- string
- 'null'
format: uri
description: The live post, once published
error:
type:
- string
- 'null'
description: Why it failed
warning:
type:
- string
- 'null'
description: It published, with something to know
retry_at:
type:
- string
- 'null'
format: date-time
description: When Postbase will retry a failed channel on its own
body:
type:
- string
- 'null'
description: This channel's own text, if any
metrics:
type:
- object
- 'null'
additionalProperties:
type: number
description: Latest likes, impressions, etc.
required:
- channel_id
- status
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: A pb_live_ API key