PostNext · Schema

CreatePostRequest

`userId` and `teamId` are derived from the API key and must not be sent.

CompanySocial MediaArtificial IntelligenceSchedulingAutomation

Properties

Name Type Description
providers object Map keyed by provider name (for example `twitter`) or `provider:channelHandle` for multi-account posting.
title string
description string
imageUrl string
tags array
assigneeId string
watchers array
timezone string IANA timezone, used with recurrence.
recurrence objectnull Optional repeat rule. On a save of an existing post (`PUT /api/posts/{groupId}`, `PUT /api/posts/{groupId}/schedule`, `PUT /api/posts/{groupId}/publish`, `POST /api/posts/{postId}/schedule`), `null` s
View JSON Schema on GitHub

JSON Schema

postnext-io-create-post-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postnext-io/json-schema/postnext-io-create-post-request-schema.json",
  "title": "CreatePostRequest",
  "description": "`userId` and `teamId` are derived from the API key and must not be sent.\n",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postnext-io-openapi.json#/components/schemas/CreatePostRequest",
  "type": "object",
  "required": [
    "providers"
  ],
  "properties": {
    "providers": {
      "type": "object",
      "description": "Map keyed by provider name (for example `twitter`) or\n`provider:channelHandle` for multi-account posting.\n",
      "additionalProperties": {
        "$ref": "#/$defs/ProviderEntry"
      }
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "imageUrl": {
      "type": "string",
      "format": "uri"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "assigneeId": {
      "type": "string"
    },
    "watchers": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "timezone": {
      "type": "string",
      "description": "IANA timezone, used with recurrence."
    },
    "recurrence": {
      "type": [
        "object",
        "null"
      ],
      "description": "Optional repeat rule. On a save of an existing post (`PUT /api/posts/{groupId}`,\n`PUT /api/posts/{groupId}/schedule`, `PUT /api/posts/{groupId}/publish`,\n`POST /api/posts/{postId}/schedule`), `null` stops the post's repeat series, the\nsame as `PATCH /api/posts/{groupId}/recurrence/stop`; posts the series already\ncreated stay. Omitted leaves the series unchanged. Sending the stored settings\nagain keeps the series as it is (same count and status).\n"
    }
  },
  "$defs": {
    "LegacyPostContent": {
      "type": "object",
      "description": "Single-post content (an object).",
      "properties": {
        "text": {
          "type": "string"
        },
        "mediaUrls": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uri"
          }
        },
        "mediaType": {
          "type": "string",
          "enum": [
            "IMAGE",
            "VIDEO",
            "GIF",
            "CAROUSEL"
          ]
        },
        "hashtags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "assetIds": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "instagramPostType": {
          "type": "string",
          "enum": [
            "feed",
            "post",
            "story",
            "reel"
          ]
        }
      }
    },
    "MediaItem": {
      "type": "object",
      "required": [
        "url",
        "type"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "type": {
          "type": "string",
          "enum": [
            "IMAGE",
            "VIDEO",
            "GIF"
          ]
        },
        "assetId": {
          "type": "string"
        },
        "thumbnail": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "PostContent": {
      "description": "Either a single LegacyPostContent object, or an array of ThreadPost for a\nmulti-part thread (twitter/threads).\n",
      "oneOf": [
        {
          "$ref": "#/$defs/LegacyPostContent"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ThreadPost"
          }
        }
      ]
    },
    "ProviderEntry": {
      "type": "object",
      "required": [
        "channelName",
        "content"
      ],
      "properties": {
        "channelName": {
          "type": "string"
        },
        "providerId": {
          "type": "string",
          "description": "SocialAccount uniqueId. Required for publishing."
        },
        "content": {
          "$ref": "#/$defs/PostContent"
        },
        "firstComment": {
          "type": "string",
          "description": "Honored only for instagram and linkedin channels."
        }
      }
    },
    "ThreadPost": {
      "type": "object",
      "required": [
        "order"
      ],
      "properties": {
        "order": {
          "type": "integer",
          "description": "1-based sequential position, no gaps."
        },
        "text": {
          "type": "string"
        },
        "media": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MediaItem"
          }
        },
        "hashtags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "assetIds": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

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/postnext-io-create-post-request"
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.