ADMI ENTERPRISES s.r.o. Validation API

The capability sheet and the dry run every post is checked with.

GitHub OpenAPI

Operations 2

GET /platforms The capability sheet: what each network accepts #
POST /platforms/validate Dry run: would each network accept this post? #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/preflight-social:preflight-social-validation-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

preflight-social-validation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Preflight Validation 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: Validation
  description: The capability sheet and the dry run every post is checked with.
paths:
  /platforms:
    get:
      tags:
      - Validation
      operationId: listPlatforms
      summary: 'The capability sheet: what each network accepts'
      description: No key needed. Character limits, media requirements, size and duration ceilings, what can be edited or deleted after publishing, and which figures each network reports.
      security: []
      responses:
        '200':
          description: One entry per network, keyed by platform.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    additionalProperties:
                      $ref: '#/components/schemas/PlatformCapabilities'
  /platforms/validate:
    post:
      tags:
      - Validation
      operationId: validatePost
      summary: 'Dry run: would each network accept this post?'
      description: 'The same checks POST /posts runs, without creating anything: text length the way each network counts it, hashtags, mentions, files, video length, fps, aspect ratio, per-network options and the plan''s allowance. Any scope.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - targets
              properties:
                content:
                  type: string
                mediaIds:
                  type: array
                  items:
                    type: string
                    format: uuid
                mediaItems:
                  type: array
                  maxItems: 35
                  items:
                    type: object
                    required:
                    - kind
                    properties:
                      kind:
                        type: string
                        enum:
                        - image
                        - video
                      sizeBytes:
                        type: integer
                      durationSeconds:
                        type: number
                      fps:
                        type: number
                      mimeType:
                        type: string
                      width:
                        type: integer
                      height:
                        type: integer
                  description: The files' facts, when they are not uploaded yet.
                altTexts:
                  type: array
                  items:
                    type:
                    - string
                    - 'null'
                targets:
                  type: array
                  minItems: 1
                  items:
                    $ref: '#/components/schemas/TargetInput'
      responses:
        '200':
          description: The issues, if any; ok is false when any is an error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  issues:
                    type: array
                    items:
                      $ref: '#/components/schemas/ValidationIssue'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    BadRequest:
      description: The body did not validate (invalid_request; field says which).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, expired or unrecognised key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    TargetInput:
      type: object
      required:
      - platform
      properties:
        platform:
          $ref: '#/components/schemas/Platform'
        accountId:
          type: string
          format: uuid
          description: Which connected account, when the workspace has several for one network.
        options:
          type: object
          additionalProperties: true
          description: 'Per-network settings: youtube.title, tags, categoryId, privacy, playlistId, thumbnailMediaId, subtitles, firstComment; tiktok.privacy (required), allowComments, asDraft; instagram.placement (feed, reel, story), shareToFeed, collaborators; facebook.asReel, firstComment; threads.poll, thread; pinterest.boardId (required), title; bluesky/mastodon/twitter.thread; mastodon.visibility, spoilerText; discord.threadName; tumblr.tags; linkedin.firstComment; boost {afterLikes, withinHours, reply, repost} on Bluesky, Mastodon, Threads, Facebook, Instagram and YouTube; utm {campaign, skipHosts} or true on any network, tagging the links with utm_source, utm_medium=social and utm_campaign; caption to override the text for this network. See /documentation#options.'
    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.
    PlatformCapabilities:
      type: object
      description: What one network accepts, as GET /platforms reports it.
      properties:
        platform:
          $ref: '#/components/schemas/Platform'
        name:
          type: string
        charLimit:
          type: integer
        requiresMedia:
          type: string
          enum:
          - none
          - image
          - video
          - image_or_video
        supportsImage:
          type: boolean
        supportsVideo:
          type: boolean
        allowsEmptyText:
          type: boolean
        maxMediaPerPost:
          type: integer
        maxImageBytes:
          type: integer
        maxVideoBytes:
          type: integer
        minVideoDurationSeconds:
          type: number
        maxVideoDurationSeconds:
          type: number
        minVideoFps:
          type: number
        maxVideoFps:
          type: number
        supportsThread:
          type: boolean
        supportsAltText:
          type: boolean
        supportsThumbnail:
          type: boolean
        supportsFirstComment:
          type: boolean
        canEditRemote:
          type: boolean
        canDeleteRemote:
          type: boolean
        canReadComments:
          type: boolean
        reportsFollowers:
          type: boolean
        metricFields:
          type: array
          items:
            type: string
        notes:
          type: string
  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