PostOnce · Schema

Account

CompanySocial MediaAutomationMarketing

Properties

Name Type Description
id string
platform string
username string
avatar_url stringnull
status string
capabilities objectnull Discoverable account capabilities used by both the public API and generated MCP tools.
media_requirements objectnull Media input constraints from PostOnce's publishing validator. Check required_media before a text-only post. Platform-level guidance is not proof of current account authorization or delivery success. F
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

postonce-account-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/postonce/main/json-schema/postonce-account-schema.json",
  "title": "Account",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/postonce-api-openapi.json#/components/schemas/Account",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "platform": {
      "type": "string",
      "enum": [
        "bluesky",
        "facebook",
        "farcaster",
        "nostr",
        "telegram",
        "instagram",
        "linkedin",
        "pinterest",
        "reddit",
        "snapchat",
        "threads",
        "tiktok",
        "twitter",
        "vimeo",
        "youtube"
      ]
    },
    "username": {
      "type": "string"
    },
    "avatar_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "auth_required",
        "disconnected"
      ]
    },
    "capabilities": {
      "type": [
        "object",
        "null"
      ],
      "description": "Discoverable account capabilities used by both the public API and generated MCP tools.",
      "properties": {
        "connection_mode": {
          "type": "string"
        },
        "destination": {
          "type": "boolean"
        },
        "source": {
          "type": "boolean"
        },
        "backfill": {
          "type": "boolean"
        },
        "text": {
          "type": "boolean"
        },
        "images": {
          "type": "boolean"
        },
        "video": {
          "type": "boolean"
        },
        "replies": {
          "type": "boolean"
        },
        "threads": {
          "type": "boolean"
        }
      }
    },
    "media_requirements": {
      "type": [
        "object",
        "null"
      ],
      "description": "Media input constraints from PostOnce's publishing validator. Check required_media before a text-only post. Platform-level guidance is not proof of current account authorization or delivery success. Format conversions remain subject to processing limits.",
      "properties": {
        "supported_formats": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "convertible_formats": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "max_size_bytes": {
          "type": "object",
          "properties": {
            "image": {
              "type": "integer"
            },
            "video": {
              "type": "integer"
            },
            "gif": {
              "type": "integer"
            }
          }
        },
        "file_constraints": {
          "type": "object",
          "description": "maxFiles, maxVideoFiles, maxImageFiles, optional maxGifFiles, allowMixedMedia and optional gifBehavior.",
          "additionalProperties": true
        },
        "required_media": {
          "type": [
            "object",
            "null"
          ],
          "description": "When present: minFiles and acceptedTypes (image/video) define mandatory media, with errorCode and errorMessage.",
          "additionalProperties": true
        },
        "max_hashtags": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 0
        },
        "min_video_duration_seconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "max_video_duration_seconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "aspect_ratio": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": true
        },
        "thumbnail": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": true
        }
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}

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/postonce-account"
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. See our Privacy Policy and Terms.

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