TokPortal · Schema
ConfigureVideoRequest
TikTokInstagramAccount CreationContent PublishingAnalyticsSocial DistributionWorkflow Integration
Properties
| Name | Type | Description |
|---|---|---|
| video_type | string | |
| description | string | Required for 'video' and 'carousel'. Stories have no description. |
| target_publish_date | string | 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 |
| name | string | |
| video_url | string | Required for video_type 'video'. Use the public_url returned by uploadVideo / uploadVideoDirect. |
| carousel_images | array | Required for video_type 'carousel'. Use each image upload response's public_url. Relative storage_path values are not valid URLs. |
| carousel_title | string | |
| story_image_url | string | Story image (TikTok/Instagram). Provide exactly one of video_url or story_image_url for a story. |
| story_repost_url | string | 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 | string | 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 TikT |
| volume_original_sound | integernull | 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 refun |
| volume_added_sound | integernull | 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 omit |
| editing_instructions | string | |
| external_ref | string | |
| instagram_content_type | string | 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_f |
| instagram_location | string | Instagram bundles only. On any other platform it is accepted but not stored, and comes back in the response's ignored_fields. |
| instagram_collaborators | array | 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 | string | 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 | boolean | 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 | boolean | AI content notice (free). If true, the manager will enable the platform's AI-generated content label when posting. |
| disclose_as_ads | boolean | Disclose as ad (free). If true, the manager will enable branded-content/paid-partnership disclosure (or add #ad) when posting. |
| instant_repost_as_story | boolean | 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_ty |
| youtube_title | string | 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 | array | YouTube bundles only. Elsewhere it is accepted but not stored, and comes back in the response's ignored_fields. |
| youtube_category | string | YouTube bundles only. Elsewhere it is accepted but not stored, and comes back in the response's ignored_fields. |
| youtube_visibility | string | YouTube bundles only. Elsewhere it is accepted but not stored, and comes back in the response's ignored_fields. |
| youtube_sound_url | string | YouTube bundles only. Elsewhere it is accepted but not stored, and comes back in the response's ignored_fields. |
| auto_publish | boolean | PER-VIDEO on this single-slot endpoint: it publishes this one slot in the same call. On the batch endpoint the same flag exists only at the ROOT of the body and covers every video in the call — it is |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/tokportal-com/json-schema/tokportal-com-configure-video-request-schema.json",
"title": "ConfigureVideoRequest",
"x-generated": "2026-11-26",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/tokportal-com-openapi.json#/components/schemas/ConfigureVideoRequest",
"type": "object",
"required": [
"video_type",
"target_publish_date"
],
"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."
},
"auto_publish": {
"type": "boolean",
"default": false,
"description": "PER-VIDEO on this single-slot endpoint: it publishes this one slot in the same call. On the batch endpoint the same flag exists only at the ROOT of the body and covers every video in the call — it is not accepted inside videos[]. A publish failure never fails the configuration: the response carries auto_publish.published and auto_publish.blockers, so read them instead of assuming the slot went live. If publishing moved a stale target date forward, auto_publish.adjusted_videos lists {video_id, position, previous_date, new_date} — read it back rather than assuming the schedule you sent survived."
}
},
"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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/tokportal-com-configure-video-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.