ADMI ENTERPRISES s.r.o. AI API
Captions per network and reviews of published posts.
Captions per network and reviews of published 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/preflight-social:preflight-social-ai-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 AI 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: AI
description: Captions per network and reviews of published posts.
paths:
/ai/captions:
post:
tags:
- AI
operationId: aiCaptions
summary: Rewrite a caption for each network named
description: 'Pro: 300 a month, Studio: 1,500. Scope posts:write.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- content
- platforms
properties:
content:
type: string
platforms:
type: array
minItems: 1
items:
$ref: '#/components/schemas/Platform'
responses:
'200':
description: One caption per network.
content:
application/json:
schema:
type: object
properties:
captions:
type: object
additionalProperties:
type: string
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'422':
description: 'ai_declined: the assistant would not write this.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
$ref: '#/components/responses/TooMany'
'503':
description: ai_unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/ai/review:
post:
tags:
- AI
operationId: aiReview
summary: What a published post's figures say to change next time
description: 'Pro: 500 a month, Studio: 2,500. The stored review is returned unless refresh is true.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- targetId
properties:
targetId:
type: string
format: uuid
refresh:
type: boolean
default: false
responses:
'200':
description: The review.
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooMany'
'503':
description: ai_unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/ai/review/{targetId}:
parameters:
- $ref: '#/components/parameters/targetId'
get:
tags:
- AI
operationId: getAiReview
summary: The last review of this target, free to read
responses:
'200':
description: The review, or null.
content:
application/json:
schema:
type: object
additionalProperties: true
'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'
TooMany:
description: Rate limited; retry after the Retry-After header.
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'
PaymentRequired:
description: 'The plan''s allowance: post_limit, upload_limit, file_too_large, channel_limit, api_not_on_plan, ai_limit, ai_daily_limit, ai_not_in_plan. Carries limit and upgradeTo.'
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.
parameters:
targetId:
name: targetId
in: path
required: true
schema:
type: string
format: uuid
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