TokPortal · Schema

BatchConfigureVideosRequest

TikTokInstagramAccount CreationContent PublishingAnalyticsSocial DistributionWorkflow Integration

Properties

Name Type Description
videos array Slots to configure. Each entry is validated and applied independently: the call answers HTTP 200 even when some or all entries fail, so read configured, results and errors[] rather than the status cod
auto_publish boolean Publish the bundle in the same call once at least one row has been configured. TOP-LEVEL ONLY on this endpoint: one publish attempt per call, applying to every video in it. auto_publish inside videos[
View JSON Schema on GitHub

JSON Schema

tokportal-com-batch-configure-videos-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tokportal-com/json-schema/tokportal-com-batch-configure-videos-request-schema.json",
  "title": "BatchConfigureVideosRequest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tokportal-com-openapi.json#/components/schemas/BatchConfigureVideosRequest",
  "type": "object",
  "required": [
    "videos"
  ],
  "properties": {
    "videos": {
      "type": "array",
      "minItems": 1,
      "maxItems": 500,
      "description": "Slots to configure. Each entry is validated and applied independently: the call answers HTTP 200 even when some or all entries fail, so read configured, results and errors[] rather than the status code.",
      "items": {
        "type": "object",
        "required": [
          "video_type",
          "target_publish_date",
          "position"
        ],
        "properties": {
          "video_type": {
            "type": "string",
            "enum": [
              "video",
              "carousel",
              "story"
            ]
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2200,
            "description": "Required for 'video' and 'carousel'. Stories have no description."
          },
          "target_publish_date": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "YYYY-MM-DD. This is the FIRST day of a 2-day publishing window, not a fixed date: the manager may post on this day or the next. The end day is derived — always this day + 1 — and cannot be chosen here; sending target_publish_end_date is rejected. Every video response returns the resulting window as target_publish_start_date / target_publish_end_date (target_publish_date is an alias of the start). Max 3 videos per day per bundle — a 4th video on the same day is rejected with VIDEOS_PER_DAY_EXCEEDED. Minimum lead time, in UTC: the earliest allowed date is today+3 days while the bundle is still having its account created, and today+1 once that account is delivered or when the bundle runs on an existing account; an earlier date is rejected with INVALID_DATE carrying min_days_ahead and earliest_allowed (YYYY-MM-DD)."
          },
          "name": {
            "type": "string",
            "maxLength": 200
          },
          "video_url": {
            "type": "string",
            "format": "uri",
            "description": "Required for video_type 'video'. Use the public_url returned by uploadVideo / uploadVideoDirect."
          },
          "carousel_images": {
            "type": "array",
            "minItems": 1,
            "maxItems": 20,
            "items": {
              "type": "string",
              "format": "uri"
            },
            "description": "Required for video_type 'carousel'. Use each image upload response's public_url. Relative storage_path values are not valid URLs."
          },
          "carousel_title": {
            "type": "string",
            "maxLength": 200
          },
          "story_image_url": {
            "type": "string",
            "format": "uri",
            "description": "Story image (TikTok/Instagram). Provide exactly one of video_url or story_image_url for a story."
          },
          "story_repost_url": {
            "type": "string",
            "format": "uri",
            "description": "Optional. Make the story repost an existing post from the SAME platform (TikTok story → tiktok.com, Instagram story → instagram.com). Costs +1 credit."
          },
          "tiktok_sound_url": {
            "type": "string",
            "format": "uri",
            "description": "TikTok bundles only. On any other platform it is accepted but not stored, and comes back in the response's ignored_fields. REQUIRED for a TikTok carousel (MISSING_FIELD otherwise), optional for a TikTok video."
          },
          "volume_original_sound": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 200,
            "description": "Playback volume of the clip's own audio, as a percentage; 100 leaves it unchanged. PAID OPTION: setting either volume field costs +1 credit per video, charged once when it is first set and never refunded."
          },
          "volume_added_sound": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 200,
            "description": "Playback volume of the added sound on TokPortal's 0-200 scale; 100 is the default level. TikTok with a custom sound requires at least 5: 0-4 are rejected because muting may remove the sound. Null omits the volume instruction. Instagram still allows 0. PAID OPTION: setting either volume field costs +1 credit per video, charged once when it is first set and never refunded."
          },
          "editing_instructions": {
            "type": "string",
            "maxLength": 5000
          },
          "external_ref": {
            "type": "string",
            "maxLength": 200
          },
          "instagram_content_type": {
            "type": "string",
            "enum": [
              "reel",
              "post"
            ],
            "description": "REQUIRED for every Instagram slot that is not a story (MISSING_FIELD otherwise). Instagram bundles only. On any other platform it is accepted but not stored, and comes back in the response's ignored_fields."
          },
          "instagram_location": {
            "type": "string",
            "maxLength": 200,
            "description": "Instagram bundles only. On any other platform it is accepted but not stored, and comes back in the response's ignored_fields."
          },
          "instagram_collaborators": {
            "type": "array",
            "maxItems": 5,
            "items": {
              "type": "string"
            },
            "description": "Instagram bundles only. On any other platform it is accepted but not stored, and comes back in the response's ignored_fields."
          },
          "instagram_audio_name": {
            "type": "string",
            "maxLength": 200,
            "description": "Instagram bundles only. On any other platform it is accepted but not stored, and comes back in the response's ignored_fields."
          },
          "instagram_add_to_story": {
            "type": "boolean",
            "description": "Instagram bundles only. On any other platform it is accepted but not stored, and comes back in the response's ignored_fields."
          },
          "ai_content_disclaimer": {
            "type": "boolean",
            "description": "AI content notice (free). If true, the manager will enable the platform's AI-generated content label when posting."
          },
          "disclose_as_ads": {
            "type": "boolean",
            "description": "Disclose as ad (free). If true, the manager will enable branded-content/paid-partnership disclosure (or add #ad) when posting."
          },
          "instant_repost_as_story": {
            "type": "boolean",
            "description": "Instant repost as story (paid, +1 credit charged once when first enabled, no refunds). Right after posting, the manager reposts this video as a story and provides a screenshot proof. Only for video_type 'video' on TikTok/Instagram bundles. Omit to keep the current value."
          },
          "youtube_title": {
            "type": "string",
            "maxLength": 200,
            "description": "YouTube bundles only. On any other platform it is accepted but not stored, and comes back in the response's ignored_fields. YouTube bundles cannot currently be created (YOUTUBE_DELAYED)."
          },
          "youtube_tags": {
            "type": "array",
            "maxItems": 30,
            "items": {
              "type": "string"
            },
            "description": "YouTube bundles only. Elsewhere it is accepted but not stored, and comes back in the response's ignored_fields."
          },
          "youtube_category": {
            "type": "string",
            "maxLength": 100,
            "description": "YouTube bundles only. Elsewhere it is accepted but not stored, and comes back in the response's ignored_fields."
          },
          "youtube_visibility": {
            "type": "string",
            "enum": [
              "public",
              "unlisted",
              "private"
            ],
            "description": "YouTube bundles only. Elsewhere it is accepted but not stored, and comes back in the response's ignored_fields."
          },
          "youtube_sound_url": {
            "type": "string",
            "format": "uri",
            "description": "YouTube bundles only. Elsewhere it is accepted but not stored, and comes back in the response's ignored_fields."
          },
          "position": {
            "type": "integer",
            "minimum": 1,
            "description": "1-based slot position on the bundle. Required on every entry."
          }
        },
        "additionalProperties": false
      }
    },
    "auto_publish": {
      "type": "boolean",
      "default": false,
      "description": "Publish the bundle in the same call once at least one row has been configured. TOP-LEVEL ONLY on this endpoint: one publish attempt per call, applying to every video in it. auto_publish inside videos[] is rejected with a hint telling you to move it out — it is per-video only on the single-slot PUT /bundles/{id}/videos/{position}. A publish failure never fails the configuration: read auto_publish.published and auto_publish.blockers. If publishing moved stale target dates forward, auto_publish.adjusted_videos lists {video_id, position, previous_date, new_date}."
    }
  },
  "additionalProperties": false
}

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/tokportal-com-batch-configure-videos-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.