Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: Breakreach Workspaces API
version: 1.1.0
description: 'Publish and schedule social media posts across Instagram, TikTok, X (Twitter), Reddit, LinkedIn, YouTube, Facebook, Threads, Bluesky, Pinterest, Telegram, Discord, Slack, Mastodon, WordPress, Ghost, Dev.to, Hashnode, Tumblr and Google Business Profile with one request shape.
Authenticate with an API key (create one in the Breakreach dashboard under Settings → API & MCP) sent as a Bearer token. Errors answer with an HTTP status and a JSON body { "error": "" }.
Every POST accepts an Idempotency-Key header: any unique string up to 255 characters, a UUID for instance. Retrying with the same key and the same body within 24 hours returns the first response, marked Idempotent-Replayed: true, instead of creating a second post. The same key with a different body answers 422, and 409 while the first request is still running. Errors are not kept, so a fixed request can reuse its key. Keys belong to the API key that sent them.
AI agents can use the same capabilities through the hosted MCP server at https://api.breakreach.com/mcp (OAuth 2.1).'
servers:
- url: https://api.breakreach.com
security:
- bearerAuth: []
tags:
- name: Workspaces
paths:
/v1/workspaces:
get:
summary: List workspaces
operationId: listWorkspaces
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
required:
- workspaces
properties:
workspaces:
type: array
items:
$ref: '#/components/schemas/Workspace'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
tags:
- Workspaces
post:
summary: Create a workspace
description: Creates a workspace owned by the API key's user, with the default posting schedule. A workspace per end customer keeps their accounts, posts and connect links apart. Counts toward the plan's workspace limit (100 on the Developer plan).
operationId: createWorkspace
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
properties:
name:
type: string
description: Up to 80 characters
timezone:
type: string
description: IANA timezone used to read scheduledAt, e.g. Europe/Paris (default UTC)
responses:
'200':
description: Created
content:
application/json:
schema:
type: object
required:
- workspace
properties:
workspace:
$ref: '#/components/schemas/Workspace'
'400':
description: Missing or too long name, unknown timezone
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
description: Workspace limit of the plan reached
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
$ref: '#/components/responses/IdempotencyRunning'
'422':
$ref: '#/components/responses/IdempotencyMismatch'
tags:
- Workspaces
components:
responses:
Unauthorized:
description: Missing, invalid or expired API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
IdempotencyRunning:
description: 'A request with this Idempotency-Key is still running: retry after Retry-After seconds to get its response'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
PaymentRequired:
description: No active Breakreach subscription or trial
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
IdempotencyMismatch:
description: This Idempotency-Key was already used with a different request in the last 24 hours
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable reason
Workspace:
type: object
required:
- slug
- name
- timezone
properties:
slug:
type: string
name:
type: string
timezone:
type: string
parameters:
IdempotencyKey:
name: Idempotency-Key
in: header
required: false
schema:
type: string
minLength: 1
maxLength: 255
description: 'A unique string for this request, e.g. a UUID. A retry with the same key and body within 24 hours returns the first response (with the header Idempotent-Replayed: true) instead of running again. Printable ASCII, no spaces.'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: API key from the Breakreach dashboard (br_...) or an OAuth access token (bro_...)