ADMI ENTERPRISES s.r.o. Accounts API
The connected social accounts and what each allows.
The connected social accounts and what each allows.
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/preflight-social:preflight-social-accounts-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: Preflight Accounts API
version: 2026.10.24
summary: Schedule, validate and publish social media posts to twelve networks.
description: 'Preflight (preflight.social) is a social media scheduler that checks every post against each network''s real publishing rules before it leaves. This is its REST API: upload a file, create and schedule a post to YouTube, TikTok, Instagram, Facebook, Threads, LinkedIn, Pinterest, Bluesky, Mastodon, Telegram, Discord and Tumblr, read its figures, act on comments, edit or take it down. The same workspace is reachable by AI assistants over MCP at https://preflight.social/mcp. Prose documentation: https://preflight.social/documentation. API keys, webhooks and the MCP server come with every plan, Free included.'
termsOfService: https://preflight.social/terms
contact:
name: Preflight
url: https://preflight.social
email: info@preflight.social
servers:
- url: https://preflight.social/v1
security:
- apiKey: []
tags:
- name: Accounts
description: The connected social accounts and what each allows.
paths:
/oauth/accounts:
get:
tags:
- Accounts
operationId: listAccounts
summary: Connected accounts, with their zone and what the plan allows
description: Accounts are connected and disconnected in the app, not over the API. Scope posts:read.
responses:
'200':
description: Accounts.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Account'
'401':
$ref: '#/components/responses/Unauthorized'
/oauth/audience:
get:
tags:
- Accounts
operationId: audience
summary: Followers per account as daily readings
parameters:
- name: days
in: query
schema:
type: integer
minimum: 1
maximum: 730
default: 30
responses:
'200':
description: One series per account whose network reports followers.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
additionalProperties: true
'401':
$ref: '#/components/responses/Unauthorized'
/oauth/accounts/{id}/boards:
parameters:
- $ref: '#/components/parameters/accountId'
get:
tags:
- Accounts
operationId: pinterestBoards
summary: A Pinterest account's boards
description: 'Every pin needs one: pass its id as pinterest.boardId.'
responses:
'200':
description: Boards.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
/oauth/accounts/{id}/youtube/playlists:
parameters:
- $ref: '#/components/parameters/accountId'
get:
tags:
- Accounts
operationId: youtubePlaylists
summary: A YouTube channel's playlists
responses:
'200':
description: Playlists.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
title:
type: string
privacy:
type: string
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
post:
tags:
- Accounts
operationId: createYoutubePlaylist
summary: Create a playlist on the channel
description: A playlist of the same name that already exists is returned instead. Scope posts:publish.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- title
properties:
title:
type: string
privacy:
type: string
enum:
- public
- unlisted
- private
default: public
responses:
'201':
description: Created, or the existing one.
content:
application/json:
schema:
type: object
properties:
id:
type: string
title:
type: string
privacy:
type: string
duplicate:
type: boolean
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
/oauth/accounts/{id}/tiktok/creator:
parameters:
- $ref: '#/components/parameters/accountId'
get:
tags:
- Accounts
operationId: tiktokCreatorInfo
summary: What this TikTok creator may use right now
description: The privacy levels tiktok.privacy must be one of, whether comments, duets and stitches are off, and the longest video. TikTok asks for this before every post.
responses:
'200':
description: The creator's settings.
content:
application/json:
schema:
type: object
properties:
privacyLevels:
type: array
items:
type: string
commentDisabled:
type: boolean
duetDisabled:
type: boolean
stitchDisabled:
type: boolean
maxVideoDurationSeconds:
type: integer
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
/oauth/accounts/{id}/mentions:
parameters:
- $ref: '#/components/parameters/accountId'
- name: q
in: query
required: true
schema:
type: string
get:
tags:
- Accounts
operationId: searchMentions
summary: Handles to mention, where the network offers a lookup
responses:
'200':
description: Matches.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
handle:
type: string
name:
type: string
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
components:
responses:
BadRequest:
description: The body did not validate (invalid_request; field says which).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: No such post, file or account in this workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing, expired or unrecognised key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Conflict:
description: Not possible in the current state, or the network does not allow it.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Forbidden:
description: The key lacks the scope for this call.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
ValidationIssue:
type: object
required:
- severity
- message
properties:
platform:
$ref: '#/components/schemas/Platform'
description: Absent for a problem with the post as a whole, such as a file.
severity:
type: string
enum:
- error
- warning
message:
type: string
code:
type: string
description: 'For a plan limit: post_limit, upload_limit or channel_limit.'
Platform:
type: string
enum:
- youtube
- tiktok
- instagram
- facebook
- threads
- twitter
- linkedin
- pinterest
- bluesky
- mastodon
- telegram
- discord
- tumblr
description: A network's name. twitter (X) is text-only and not offered to new accounts.
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
description: 'Stable: invalid_request, unauthorized, forbidden, not_found, post_limit, upload_limit, file_too_large, channel_limit, api_not_on_plan, ai_limit, ai_daily_limit, ai_not_in_plan, account_not_connected, media_unusable, already_started, targets_locked, in_flight, nothing_to_retry, nothing_waiting, unsupported, not_published, in_use, video_on_youtube, payload_too_large, validation_failed, ai_declined, rate_limited, ai_unavailable.'
message:
type: string
description: Meant to be read by a person.
field:
type: string
description: 'For invalid_request: which field.'
limit:
type: integer
description: 'For a plan refusal: the allowance.'
upgradeTo:
type: string
description: 'For a plan refusal: the first plan that would allow it.'
issues:
type: array
items:
$ref: '#/components/schemas/ValidationIssue'
description: For validation_failed.
Account:
type: object
properties:
id:
type: string
format: uuid
platform:
$ref: '#/components/schemas/Platform'
username:
type:
- string
- 'null'
displayName:
type:
- string
- 'null'
avatarUrl:
type:
- string
- 'null'
connection:
type:
- string
- 'null'
description: 'Instagram: direct or via_page.'
canDeleteRemote:
type: boolean
needsReconnect:
type: boolean
paused:
type: boolean
description: Connected, but beyond what the plan covers.
timezone:
type:
- string
- 'null'
description: IANA zone the channel's schedule is read in.
parameters:
accountId:
name: id
in: path
required: true
schema:
type: string
format: uuid
description: A connected account's id, from GET /oauth/accounts.
securitySchemes:
apiKey:
type: http
scheme: bearer
bearerFormat: sk_live_…
description: 'An API key from Settings → API keys (every plan). Scopes: posts:read, posts:write (drafts), posts:publish (anything that goes live), media:read, media:write, webhooks:read, webhooks:write, or * for everything. A missing scope answers 403 forbidden and names it.'
externalDocs:
description: Documentation
url: https://preflight.social/documentation