Post

Social MediaSchedulerMarketingAutomation

Properties

Name Type Description
id string
status string
content string
linkUrl stringnull
mediaIds array
altTexts array
scheduledAt stringnull
approvalState stringnull pending, approved or changes when a client approval link exists.
repeat objectnull Null unless it repeats: everyDays, times, index (which time this is, from 0), variants (the wordings after this post's own, in order) and seriesId (the first post of the series).
tags array
openNotes integer Threads in the post's notes nobody has resolved.
createdAt string
updatedAt string
targets array
View JSON Schema on GitHub

JSON Schema

preflight-social-post-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/preflight-social/json-schema/preflight-social-post-schema.json",
  "title": "Post",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/preflight-social-openapi.json#/components/schemas/Post",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "scheduled",
        "publishing",
        "done",
        "canceled"
      ]
    },
    "content": {
      "type": "string"
    },
    "linkUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "mediaIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "altTexts": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "scheduledAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "approvalState": {
      "type": [
        "string",
        "null"
      ],
      "description": "pending, approved or changes when a client approval link exists."
    },
    "repeat": {
      "type": [
        "object",
        "null"
      ],
      "description": "Null unless it repeats: everyDays, times, index (which time this is, from 0), variants (the wordings after this post's own, in order) and seriesId (the first post of the series)."
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "openNotes": {
      "type": "integer",
      "description": "Threads in the post's notes nobody has resolved."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "targets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Target"
      }
    }
  },
  "$defs": {
    "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."
    },
    "Tag": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "color": {
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$"
        },
        "posts": {
          "type": "integer",
          "description": "How many posts carry it. Only in the list."
        }
      }
    },
    "Target": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "platform": {
          "$ref": "#/$defs/Platform"
        },
        "accountId": {
          "type": "string",
          "format": "uuid"
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "publishing",
            "published",
            "failed",
            "skipped"
          ]
        },
        "remoteId": {
          "type": [
            "string",
            "null"
          ]
        },
        "remoteUrl": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "publishedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "error": {
          "type": [
            "string",
            "null"
          ]
        },
        "errorCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "errorPermanent": {
          "type": "boolean",
          "description": "Retrying cannot succeed without changing something."
        },
        "attempts": {
          "type": "integer"
        },
        "nextAttemptAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "canEditRemote": {
          "type": "boolean"
        },
        "canDeleteRemote": {
          "type": "boolean"
        },
        "options": {
          "type": "object",
          "additionalProperties": true
        },
        "boostState": {
          "type": [
            "object",
            "null"
          ],
          "description": "Where options.boost stands: checkedAt and likes as last read; doneAt once it ran, with replyId and reposted, or expired when the window passed first."
        },
        "metrics": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": true,
          "description": "The latest figures, with fetchedAt."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/preflight-social-post"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.