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 Accounts 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: Accounts
paths:
/v1/accounts:
get:
summary: List connected social accounts
description: Returns the connected accounts of the workspace. Use the returned ids as accountIds when creating posts.
operationId: listAccounts
parameters:
- name: workspace
in: query
schema:
type: string
description: Workspace slug (defaults to your first workspace)
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
required:
- accounts
properties:
accounts:
type: array
items:
$ref: '#/components/schemas/Account'
message:
type: string
description: 'Present only when no account is connected: explains how to connect one, with the link to the workspace settings'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
description: Workspace not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Accounts
/v1/accounts/stats:
get:
summary: Account-level stats
description: Follower counts and account-level totals for every connected account, where the platform exposes them. Cached up to 1 hour.
operationId: getAccountStats
parameters:
- name: workspace
in: query
schema:
type: string
responses:
'200':
description: OK
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
description: Workspace not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Accounts
/v1/accounts/trends:
get:
summary: Daily account trends
description: 'Daily account-level insights over the last N days (max 90): Facebook Pages (views, engagement, total followers), Instagram (reach) and Threads (views), with a summary per account. Cached up to 1 hour.'
operationId: getAccountTrends
parameters:
- name: days
in: query
schema:
type: integer
minimum: 1
maximum: 90
default: 30
- name: accountId
in: query
schema:
type: string
- name: refresh
in: query
schema:
type: boolean
- name: workspace
in: query
schema:
type: string
responses:
'200':
description: OK
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
description: Workspace not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Accounts
components:
responses:
Unauthorized:
description: Missing, invalid or expired API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
PaymentRequired:
description: No active Breakreach subscription or trial
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Forbidden:
description: Not a member of the requested workspace
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Account:
type: object
required:
- id
- platform
- displayName
properties:
id:
type: string
platform:
type: string
enum:
- instagram
- tiktok
- x
- reddit
- linkedin
- youtube
- facebook
- threads
- bluesky
- pinterest
- telegram
- discord
- slack
- mastodon
- wordpress
- ghost
- devto
- hashnode
- tumblr
- googlebusiness
displayName:
type: string
warning:
type: string
description: 'Present when the account''s authorization has expired, was revoked on the network''s side, or expires soon (LinkedIn lasts about 60 days): the user must reconnect it in Breakreach settings'
Error:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable reason
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: API key from the Breakreach dashboard (br_...) or an OAuth access token (bro_...)