PublishRequest
Request model for publishing. A single platform/account_id still works. Send `targets` instead to publish the same asset to several accounts (e.g. TikTok and Instagram) in one call.
Properties
| Name | Type | Description |
|---|---|---|
| platform | object | |
| account_id | object | |
| post_type | object | |
| caption | object | |
| scheduled_time | object | |
| photo | boolean | |
| duration | integer | |
| link_url | object | |
| targets | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/civai-co/json-schema/civai-co-publish-request-schema.json",
"title": "PublishRequest",
"description": "Request model for publishing.\n\nA single platform/account_id still works. Send `targets` instead to publish\nthe same asset to several accounts (e.g. TikTok and Instagram) in one call.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/civai-co-publisher-publishing-api-openapi.yml#/components/schemas/PublishRequest",
"properties": {
"platform": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Platform"
},
"account_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Account Id"
},
"post_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Post Type",
"default": "reel"
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Caption"
},
"scheduled_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Scheduled Time"
},
"photo": {
"type": "boolean",
"title": "Photo",
"default": false
},
"duration": {
"type": "integer",
"title": "Duration",
"default": 5
},
"link_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Link Url"
},
"targets": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/PublishTarget"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Targets"
}
},
"type": "object",
"$defs": {
"PublishTarget": {
"properties": {
"platform": {
"type": "string",
"title": "Platform"
},
"account_id": {
"type": "string",
"title": "Account Id"
},
"post_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Post Type"
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Caption"
},
"photo": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Photo"
},
"duration": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Duration"
}
},
"type": "object",
"required": [
"platform",
"account_id"
],
"title": "PublishTarget",
"description": "One platform/account pair an asset should be published to."
}
}
}
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
curl "https://apis.io/api/v1/json-schemas/civai-co-publish-request"
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.