Use an existing direct media URL, or upload once with create_media_upload and complete_media_upload and pass the returned file_url in media_urls. The client must transfer file bytes before completion. Reuse the same uploaded URL for every selected platform. Simultaneously creates, publishes, or schedules a post across multiple platforms (YouTube, Instagram, LinkedIn, Facebook, Pinterest, Bluesky) with media attachments and platform-specific customizations. Select the intended workspace with list_workspaces and get_workspace_publishing_options first. When adapting content, read get_workspace_context for the relevant platforms before preparing the caption. Reuse that workspace ID for publishing; the result identifies the resolved workspace.Included at zero credits with an active paid plan.
Examples use illustrative values. The playground sends a real request. Intelligence can consume plan credits. Publishing examples save drafts.
Endpoint
POSThttps://api.creatorinsights.in/v1/multi-post/publishContent type: application/jsonAuthentication:x-api-key: YOUR_SAVED_API_KEYMCP tool:publish_multi_platform_post. See MCP Setup for AI clients.For paid MCP calls in an organization with multiple workspaces, pass the intended workspace ID. Calls without it are rejected before execution.Call List workspaces and confirm the workspace assigned to this connection. A bound connection cannot switch projects by changing this argument. Use Workspace publishing options to select its connected account. When adapting content needs brand guidance, read Workspace context for the relevant platforms. Pass the same canonical workspace ID for uploads, publishing and scheduling. Publishing responses include workspace_id and workspace_name. These additions require backend deployment.
Request parameters
string
Active workspace ID or current name in your organization. Optional header alternative to passing workspace in the body.
string[]
required
List of target platforms, e.g. [“instagram”, “youtube”, “linkedin”, “facebook”, “pinterest”, “bluesky”]
string
Master caption or body text for the post across platforms
string[]
Array of public image (JPG/PNG/WebP) or video (MP4/MOV) URLs to attach
string
Post title (used for YouTube videos, Pinterest pins, etc.)
string
ISO 8601 datetime string for scheduled publishing (e.g. “2026-10-15T14:30:00Z”). Omit for immediate publication.
boolean
default:true
Save for review without publishing. The playground is preset to true so a trial request saves a draft.
Owned workspace ID, current name, or immutable publishing key. Omit to use the credential’s assigned workspace; a legacy unbound key uses the primary workspace. The browser selection is not inferred.Workspace ID, current name, or immutable publishing key in the authenticated organization. Required for paid requests when more than one active workspace exists; pass an active workspace to select its accounts and data. Discover IDs with list_workspaces; reuse the selected canonical ID throughout the workflow.
string
Account ID from list_connected_social_accounts. Must belong to the target platform and workspace.
string
Unique request key. Reuse the same key and exact arguments when retrying to avoid duplicate posts.
Whether this operation succeeded. Also check HTTP status and nested platform statuses.
object
required
Operation-specific payload. See the nested field table and response example below.
Field
Type
Description
success
boolean
Example response field. Availability depends on the record and selected options.
data
object
Nested object. Expand the response schema for its fields.
data.success
boolean
Example response field. Availability depends on the record and selected options.
data.post_id
string
Example response field. Availability depends on the record and selected options.
data.title
string
Example response field. Availability depends on the record and selected options.
data.workspace
string
Example response field. Availability depends on the record and selected options.
data.is_draft
boolean
Example response field. Availability depends on the record and selected options.
data.platforms
array
List of returned entries; may be empty.
data.platforms[].platform
string
Example response field. Availability depends on the record and selected options.
data.platforms[].status
string
Stored platform status; accepted or queued does not mean posted.
data.platforms[].post_link
string or null
Example response field. Availability depends on the record and selected options.
data.platforms[].scheduled_at
string or null
Example response field. Availability depends on the record and selected options.
data.platforms[].error
string or null
Example response field. Availability depends on the record and selected options.
data.platforms[].warnings
array
List of returned entries; may be empty.
data.status
string
Example response field. Availability depends on the record and selected options.
data.replayed
boolean
Example response field. Availability depends on the record and selected options.
data.message
string
Example response field. Availability depends on the record and selected options.
The interactive schema includes deeper nested fields. Sample fields are descriptive, not a promise that every record includes them.
n8n and JSON tool endpoint
POSThttps://api.creatorinsights.in/api/v1/tools/publish_multi_platform_post. Use Header Auth with x-api-key and body content type JSON. This alias returns the n8n envelope below; included operations can report zero credits_deducted.
Handle non-2xx responses before mapping data. Error codes vary with the cause; these are representative examples. A 429 response may be plain text. Never treat a queued post as published or blindly retry a partial publication.
{ "success": false, "error": "UNAUTHORIZED", "message": "Missing or invalid API key"}
HTTP status
Meaning
400
Invalid arguments
401
Missing or invalid API key
402
Insufficient Creator Insights plan credits
403
Subscription or permission required
404
Resource not found
409
Conflicting request, idempotency key, or unfinished upload
410
Managed media expired; upload the file again
413
Media too large
415
Unsupported media type
422
Account selection, connection, or platform payload needs attention
500
Authentication or server error
503
Service temporarily unavailable or operation failed; inspect saved status before retrying
429
Rate limit; inspect response headers and retry later.
Publishing status
Select an owned account and exact workspace first. Draft examples use is_draft:true. Publishing is asynchronous: poll list_multiposts for each platform’s posted/failed status and public link. Use the same idempotency key only with identical retry arguments. Workflow details.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Creator Insights","description":"Official Developer Documentation \u0026 API Reference for Creator Insights Multi-Platform Distribution and Social Intelligence.","colors":{"primary":"#3B82F6","light":"#60A5FA","dark":"#1D4ED8"},"favicon":"https://mintcdn.com/creatorinsights/GDXq4ERtZaqkKWOx/favicon.svg?fit=max\u0026auto=format\u0026n=GDXq4ERtZaqkKWOx\u0026q=85\u0026s=d287918e6b1bc1f68abc6db27f801ab8","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"key","name":"x-api-key"},"server":"https://api.creatorinsights.in/"}},"navbar":{"links":[{"href":"https://dashboard.creatorinsights.in","label":"App Dashboard"},{"href":"https://dashboard.creatorinsights.in/public/credit-rates","label":"Credit Rates"}],"primary":{"type":"button","label":"Get API Key","href":"https://dashboard.creatorinsights.in/apps/mcp"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"creatorinsights","hasAudioNarration":false,"actualSubdomain":"creatorinsights","customDomains":[],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-creatorinsights-0f3375fc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b052a87669d462b6dbd3da8","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"API Reference","count":146},{"language":"default","tag":"Scrapers","count":97},{"language":"default","tag":"Publishing \u0026 Media","count":24},{"language":"default","tag":"TikTok","count":21},{"language":"default","tag":"Instagram","count":20},{"language":"default","tag":"YouTube","count":17},{"language":"default","tag":"Posts \u0026 analytics","count":12},{"language":"default","tag":"Ad Intelligence","count":12},{"language":"default","tag":"Reddit","count":7},{"language":"default","tag":"Getting Started","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"tools/publish_multi_platform_post","slug":"/tools/publish_multi_platform_post","pageMetadata":{"title":"Multi Platform Post","sidebarTitle":"Multi Platform Post","api":"POST https://api.creatorinsights.in/v1/multi-post/publish","playground":"interactive","description":null,"href":"/tools/publish_multi_platform_post"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use an existing direct media URL, or upload once with create_media_upload and complete_media_upload and pass the returned file_url in media_urls. The client must transfer file bytes before completion. Reuse the same uploaded URL for every selected platform. Simultaneously creates, publishes, or schedules a post across multiple platforms (YouTube, Instagram, LinkedIn, Facebook, Pinterest, Bluesky) with media attachments and platform-specific customizations. Select the intended workspace with list_workspaces and get_workspace_publishing_options first. When adapting content, read get_workspace_context for the relevant platforms before preparing the caption. Reuse that workspace ID for publishing; the result identifies the resolved workspace.`}),`\n`,_jsx(_components.p,{children:`Included at zero credits with an active paid plan.`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Examples use illustrative values. The playground sends a real request. Intelligence can consume plan credits. Publishing examples save drafts.`})}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`POST`}),` `,_jsx(_components.code,{children:`https://api.creatorinsights.in/v1/multi-post/publish`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Content type:`}),` application/json`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authentication:`}),` `,_jsx(_components.code,{children:`x-api-key: YOUR_SAVED_API_KEY`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`MCP tool:`}),` `,_jsx(_components.code,{children:`publish_multi_platform_post`}),`. See `,_jsx(_components.a,{href:`/mcp-setup`,children:`MCP Setup`}),` for AI clients.`]}),`\n`,_jsxs(_components.p,{children:[`For paid MCP calls in an organization with multiple workspaces, pass the intended `,_jsx(_components.code,{children:`workspace`}),` ID. Calls without it are rejected before execution.`]}),`\n`,_jsxs(_components.p,{children:[`Call `,_jsx(_components.a,{href:`/tools/list_workspaces`,children:`List workspaces`}),` and confirm the workspace assigned to this connection. A bound connection cannot switch projects by changing this argument. Use `,_jsx(_components.a,{href:`/tools/get_workspace_publishing_options`,children:`Workspace publishing options`}),` to select its connected account. When adapting content needs brand guidance, read `,_jsx(_components.a,{href:`/tools/get_workspace_context`,children:`Workspace context`}),` for the relevant platforms. Pass the same canonical workspace ID for uploads, publishing and scheduling. Publishing responses include `,_jsx(_components.code,{children:`workspace_id`}),` and `,_jsx(_components.code,{children:`workspace_name`}),`. These additions require backend deployment.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request parameters`}),`\n`,_jsx(ParamField,{header:`x-workspace-id`,type:`string`,id:`param-x-workspace-id`,children:_jsx(_components.p,{children:`Active workspace ID or current name in your organization. Optional header alternative to passing workspace in the body.`})}),`\n`,_jsx(ParamField,{body:`platforms`,type:`string[]`,required:true,id:`param-platforms`,children:_jsx(_components.p,{children:`List of target platforms, e.g. [“instagram”, “youtube”, “linkedin”, “facebook”, “pinterest”, “bluesky”]`})}),`\n`,_jsx(ParamField,{body:`content`,type:`string`,id:`param-content`,children:_jsx(_components.p,{children:`Master caption or body text for the post across platforms`})}),`\n`,_jsx(ParamField,{body:`media_urls`,type:`string[]`,id:`param-media-urls`,children:_jsx(_components.p,{children:`Array of public image (JPG/PNG/WebP) or video (MP4/MOV) URLs to attach`})}),`\n`,_jsx(ParamField,{body:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`Post title (used for YouTube videos, Pinterest pins, etc.)`})}),`\n`,_jsx(ParamField,{body:`scheduled_at`,type:`string`,id:`param-scheduled-at`,children:_jsx(_components.p,{children:`ISO 8601 datetime string for scheduled publishing (e.g. “2026-10-15T14:30:00Z”). Omit for immediate publication.`})}),`\n`,_jsx(ParamField,{body:`is_draft`,default:true,type:`boolean`,id:`param-is-draft`,children:_jsx(_components.p,{children:`Save for review without publishing. The playground is preset to true so a trial request saves a draft.`})}),`\n`,_jsx(ParamField,{body:`platform_customizations`,type:`object`,id:`param-platform-customizations`,children:_jsx(_components.p,{children:`Per-platform overrides (e.g. { youtube: { title, tags }, instagram: { caption, cover_url }, pinterest: { board_id, link } })`})}),`\n`,_jsxs(ParamField,{body:`workspace`,type:`string`,id:`param-workspace`,children:[_jsx(_components.p,{children:`Owned workspace ID, current name, or immutable publishing key. Omit to use the credential’s assigned workspace; a legacy unbound key uses the primary workspace. The browser selection is not inferred.`}),_jsx(_components.p,{children:`Workspace ID, current name, or immutable publishing key in the authenticated organization. Required for paid requests when more than one active workspace exists; pass an active workspace to select its accounts and data. Discover IDs with list_workspaces; reuse the selected canonical ID throughout the workflow.`})]}),`\n`,_jsx(ParamField,{body:`account_id`,type:`string`,id:`param-account-id`,children:_jsx(_components.p,{children:`Account ID from list_connected_social_accounts. Must belong to the target platform and workspace.`})}),`\n`,_jsx(ParamField,{body:`idempotency_key`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Unique request key. Reuse the same key and exact arguments when retrying to avoid duplicate posts.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-example`,children:`Request example`}),`\n`,_jsx(_components.p,{children:`Send these arguments directly as the JSON body.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platforms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"linkedin\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Our latest product update.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platform_customizations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"linkedin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"507f1f77bcf86cd799439012\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_WORKSPACE_ID_OR_CURRENT_NAME\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"idempotency_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"REPLACE_WITH_UNIQUE_REQUEST_KEY\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response-example`,children:`Response example`}),`\n`,_jsx(_components.p,{children:`HTTP 200. Illustrative values; optional fields can be omitted, null, or empty. Additional platform fields may be returned.`}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response fields`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,required:true,id:`param-success`,children:_jsx(_components.p,{children:`Whether this operation succeeded. Also check HTTP status and nested platform statuses.`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,required:true,id:`param-data`,children:_jsx(_components.p,{children:`Operation-specific payload. See the nested field table and response example below.`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`success`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Nested object. Expand the response schema for its fields.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.success`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.post_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.workspace`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.is_draft`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`List of returned entries; may be empty.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms[].platform`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms[].status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Stored platform status; accepted or queued does not mean posted.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms[].post_link`})}),_jsx(_components.td,{children:`string or null`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms[].scheduled_at`})}),_jsx(_components.td,{children:`string or null`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms[].error`})}),_jsx(_components.td,{children:`string or null`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms[].warnings`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`List of returned entries; may be empty.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.replayed`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.message`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]})]})]}),`\n`,_jsx(_components.p,{children:`The interactive schema includes deeper nested fields. Sample fields are descriptive, not a promise that every record includes them.`}),`\n`,_jsx(Heading,{level:`2`,id:`n8n-and-json-tool-endpoint`,children:`n8n and JSON tool endpoint`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`POST`}),` `,_jsx(_components.code,{children:`https://api.creatorinsights.in/api/v1/tools/publish_multi_platform_post`}),`. Use Header Auth with `,_jsx(_components.code,{children:`x-api-key`}),` and body content type JSON. This alias returns the n8n envelope below; included operations can report zero credits_deducted.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.creatorinsights.in/api/v1/tools/publish_multi_platform_post'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CREATOR_INSIGHTS_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"platforms\":[\"linkedin\"],\"content\":\"Our latest product update.\",\"platform_customizations\":{\"linkedin\":{\"account_id\":\"507f1f77bcf86cd799439012\"}},\"workspace\":\"YOUR_WORKSPACE_ID_OR_CURRENT_NAME\",\"is_draft\":true,\"idempotency_key\":\"REPLACE_WITH_UNIQUE_REQUEST_KEY\"}'`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`23`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"publish_multi_platform_post\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_deducted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"507f1f77bcf86cd799439011\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Default\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platforms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"linkedin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scheduled_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"post_link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Draft saved.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsx(_components.p,{children:`Handle non-2xx responses before mapping data. Error codes vary with the cause; these are representative examples. A 429 response may be plain text. Never treat a queued post as published or blindly retry a partial publication.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UNAUTHORIZED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Missing or invalid API key\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Invalid arguments`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`Missing or invalid API key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`402`}),_jsx(_components.td,{children:`Insufficient Creator Insights plan credits`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`Subscription or permission required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`Resource not found`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`Conflicting request, idempotency key, or unfinished upload`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`410`}),_jsx(_components.td,{children:`Managed media expired; upload the file again`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`413`}),_jsx(_components.td,{children:`Media too large`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`415`}),_jsx(_components.td,{children:`Unsupported media type`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Account selection, connection, or platform payload needs attention`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:`Authentication or server error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Service temporarily unavailable or operation failed; inspect saved status before retrying`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:`Rate limit; inspect response headers and retry later.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`publishing-status`,children:`Publishing status`}),`\n`,_jsxs(_components.p,{children:[`Select an owned account and exact workspace first. Draft examples use is_draft:true. Publishing is asynchronous: poll list_multiposts for each platform’s posted/failed status and public link. Use the same idempotency key only with identical retry arguments. `,_jsx(_components.a,{href:`/workflows`,children:`Workflow details`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Multi Platform Post","sidebarTitle":"Multi Platform Post","api":"POST https://api.creatorinsights.in/v1/multi-post/publish","playground":"interactive","description":null,"href":"/tools/publish_multi_platform_post"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use an existing direct media URL, or upload once with create_media_upload and complete_media_upload and pass the returned file_url in media_urls. The client must transfer file bytes before completion. Reuse the same uploaded URL for every selected platform. Simultaneously creates, publishes, or schedules a post across multiple platforms (YouTube, Instagram, LinkedIn, Facebook, Pinterest, Bluesky) with media attachments and platform-specific customizations. Select the intended workspace with list_workspaces and get_workspace_publishing_options first. When adapting content, read get_workspace_context for the relevant platforms before preparing the caption. Reuse that workspace ID for publishing; the result identifies the resolved workspace.`}),`\n`,_jsx(_components.p,{children:`Included at zero credits with an active paid plan.`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Examples use illustrative values. The playground sends a real request. Intelligence can consume plan credits. Publishing examples save drafts.`})}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`POST`}),` `,_jsx(_components.code,{children:`https://api.creatorinsights.in/v1/multi-post/publish`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Content type:`}),` application/json`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authentication:`}),` `,_jsx(_components.code,{children:`x-api-key: YOUR_SAVED_API_KEY`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`MCP tool:`}),` `,_jsx(_components.code,{children:`publish_multi_platform_post`}),`. See `,_jsx(_components.a,{href:`/mcp-setup`,children:`MCP Setup`}),` for AI clients.`]}),`\n`,_jsxs(_components.p,{children:[`For paid MCP calls in an organization with multiple workspaces, pass the intended `,_jsx(_components.code,{children:`workspace`}),` ID. Calls without it are rejected before execution.`]}),`\n`,_jsxs(_components.p,{children:[`Call `,_jsx(_components.a,{href:`/tools/list_workspaces`,children:`List workspaces`}),` and confirm the workspace assigned to this connection. A bound connection cannot switch projects by changing this argument. Use `,_jsx(_components.a,{href:`/tools/get_workspace_publishing_options`,children:`Workspace publishing options`}),` to select its connected account. When adapting content needs brand guidance, read `,_jsx(_components.a,{href:`/tools/get_workspace_context`,children:`Workspace context`}),` for the relevant platforms. Pass the same canonical workspace ID for uploads, publishing and scheduling. Publishing responses include `,_jsx(_components.code,{children:`workspace_id`}),` and `,_jsx(_components.code,{children:`workspace_name`}),`. These additions require backend deployment.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request parameters`}),`\n`,_jsx(ParamField,{header:`x-workspace-id`,type:`string`,id:`param-x-workspace-id`,children:_jsx(_components.p,{children:`Active workspace ID or current name in your organization. Optional header alternative to passing workspace in the body.`})}),`\n`,_jsx(ParamField,{body:`platforms`,type:`string[]`,required:true,id:`param-platforms`,children:_jsx(_components.p,{children:`List of target platforms, e.g. [“instagram”, “youtube”, “linkedin”, “facebook”, “pinterest”, “bluesky”]`})}),`\n`,_jsx(ParamField,{body:`content`,type:`string`,id:`param-content`,children:_jsx(_components.p,{children:`Master caption or body text for the post across platforms`})}),`\n`,_jsx(ParamField,{body:`media_urls`,type:`string[]`,id:`param-media-urls`,children:_jsx(_components.p,{children:`Array of public image (JPG/PNG/WebP) or video (MP4/MOV) URLs to attach`})}),`\n`,_jsx(ParamField,{body:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`Post title (used for YouTube videos, Pinterest pins, etc.)`})}),`\n`,_jsx(ParamField,{body:`scheduled_at`,type:`string`,id:`param-scheduled-at`,children:_jsx(_components.p,{children:`ISO 8601 datetime string for scheduled publishing (e.g. “2026-10-15T14:30:00Z”). Omit for immediate publication.`})}),`\n`,_jsx(ParamField,{body:`is_draft`,default:true,type:`boolean`,id:`param-is-draft`,children:_jsx(_components.p,{children:`Save for review without publishing. The playground is preset to true so a trial request saves a draft.`})}),`\n`,_jsx(ParamField,{body:`platform_customizations`,type:`object`,id:`param-platform-customizations`,children:_jsx(_components.p,{children:`Per-platform overrides (e.g. { youtube: { title, tags }, instagram: { caption, cover_url }, pinterest: { board_id, link } })`})}),`\n`,_jsxs(ParamField,{body:`workspace`,type:`string`,id:`param-workspace`,children:[_jsx(_components.p,{children:`Owned workspace ID, current name, or immutable publishing key. Omit to use the credential’s assigned workspace; a legacy unbound key uses the primary workspace. The browser selection is not inferred.`}),_jsx(_components.p,{children:`Workspace ID, current name, or immutable publishing key in the authenticated organization. Required for paid requests when more than one active workspace exists; pass an active workspace to select its accounts and data. Discover IDs with list_workspaces; reuse the selected canonical ID throughout the workflow.`})]}),`\n`,_jsx(ParamField,{body:`account_id`,type:`string`,id:`param-account-id`,children:_jsx(_components.p,{children:`Account ID from list_connected_social_accounts. Must belong to the target platform and workspace.`})}),`\n`,_jsx(ParamField,{body:`idempotency_key`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Unique request key. Reuse the same key and exact arguments when retrying to avoid duplicate posts.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-example`,children:`Request example`}),`\n`,_jsx(_components.p,{children:`Send these arguments directly as the JSON body.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platforms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"linkedin\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Our latest product update.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platform_customizations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"linkedin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"507f1f77bcf86cd799439012\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_WORKSPACE_ID_OR_CURRENT_NAME\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"idempotency_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"REPLACE_WITH_UNIQUE_REQUEST_KEY\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.creatorinsights.in/v1/multi-post/publish'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CREATOR_INSIGHTS_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"platforms\":[\"linkedin\"],\"content\":\"Our latest product update.\",\"platform_customizations\":{\"linkedin\":{\"account_id\":\"507f1f77bcf86cd799439012\"}},\"workspace\":\"YOUR_WORKSPACE_ID_OR_CURRENT_NAME\",\"is_draft\":true,\"idempotency_key\":\"REPLACE_WITH_UNIQUE_REQUEST_KEY\"}'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`23`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`23`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.creatorinsights.in/v1/multi-post/publish'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'x-api-key'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`CREATOR_INSIGHTS_API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"platforms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"linkedin\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Our latest product update.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"platform_customizations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"linkedin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"507f1f77bcf86cd799439012\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"workspace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_WORKSPACE_ID_OR_CURRENT_NAME\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"idempotency_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"REPLACE_WITH_UNIQUE_REQUEST_KEY\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` raw`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`try`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`parse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`raw`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`throw`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Non-JSON response: '`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); }`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ok`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`success`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`throw`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`message`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Request failed'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`9`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` json, os, requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`arguments `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` json.loads(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`platforms`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`linkedin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`],`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`content`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Our latest product update.`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`platform_customizations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`linkedin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`account_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`507f1f77bcf86cd799439012`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}},`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`workspace`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`YOUR_WORKSPACE_ID_OR_CURRENT_NAME`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`is_draft`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:true,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`idempotency_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`REPLACE_WITH_UNIQUE_REQUEST_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.creatorinsights.in/v1/multi-post/publish\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CREATOR_INSIGHTS_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`arguments, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`timeout`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`120`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.raise_for_status()`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`result `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(result[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-example`,children:`Response example`}),`\n`,_jsx(_components.p,{children:`HTTP 200. Illustrative values; optional fields can be omitted, null, or empty. Additional platform fields may be returned.`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Success`,numberOfLines:`21`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"507f1f77bcf86cd799439011\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Default\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platforms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"linkedin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scheduled_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"post_link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Draft saved.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response fields`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,required:true,id:`param-success`,children:_jsx(_components.p,{children:`Whether this operation succeeded. Also check HTTP status and nested platform statuses.`})}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,required:true,id:`param-data`,children:_jsx(_components.p,{children:`Operation-specific payload. See the nested field table and response example below.`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`success`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Nested object. Expand the response schema for its fields.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.success`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.post_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.workspace`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.is_draft`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`List of returned entries; may be empty.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms[].platform`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms[].status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Stored platform status; accepted or queued does not mean posted.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms[].post_link`})}),_jsx(_components.td,{children:`string or null`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms[].scheduled_at`})}),_jsx(_components.td,{children:`string or null`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms[].error`})}),_jsx(_components.td,{children:`string or null`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.platforms[].warnings`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`List of returned entries; may be empty.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.replayed`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data.message`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Example response field. Availability depends on the record and selected options.`})]})]})]}),`\n`,_jsx(_components.p,{children:`The interactive schema includes deeper nested fields. Sample fields are descriptive, not a promise that every record includes them.`}),`\n`,_jsx(Heading,{level:`2`,id:`n8n-and-json-tool-endpoint`,children:`n8n and JSON tool endpoint`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`POST`}),` `,_jsx(_components.code,{children:`https://api.creatorinsights.in/api/v1/tools/publish_multi_platform_post`}),`. Use Header Auth with `,_jsx(_components.code,{children:`x-api-key`}),` and body content type JSON. This alias returns the n8n envelope below; included operations can report zero credits_deducted.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.creatorinsights.in/api/v1/tools/publish_multi_platform_post'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CREATOR_INSIGHTS_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"platforms\":[\"linkedin\"],\"content\":\"Our latest product update.\",\"platform_customizations\":{\"linkedin\":{\"account_id\":\"507f1f77bcf86cd799439012\"}},\"workspace\":\"YOUR_WORKSPACE_ID_OR_CURRENT_NAME\",\"is_draft\":true,\"idempotency_key\":\"REPLACE_WITH_UNIQUE_REQUEST_KEY\"}'`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`23`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"publish_multi_platform_post\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_deducted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"507f1f77bcf86cd799439011\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workspace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Default\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platforms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"linkedin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"draft\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scheduled_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"post_link\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Draft saved.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsx(_components.p,{children:`Handle non-2xx responses before mapping data. Error codes vary with the cause; these are representative examples. A 429 response may be plain text. Never treat a queued post as published or blindly retry a partial publication.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UNAUTHORIZED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Missing or invalid API key\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Invalid arguments`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`Missing or invalid API key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`402`}),_jsx(_components.td,{children:`Insufficient Creator Insights plan credits`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`Subscription or permission required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`Resource not found`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:`Conflicting request, idempotency key, or unfinished upload`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`410`}),_jsx(_components.td,{children:`Managed media expired; upload the file again`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`413`}),_jsx(_components.td,{children:`Media too large`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`415`}),_jsx(_components.td,{children:`Unsupported media type`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:`Account selection, connection, or platform payload needs attention`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:`Authentication or server error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Service temporarily unavailable or operation failed; inspect saved status before retrying`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:`Rate limit; inspect response headers and retry later.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`publishing-status`,children:`Publishing status`}),`\n`,_jsxs(_components.p,{children:[`Select an owned account and exact workspace first. Draft examples use is_draft:true. Publishing is asynchronous: poll list_multiposts for each platform’s posted/failed status and public link. Use the same idempotency key only with identical retry arguments. `,_jsx(_components.a,{href:`/workflows`,children:`Workflow details`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Multi Platform Post","sidebarTitle":"Multi Platform Post","api":"POST https://api.creatorinsights.in/v1/multi-post/publish","playground":"interactive","description":null,"href":"/tools/publish_multi_platform_post"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Request parameters","slug":"request-parameters","depth":2,"children":[]},{"title":"Request example","slug":"request-example","depth":2,"children":[]},{"title":"Response example","slug":"response-example","depth":2,"children":[]},{"title":"Response fields","slug":"response-fields","depth":2,"children":[]},{"title":"n8n and JSON tool endpoint","slug":"n8n-and-json-tool-endpoint","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Publishing status","slug":"publishing-status","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.creatorinsights.in/v1/multi-post/publish'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"x-api-key: \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$CREATOR_INSIGHTS_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\"platforms\":[\"linkedin\"],\"content\":\"Our latest product update.\",\"platform_customizations\":{\"linkedin\":{\"account_id\":\"507f1f77bcf86cd799439012\"}},\"workspace\":\"YOUR_WORKSPACE_ID_OR_CURRENT_NAME\",\"is_draft\":true,\"idempotency_key\":\"REPLACE_WITH_UNIQUE_REQUEST_KEY\"}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Node.js","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"23\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://api.creatorinsights.in/v1/multi-post/publish'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'POST'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'x-api-key'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> process\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">env\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\">CREATOR_INSIGHTS_API_KEY\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Content-Type'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'application/json'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"platforms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"linkedin\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"content\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Our latest product update.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"platform_customizations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"linkedin\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"507f1f77bcf86cd799439012\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"workspace\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"YOUR_WORKSPACE_ID_OR_CURRENT_NAME\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"is_draft\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"idempotency_key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"REPLACE_WITH_UNIQUE_REQUEST_KEY\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">})\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> raw\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">text\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">let\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">try\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">result\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">parse\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">raw\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">); } \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">catch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">throw\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> Error\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Non-JSON response: '\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> +\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">status\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">); }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">if\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> (\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">!\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">ok\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> ||\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">success\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> ===\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">) \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">throw\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> Error\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">message\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> ||\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">error\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> ||\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Request failed'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">data\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> json, os, requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">arguments \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> json.loads(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"{\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">platforms\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:[\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">linkedin\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">],\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">content\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">Our latest product update.\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">,\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">platform_customizations\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:{\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">linkedin\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:{\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">account_id\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">507f1f77bcf86cd799439012\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}},\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">workspace\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">YOUR_WORKSPACE_ID_OR_CURRENT_NAME\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">,\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">is_draft\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:true,\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">idempotency_key\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">:\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">REPLACE_WITH_UNIQUE_REQUEST_KEY\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\\"\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">response \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests.post(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://api.creatorinsights.in/v1/multi-post/publish\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"x-api-key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: os.environ[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"CREATOR_INSIGHTS_API_KEY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> json\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">arguments, \u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">timeout\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">120\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">response.raise_for_status()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">result \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> response.json()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">print\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(result[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">])\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Success","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"21\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"post_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"507f1f77bcf86cd799439011\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Example draft\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"workspace\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Default\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"is_draft\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"draft\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"platforms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"platform\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"linkedin\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"draft\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"scheduled_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"post_link\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Draft saved.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Multi Platform Post","path":"/v1/multi-post/publish","servers":[{"url":"https://api.creatorinsights.in"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"x-api-key":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"x-workspace-id":{"schema":[{"type":"string","description":"Active workspace ID or current name in your organization. Optional header alternative to passing workspace in the body."}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"platforms":[{"type":"array","items":[{"type":"string"}],"description":"List of target platforms, e.g. [“instagram”, “youtube”, “linkedin”, “facebook”, “pinterest”, “bluesky”]","required":true}],"content":[{"type":"string","description":"Master caption or body text for the post across platforms"}],"media_urls":[{"type":"array","items":[{"type":"string"}],"description":"Array of public image (JPG/PNG/WebP) or video (MP4/MOV) URLs to attach"}],"title":[{"type":"string","description":"Post title (used for YouTube videos, Pinterest pins, etc.)"}],"scheduled_at":[{"type":"string","description":"ISO 8601 datetime string for scheduled publishing (e.g. “2026-10-15T14:30:00Z”). Omit for immediate publication."}],"is_draft":[{"type":"boolean","description":"Save for review without publishing. The playground is preset to true so a trial request saves a draft."}],"platform_customizations":[{"type":"object","properties":{},"description":"Per-platform overrides (e.g. { youtube: { title, tags }, instagram: { caption, cover_url }, pinterest: { board_id, link } })"}],"workspace":[{"type":"string","description":"Owned workspace ID, current name, or immutable publishing key. Omit to use the credential’s assigned workspace; a legacy unbound key uses the primary workspace. The browser selection is not inferred. Workspace ID, current name, or immutable publishing key in the authenticated organization. Required for paid requests when more than one active workspace exists; pass an active workspace to select its accounts and data. Discover IDs with list_workspaces; reuse the selected canonical ID throughout the workflow."}],"account_id":[{"type":"string","description":"Account ID from list_connected_social_accounts. Must belong to the target platform and workspace."}],"idempotency_key":[{"type":"string","description":"Unique request key. Reuse the same key and exact arguments when retrying to avoid duplicate posts."}]}}],"examples":{"example":{"value":{"platforms":["\u003cstring>"],"content":"\u003cstring>","media_urls":["\u003cstring>"],"title":"\u003cstring>","scheduled_at":"\u003cstring>","is_draft":true,"platform_customizations":{},"workspace":"\u003cstring>","account_id":"\u003cstring>","idempotency_key":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Whether this operation succeeded. Also check HTTP status and nested platform statuses.","required":true}],"data":[{"type":"object","properties":{},"description":"Operation-specific payload. See the nested field table and response example below.","required":true}]}}],"examples":{"example":{"value":{"success":true,"data":{}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"creatorinsights","siteName":"Creator Insights","title":"Multi Platform Post - Creator Insights","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T06:11:24.996Z","originalFileLocation":"tools/publish_multi_platform_post.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Creator Insights\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/creatorinsights/MVzz8RChCrPgArY2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/creatorinsights/MVzz8RChCrPgArY2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/creatorinsights/MVzz8RChCrPgArY2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/creatorinsights/MVzz8RChCrPgArY2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/creatorinsights/MVzz8RChCrPgArY2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/creatorinsights/MVzz8RChCrPgArY2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/creatorinsights/MVzz8RChCrPgArY2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/creatorinsights/MVzz8RChCrPgArY2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/creatorinsights/MVzz8RChCrPgArY2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Multi Platform Post - Creator Insights\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Creator Insights\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://creatorinsights.mintlify.app/tools/publish_multi_platform_post\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://creatorinsights.mintlify.site/_mintlify/api/og/v2?division=Posts+%26+analytics\u0026amp;title=Multi+Platform+Post\u0026amp;theme=94cad389c597c61cb2ba23be\u0026amp;signature=897d9f041aa881fdaa3eed679bb3a13bd327ee4698b83f88c56553f2fc93d266\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Multi Platform Post - Creator Insights\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://creatorinsights.mintlify.site/_mintlify/api/og/v2?division=Posts+%26+analytics\u0026amp;title=Multi+Platform+Post\u0026amp;theme=94cad389c597c61cb2ba23be\u0026amp;signature=897d9f041aa881fdaa3eed679bb3a13bd327ee4698b83f88c56553f2fc93d266\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/creatorinsights/MVzz8RChCrPgArY2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Creator Insights\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3B82F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://creatorinsights.mintlify.app/tools/publish_multi_platform_post\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/tools/publish_multi_platform_post.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://creatorinsights.mintlify.app/#organization\",\"name\":\"Creator Insights\",\"url\":\"https://creatorinsights.mintlify.app\"},{\"@type\":\"WebSite\",\"@id\":\"https://creatorinsights.mintlify.app#website\",\"name\":\"Creator Insights\",\"url\":\"https://creatorinsights.mintlify.app\",\"publisher\":{\"@id\":\"https://creatorinsights.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://creatorinsights.mintlify.app/tools/publish_multi_platform_post#webpage\",\"url\":\"https://creatorinsights.mintlify.app/tools/publish_multi_platform_post\",\"name\":\"Multi Platform Post\",\"dateModified\":\"2026-11-24T06:11:24.996Z\",\"isPartOf\":{\"@id\":\"https://creatorinsights.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://creatorinsights.mintlify.app/tools/publish_multi_platform_post#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://creatorinsights.mintlify.app/tools/publish_multi_platform_post#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Publishing \u0026 Media\",\"item\":\"https://creatorinsights.mintlify.app/tools/list_connected_social_accounts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Multi Platform Post\",\"item\":\"https://creatorinsights.mintlify.app/tools/publish_multi_platform_post\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://creatorinsights.mintlify.app/tools/publish_multi_platform_post#apireference\",\"headline\":\"Multi Platform Post\",\"name\":\"Multi Platform Post\",\"url\":\"https://creatorinsights.mintlify.app/tools/publish_multi_platform_post\",\"mainEntityOfPage\":{\"@id\":\"https://creatorinsights.mintlify.app/tools/publish_multi_platform_post#webpage\"},\"dateModified\":\"2026-11-24T06:11:24.996Z\",\"publisher\":{\"@id\":\"https://creatorinsights.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://creatorinsights.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Creator Insights\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Creator Insights\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/tools/publish_multi_platform_post.md","siteName":"Creator Insights","nav":{"global":null,"tabs":[{"tab":"API Reference","pages":[{"group":"Getting Started","pages":[{"title":"Creator Insights API","href":""},{"title":"API Quickstart","href":"/quickstart"},{"title":"API Authentication","href":"/authentication"},{"title":"Credits \u0026 Pricing","href":"/credits-and-pricing"},{"title":"Upload, Publish \u0026 Check Status","href":"/workflows"},{"title":"Search Locations \u0026 Credits","href":"/search-locations-and-credits"}]},{"group":"Integrations","pages":[{"title":"n8n \u0026 HTTP Integrations","href":"/n8n-setup"},{"title":"MCP Setup \u0026 AI Clients","href":"/mcp-setup"}]},{"group":"Publishing \u0026 Media","pages":[{"group":"Connected accounts","expanded":false,"pages":[{"title":"List Connected Social Accounts","sidebarTitle":"List Connected Social Accounts","api":"GET https://api.creatorinsights.in/v1/multi-post/accounts","playground":"interactive","href":"/tools/list_connected_social_accounts"},{"title":"Social Account Connection Url","sidebarTitle":"Social Account Connection Url","api":"POST https://api.creatorinsights.in/api/v1/tools/get_social_account_connection_url","playground":"interactive","href":"/tools/get_social_account_connection_url"},{"title":"Disconnect Social Account","sidebarTitle":"Disconnect Social Account","api":"POST https://api.creatorinsights.in/api/v1/tools/disconnect_social_account","playground":"interactive","href":"/tools/disconnect_social_account"},{"title":"Sync Social Accounts","sidebarTitle":"Sync Social Accounts","api":"POST https://api.creatorinsights.in/api/v1/tools/sync_social_accounts","playground":"interactive","href":"/tools/sync_social_accounts"},{"title":"YouTube Playlists","sidebarTitle":"YouTube Playlists","api":"GET https://api.creatorinsights.in/v1/youtube/playlists","playground":"interactive","href":"/tools/get_youtube_playlists"},{"title":"Pinterest Boards","sidebarTitle":"Pinterest Boards","api":"GET https://api.creatorinsights.in/v1/pinterest/boards","playground":"interactive","href":"/tools/get_pinterest_boards"}]},{"group":"Media","expanded":false,"pages":[{"title":"Media Uploads","sidebarTitle":"Media Uploads","href":"/media-uploads"},{"title":"Create Media Upload","sidebarTitle":"Create Media Upload","api":"POST https://api.creatorinsights.in/v1/media/upload-session","playground":"interactive","href":"/tools/create_media_upload"},{"title":"Complete Media Upload","sidebarTitle":"Complete Media Upload","api":"POST https://api.creatorinsights.in/v1/media/complete-upload","playground":"interactive","href":"/tools/complete_media_upload"},{"title":"Upload Media File","sidebarTitle":"Upload Media File","api":"POST https://api.creatorinsights.in/api/v1/tools/upload_media_file","playground":"interactive","href":"/tools/upload_media_file"},{"title":"Import Video To Gcp","sidebarTitle":"Import Video To Gcp","api":"POST https://api.creatorinsights.in/api/v1/tools/import_video_to_gcp","playground":"interactive","href":"/tools/import_video_to_gcp"},{"title":"Check Media Import Status","sidebarTitle":"Check Media Import Status","api":"POST https://api.creatorinsights.in/api/v1/tools/check_media_import_status","playground":"interactive","description":null,"href":"/tools/check_media_import_status"}]},{"group":"Posts \u0026 analytics","expanded":false,"pages":[{"title":"Multi Platform Post","sidebarTitle":"Multi Platform Post","api":"POST https://api.creatorinsights.in/v1/multi-post/publish","playground":"interactive","href":"/tools/publish_multi_platform_post"},{"title":"Multipost Analytics","sidebarTitle":"Multipost Analytics","api":"GET https://api.creatorinsights.in/v1/multi-post/analytics","playground":"interactive","description":null,"href":"/tools/get_multipost_analytics"},{"title":"List Multiposts","sidebarTitle":"List Multiposts","api":"GET https://api.creatorinsights.in/v1/multi-post/list","playground":"interactive","href":"/tools/list_multiposts"},{"title":"Delete Multipost","sidebarTitle":"Delete Multipost","api":"DELETE https://api.creatorinsights.in/v1/multi-post/delete","playground":"interactive","href":"/tools/delete_multipost"},{"title":"Distribution Overview Analytics","sidebarTitle":"Distribution Overview Analytics","api":"POST https://api.creatorinsights.in/api/v1/tools/get_distribution_overview_analytics","playground":"interactive","href":"/tools/get_distribution_overview_analytics"},{"title":"Update Multipost","sidebarTitle":"Update Multipost","api":"PUT https://api.creatorinsights.in/v1/multi-post/update","playground":"interactive","href":"/tools/update_multipost"},{"title":"YouTube Video","sidebarTitle":"YouTube Video","api":"POST https://api.creatorinsights.in/v1/youtube/publish","playground":"interactive","href":"/tools/publish_youtube_video"},{"title":"Instagram Post","sidebarTitle":"Instagram Post","api":"POST https://api.creatorinsights.in/v1/instagram/publish","playground":"interactive","href":"/tools/publish_instagram_post"},{"title":"LinkedIn Post","sidebarTitle":"LinkedIn Post","api":"POST https://api.creatorinsights.in/v1/linkedin/publish","playground":"interactive","href":"/tools/publish_linkedin_post"},{"title":"Facebook Post","sidebarTitle":"Facebook Post","api":"POST https://api.creatorinsights.in/v1/facebook/publish","playground":"interactive","href":"/tools/publish_facebook_post"},{"title":"Pinterest Pin","sidebarTitle":"Pinterest Pin","api":"POST https://api.creatorinsights.in/v1/pinterest/publish","playground":"interactive","href":"/tools/publish_pinterest_pin"},{"title":"Bluesky Post","sidebarTitle":"Bluesky Post","api":"POST https://api.creatorinsights.in/v1/bluesky/publish","playground":"interactive","href":"/tools/publish_bluesky_post"}]}]},{"group":"Scrapers","pages":[{"group":"YouTube","pages":[{"title":"YouTube Channel","sidebarTitle":"YouTube Channel","api":"GET https://api.creatorinsights.in/v1/youtube/channel-profile","playground":"interactive","href":"/tools/fetch_youtube_channel"},{"title":"YouTube Videos","sidebarTitle":"YouTube Videos","api":"GET https://api.creatorinsights.in/v1/youtube/videos","playground":"interactive","href":"/tools/fetch_youtube_videos"},{"title":"YouTube Channel Playlists","sidebarTitle":"YouTube Channel Playlists","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_youtube_channel_playlists","playground":"interactive","href":"/tools/fetch_youtube_channel_playlists"},{"title":"YouTube Channel Lives","sidebarTitle":"YouTube Channel Lives","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_youtube_channel_lives","playground":"interactive","href":"/tools/fetch_youtube_channel_lives"},{"title":"YouTube Community Posts","sidebarTitle":"YouTube Community Posts","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_youtube_community_posts","playground":"interactive","href":"/tools/fetch_youtube_community_posts"},{"title":"YouTube Shorts","sidebarTitle":"YouTube Shorts","api":"GET https://api.creatorinsights.in/v1/youtube/shorts","playground":"interactive","href":"/tools/fetch_youtube_shorts"},{"title":"YouTube Video Info","sidebarTitle":"YouTube Video Info","api":"GET https://api.creatorinsights.in/v1/youtube/video-info","playground":"interactive","href":"/tools/fetch_youtube_video_info"},{"title":"YouTube Transcript","sidebarTitle":"YouTube Transcript","api":"GET https://api.creatorinsights.in/v1/youtube/transcript","playground":"interactive","href":"/tools/fetch_youtube_transcript"},{"title":"YouTube Video Sponsors","sidebarTitle":"YouTube Video Sponsors","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_youtube_video_sponsors","playground":"interactive","href":"/tools/fetch_youtube_video_sponsors"},{"title":"YouTube","sidebarTitle":"YouTube","api":"GET https://api.creatorinsights.in/v1/youtube/search","playground":"interactive","href":"/tools/search_youtube"},{"title":"YouTube Typeahead","sidebarTitle":"YouTube Typeahead","api":"POST https://api.creatorinsights.in/api/v1/tools/search_youtube_typeahead","playground":"interactive","href":"/tools/search_youtube_typeahead"},{"title":"YouTube Hashtag","sidebarTitle":"YouTube Hashtag","api":"POST https://api.creatorinsights.in/api/v1/tools/search_youtube_hashtag","playground":"interactive","href":"/tools/search_youtube_hashtag"},{"title":"YouTube Comments","sidebarTitle":"YouTube Comments","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_youtube_comments","playground":"interactive","href":"/tools/fetch_youtube_comments"},{"title":"YouTube Comment Replies","sidebarTitle":"YouTube Comment Replies","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_youtube_comment_replies","playground":"interactive","href":"/tools/fetch_youtube_comment_replies"},{"title":"YouTube Trending Shorts","sidebarTitle":"YouTube Trending Shorts","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_youtube_trending_shorts","playground":"interactive","href":"/tools/fetch_youtube_trending_shorts"},{"title":"YouTube Playlist","sidebarTitle":"YouTube Playlist","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_youtube_playlist","playground":"interactive","href":"/tools/fetch_youtube_playlist"},{"title":"YouTube Community Post Details","sidebarTitle":"YouTube Community Post Details","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_youtube_community_post_details","playground":"interactive","href":"/tools/fetch_youtube_community_post_details"}]},{"group":"Instagram","pages":[{"title":"Instagram Profile","sidebarTitle":"Instagram Profile","api":"GET https://api.creatorinsights.in/v1/instagram/profile","playground":"interactive","href":"/tools/fetch_insta_profile"},{"title":"Instagram Basic Profile","sidebarTitle":"Instagram Basic Profile","api":"GET https://api.creatorinsights.in/v1/instagram/basic-profile","playground":"interactive","href":"/tools/fetch_insta_basic_profile"},{"title":"Instagram Posts","sidebarTitle":"Instagram Posts","api":"GET https://api.creatorinsights.in/v1/instagram/posts","playground":"interactive","href":"/tools/fetch_insta_posts"},{"title":"Instagram Tagged Posts","sidebarTitle":"Instagram Tagged Posts","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_insta_tagged_posts","playground":"interactive","href":"/tools/fetch_insta_tagged_posts"},{"title":"Instagram Reels","sidebarTitle":"Instagram Reels","api":"GET https://api.creatorinsights.in/v1/instagram/reels","playground":"interactive","href":"/tools/fetch_insta_reels"},{"title":"Instagram Post Info","sidebarTitle":"Instagram Post Info","api":"GET https://api.creatorinsights.in/v1/instagram/post","playground":"interactive","href":"/tools/fetch_insta_post_info"},{"title":"Instagram Transcript","sidebarTitle":"Instagram Transcript","api":"GET https://api.creatorinsights.in/v1/instagram/transcript","playground":"interactive","href":"/tools/fetch_insta_transcript"},{"title":"Insta","sidebarTitle":"Insta","api":"POST https://api.creatorinsights.in/api/v1/tools/search_insta","playground":"interactive","href":"/tools/search_insta"},{"title":"Instagram Popular","sidebarTitle":"Instagram Popular","api":"GET https://api.creatorinsights.in/v1/instagram/popular","playground":"interactive","href":"/tools/search_insta_popular"},{"title":"Instagram Hashtag","sidebarTitle":"Instagram Hashtag","api":"POST https://api.creatorinsights.in/api/v1/tools/search_insta_hashtag","playground":"interactive","href":"/tools/search_insta_hashtag"},{"title":"Instagram Profiles","sidebarTitle":"Instagram Profiles","api":"POST https://api.creatorinsights.in/api/v1/tools/search_insta_profiles","playground":"interactive","href":"/tools/search_insta_profiles"},{"title":"Instagram Reels","sidebarTitle":"Instagram Reels","api":"POST https://api.creatorinsights.in/api/v1/tools/search_insta_reels","playground":"interactive","href":"/tools/search_insta_reels"},{"title":"Instagram Audio Reels","sidebarTitle":"Instagram Audio Reels","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_insta_audio_reels","playground":"interactive","href":"/tools/fetch_insta_audio_reels"},{"title":"Instagram Trending Reels","sidebarTitle":"Instagram Trending Reels","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_insta_trending_reels","playground":"interactive","href":"/tools/fetch_insta_trending_reels"},{"title":"Instagram Comments","sidebarTitle":"Instagram Comments","api":"GET https://api.creatorinsights.in/v1/instagram/comments","playground":"interactive","href":"/tools/fetch_insta_comments"},{"title":"Instagram Comment Replies","sidebarTitle":"Instagram Comment Replies","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_insta_comment_replies","playground":"interactive","href":"/tools/fetch_insta_comment_replies"},{"title":"Instagram User Highlights","sidebarTitle":"Instagram User Highlights","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_insta_user_highlights","playground":"interactive","href":"/tools/fetch_insta_user_highlights"},{"title":"Instagram Highlight Details","sidebarTitle":"Instagram Highlight Details","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_insta_highlight_details","playground":"interactive","href":"/tools/fetch_insta_highlight_details"},{"title":"Instagram Post Count","sidebarTitle":"Instagram Post Count","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_insta_post_count","playground":"interactive","href":"/tools/fetch_insta_post_count"},{"title":"Instagram User Embed","sidebarTitle":"Instagram User Embed","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_insta_user_embed","playground":"interactive","href":"/tools/fetch_insta_user_embed"}]},{"group":"LinkedIn","pages":[{"title":"LinkedIn Profile","sidebarTitle":"LinkedIn Profile","api":"GET https://api.creatorinsights.in/v1/linkedin/profile","playground":"interactive","href":"/tools/fetch_linkedin_profile"},{"title":"LinkedIn Company","sidebarTitle":"LinkedIn Company","api":"GET https://api.creatorinsights.in/v1/linkedin/company","playground":"interactive","href":"/tools/fetch_linkedin_company"},{"title":"LinkedIn Company Posts","sidebarTitle":"LinkedIn Company Posts","api":"GET https://api.creatorinsights.in/v1/linkedin/posts","playground":"interactive","href":"/tools/fetch_linkedin_company_posts"},{"title":"LinkedIn Posts","sidebarTitle":"LinkedIn Posts","api":"GET https://api.creatorinsights.in/v1/linkedin/search-posts","playground":"interactive","href":"/tools/search_linkedin_posts"},{"title":"LinkedIn Post Info","sidebarTitle":"LinkedIn Post Info","api":"GET https://api.creatorinsights.in/v1/linkedin/post-info","playground":"interactive","href":"/tools/fetch_linkedin_post_info"},{"title":"LinkedIn Post Transcript","sidebarTitle":"LinkedIn Post Transcript","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_linkedin_post_transcript","playground":"interactive","href":"/tools/fetch_linkedin_post_transcript"}]},{"group":"Bluesky","pages":[{"title":"Bluesky Profile","sidebarTitle":"Bluesky Profile","api":"GET https://api.creatorinsights.in/v1/bluesky/profile","playground":"interactive","href":"/tools/fetch_bluesky_profile"},{"title":"Bluesky Posts","sidebarTitle":"Bluesky Posts","api":"GET https://api.creatorinsights.in/v1/bluesky/posts","playground":"interactive","href":"/tools/fetch_bluesky_posts"},{"title":"Bluesky Post Details","sidebarTitle":"Bluesky Post Details","api":"GET https://api.creatorinsights.in/v1/bluesky/post-details","playground":"interactive","href":"/tools/fetch_bluesky_post_details"}]},{"group":"TikTok","pages":[{"title":"TikTok Profile","sidebarTitle":"TikTok Profile","api":"GET https://api.creatorinsights.in/v1/tiktok/profile","playground":"interactive","href":"/tools/fetch_tiktok_profile"},{"title":"TikTok Profile Region","sidebarTitle":"TikTok Profile Region","api":"GET https://api.creatorinsights.in/v1/tiktok/videos-feed","playground":"interactive","href":"/tools/fetch_tiktok_profile_region"},{"title":"TikTok Collection Videos","sidebarTitle":"TikTok Collection Videos","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_tiktok_collection_videos","playground":"interactive","href":"/tools/fetch_tiktok_collection_videos"},{"title":"TikTok Videos","sidebarTitle":"TikTok Videos","api":"GET https://api.creatorinsights.in/v1/tiktok/videos","playground":"interactive","href":"/tools/fetch_tiktok_videos"},{"title":"TikTok Video Info","sidebarTitle":"TikTok Video Info","api":"GET https://api.creatorinsights.in/v1/tiktok/video-info","playground":"interactive","href":"/tools/fetch_tiktok_video_info"},{"title":"TikTok Transcript","sidebarTitle":"TikTok Transcript","api":"GET https://api.creatorinsights.in/v1/tiktok/transcript","playground":"interactive","href":"/tools/fetch_tiktok_transcript"},{"title":"TikTok User Live","sidebarTitle":"TikTok User Live","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_tiktok_user_live","playground":"interactive","href":"/tools/fetch_tiktok_user_live"},{"title":"TikTok Live Info","sidebarTitle":"TikTok Live Info","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_tiktok_live_info","playground":"interactive","href":"/tools/fetch_tiktok_live_info"},{"title":"TikTok Comments","sidebarTitle":"TikTok Comments","api":"GET https://api.creatorinsights.in/v1/tiktok/comments","playground":"interactive","href":"/tools/fetch_tiktok_comments"},{"title":"TikTok Comment Replies","sidebarTitle":"TikTok Comment Replies","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_tiktok_comment_replies","playground":"interactive","href":"/tools/fetch_tiktok_comment_replies"},{"title":"TikTok User Following","sidebarTitle":"TikTok User Following","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_tiktok_user_following","playground":"interactive","href":"/tools/fetch_tiktok_user_following"},{"title":"TikTok User Followers","sidebarTitle":"TikTok User Followers","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_tiktok_user_followers","playground":"interactive","href":"/tools/fetch_tiktok_user_followers"},{"title":"TikTok Users","sidebarTitle":"TikTok Users","api":"POST https://api.creatorinsights.in/api/v1/tools/search_tiktok_users","playground":"interactive","href":"/tools/search_tiktok_users"},{"title":"TikTok Suggestions","sidebarTitle":"TikTok Suggestions","api":"POST https://api.creatorinsights.in/api/v1/tools/search_tiktok_suggestions","playground":"interactive","href":"/tools/search_tiktok_suggestions"},{"title":"TikTok Hashtag","sidebarTitle":"TikTok Hashtag","api":"POST https://api.creatorinsights.in/api/v1/tools/search_tiktok_hashtag","playground":"interactive","href":"/tools/search_tiktok_hashtag"},{"title":"TikTok Keyword","sidebarTitle":"TikTok Keyword","api":"POST https://api.creatorinsights.in/api/v1/tools/search_tiktok_keyword","playground":"interactive","href":"/tools/search_tiktok_keyword"},{"title":"TikTok Top","sidebarTitle":"TikTok Top","api":"GET https://api.creatorinsights.in/v1/tiktok/search","playground":"interactive","href":"/tools/search_tiktok_top"},{"title":"TikTok Popular Creators","sidebarTitle":"TikTok Popular Creators","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_tiktok_popular_creators","playground":"interactive","href":"/tools/fetch_tiktok_popular_creators"},{"title":"TikTok Song Details","sidebarTitle":"TikTok Song Details","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_tiktok_song_details","playground":"interactive","href":"/tools/fetch_tiktok_song_details"},{"title":"TikTok Song Videos","sidebarTitle":"TikTok Song Videos","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_tiktok_song_videos","playground":"interactive","href":"/tools/fetch_tiktok_song_videos"},{"title":"TikTok Trending Feed","sidebarTitle":"TikTok Trending Feed","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_tiktok_trending_feed","playground":"interactive","href":"/tools/fetch_tiktok_trending_feed"}]},{"group":"X (Twitter)","pages":[{"title":"X Profile","sidebarTitle":"X Profile","api":"GET https://api.creatorinsights.in/v1/twitter/profile","playground":"interactive","href":"/tools/fetch_x_profile"},{"title":"X Tweets","sidebarTitle":"X Tweets","api":"GET https://api.creatorinsights.in/v1/twitter/tweets","playground":"interactive","href":"/tools/fetch_x_tweets"},{"title":"X Post Info","sidebarTitle":"X Post Info","api":"GET https://api.creatorinsights.in/v1/twitter/post-info","playground":"interactive","href":"/tools/fetch_x_post_info"},{"title":"X Transcript","sidebarTitle":"X Transcript","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_x_transcript","playground":"interactive","href":"/tools/fetch_x_transcript"},{"title":"X Community","sidebarTitle":"X Community","api":"POST https://api.creatorinsights.in/api/v1/tools/fetch_x_community","playground":"interactive","href":"/tools/fetch_x_community"},{"title":"X Community Tweets","sidebarTitle":"X Community Tweets","api":"GET https://api.creatorinsights.in/v1/twitter/search","playground":"interactive","href":"/tools/fetch_x_community_tweets"}]},{"group":"Reddit","pages":[{"title":"Reddit Subreddit Info","sidebarTitle":"Reddit Subreddit Info","api":"GET https://api.creatorinsights.in/v1/reddit/subreddit-info","playground":"interactive","href":"/tools/fetch_reddit_subreddit_info"},{"title":"Reddit Subreddit Posts","sidebarTitle":"Reddit Subreddit Posts","api":"GET https://api.creatorinsights.in/v1/reddit/subreddit-posts","playground":"interactive","href":"/tools/fetch_reddit_subreddit_posts"},{"title":"Reddit Subreddit","sidebarTitle":"Reddit Subreddit","api":"GET https://api.creatorinsights.in/v1/reddit/search-subreddits","playground":"interactive","href":"/tools/search_reddit_subreddit"},{"title":"Reddit Post Details","sidebarTitle":"Reddit Post Details","api":"GET https://api.creatorinsights.in/v1/reddit/post-details","playground":"interactive","href":"/tools/fetch_reddit_post_details"},{"title":"Reddit Comments","sidebarTitle":"Reddit Comments","api":"GET https://api.creatorinsights.in/v1/reddit/comments","playground":"interactive","href":"/tools/fetch_reddit_comments"},{"title":"Reddit Post Transcript","sidebarTitle":"Reddit Post Transcript","api":"GET https://api.creatorinsights.in/v1/reddit/transcript","playground":"interactive","href":"/tools/fetch_reddit_post_transcript"},{"title":"Reddit","sidebarTitle":"Reddit","api":"GET https://api.creatorinsights.in/v1/reddit/search-posts","playground":"interactive","href":"/tools/search_reddit"}]},{"group":"Ad Intelligence","pages":[{"title":"Facebook Ad Details","sidebarTitle":"Facebook Ad Details","api":"GET https://api.creatorinsights.in/v1/facebook/ad-library","playground":"interactive","href":"/tools/fetch_facebook_ad_details"},{"title":"Facebook Ad Transcript","sidebarTitle":"Facebook Ad Transcript","api":"GET https://api.creatorinsights.in/v1/ad-intelligence/meta-ad-transcript","playground":"interactive","href":"/tools/fetch_facebook_ad_transcript"},{"title":"Facebook Ads","sidebarTitle":"Facebook Ads","api":"GET https://api.creatorinsights.in/v1/ad-intelligence/meta-ads-search","playground":"interactive","href":"/tools/search_facebook_ads"},{"title":"Facebook Company Ads","sidebarTitle":"Facebook Company Ads","api":"GET https://api.creatorinsights.in/v1/ad-intelligence/meta-company-ads","playground":"interactive","href":"/tools/fetch_facebook_company_ads"},{"title":"Facebook Ad Companies","sidebarTitle":"Facebook Ad Companies","api":"GET https://api.creatorinsights.in/v1/ad-intelligence/meta-advertisers-search","playground":"interactive","href":"/tools/search_facebook_ad_companies"},{"title":"TikTok Ads","sidebarTitle":"TikTok Ads","api":"GET https://api.creatorinsights.in/v1/ad-intelligence/tiktok-ads-search","playground":"interactive","href":"/tools/search_tiktok_ads"},{"title":"TikTok Ad Details","sidebarTitle":"TikTok Ad Details","api":"GET https://api.creatorinsights.in/v1/ad-intelligence/tiktok-ad-details","playground":"interactive","href":"/tools/fetch_tiktok_ad_details"},{"title":"Google Company Ads","sidebarTitle":"Google Company Ads","api":"GET https://api.creatorinsights.in/v1/ad-intelligence/google-company-ads","playground":"interactive","href":"/tools/fetch_google_company_ads"},{"title":"Google Ad Details","sidebarTitle":"Google Ad Details","api":"GET https://api.creatorinsights.in/v1/ad-intelligence/google-ad-details","playground":"interactive","href":"/tools/fetch_google_ad_details"},{"title":"Google Advertisers","sidebarTitle":"Google Advertisers","api":"GET https://api.creatorinsights.in/v1/ad-intelligence/google-advertisers-search","playground":"interactive","href":"/tools/search_google_advertisers"},{"title":"LinkedIn Ads","sidebarTitle":"LinkedIn Ads","api":"GET https://api.creatorinsights.in/v1/ad-intelligence/linkedin-ads-search","playground":"interactive","href":"/tools/search_linkedin_ads"},{"title":"LinkedIn Ad Details","sidebarTitle":"LinkedIn Ad Details","api":"GET https://api.creatorinsights.in/v1/ad-intelligence/linkedin-ad-details","playground":"interactive","href":"/tools/fetch_linkedin_ad_details"}]},{"group":"Threads","pages":[{"title":"Threads Profile","sidebarTitle":"Threads Profile","api":"GET https://api.creatorinsights.in/v1/threads/profile","playground":"interactive","href":"/tools/fetch_threads_profile"},{"title":"Threads Posts","sidebarTitle":"Threads Posts","api":"GET https://api.creatorinsights.in/v1/threads/posts","playground":"interactive","href":"/tools/fetch_threads_posts"},{"title":"Threads Post Details","sidebarTitle":"Threads Post Details","api":"GET https://api.creatorinsights.in/v1/threads/thread-details","playground":"interactive","href":"/tools/fetch_threads_post_details"},{"title":"Threads","sidebarTitle":"Threads","api":"GET https://api.creatorinsights.in/v1/threads/search-posts","playground":"interactive","href":"/tools/search_threads"},{"title":"Threads Users","sidebarTitle":"Threads Users","api":"GET https://api.creatorinsights.in/v1/threads/search-users","playground":"interactive","href":"/tools/search_threads_users"}]}]},{"group":"Creator Audits","pages":[{"title":"Audit Instagram Profile","sidebarTitle":"Audit Instagram Profile","api":"POST https://api.creatorinsights.in/api/v1/tools/audit_instagram_profile","playground":"interactive","href":"/tools/audit_instagram_profile"},{"title":"Audit YouTube Channel","sidebarTitle":"Audit YouTube Channel","api":"POST https://api.creatorinsights.in/api/v1/tools/audit_youtube_channel","playground":"interactive","href":"/tools/audit_youtube_channel"},{"title":"Audit TikTok Profile","sidebarTitle":"Audit TikTok Profile","api":"POST https://api.creatorinsights.in/api/v1/tools/audit_tiktok_profile","playground":"interactive","href":"/tools/audit_tiktok_profile"},{"title":"Audit X Profile","sidebarTitle":"Audit X Profile","api":"POST https://api.creatorinsights.in/api/v1/tools/audit_x_profile","playground":"interactive","href":"/tools/audit_x_profile"}]},{"group":"Competitor Tracking","pages":[{"title":"Get competitors","sidebarTitle":"Get competitors","api":"GET https://api.creatorinsights.in/v1/competitor-tracking","playground":"interactive","href":"/tools/get_tracked_competitors"},{"title":"Add competitor","sidebarTitle":"Add competitor","api":"POST https://api.creatorinsights.in/v1/competitor-tracking","playground":"interactive","href":"/tools/add_tracked_competitor"},{"title":"Update competitor","sidebarTitle":"Update competitor","api":"PATCH https://api.creatorinsights.in/v1/competitor-tracking","playground":"interactive","href":"/tools/update_competitor_tracking"},{"title":"Delete competitor","sidebarTitle":"Delete competitor","api":"DELETE https://api.creatorinsights.in/v1/competitor-tracking","playground":"interactive","href":"/tools/remove_tracked_competitor"},{"title":"Competitor Tracking","href":"/competitor-tracking-2"}]},{"group":"Workspaces","pages":[{"title":"List Workspaces","sidebarTitle":"List Workspaces","api":"POST https://api.creatorinsights.in/api/v1/tools/list_workspaces","playground":"interactive","href":"/tools/list_workspaces"},{"title":"Workspace Context","sidebarTitle":"Workspace Context","api":"POST https://api.creatorinsights.in/api/v1/tools/get_workspace_context","playground":"interactive","href":"/tools/get_workspace_context"},{"title":"Workspace Publishing Options","sidebarTitle":"Workspace Publishing Options","api":"POST https://api.creatorinsights.in/api/v1/tools/get_workspace_publishing_options","playground":"interactive","href":"/tools/get_workspace_publishing_options"},{"title":"Create Workspace","sidebarTitle":"Create Workspace","api":"POST https://api.creatorinsights.in/api/v1/tools/create_workspace","playground":"interactive","href":"/tools/create_workspace"},{"title":"Update Workspace","sidebarTitle":"Update Workspace","api":"POST https://api.creatorinsights.in/api/v1/tools/update_workspace","playground":"interactive","href":"/tools/update_workspace"},{"title":"Workspace Credit Usage","sidebarTitle":"Workspace Credit Usage","api":"POST https://api.creatorinsights.in/api/v1/tools/get_workspace_credit_usage","playground":"interactive","href":"/tools/get_workspace_credit_usage"}]},{"group":"Popular Video Search","root":{"title":"Popular Video Search","href":"/popular-video-search"},"pages":[{"title":"Find popular videos","sidebarTitle":"Find popular videos","api":"POST https://api.creatorinsights.in/v1/video-inspiration/search","playground":"interactive","href":"/tools/find_popular_videos"}]}]}]},"basePath":"","title":"Multi Platform Post - Creator Insights","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","SectionHeading-K1iuDm9j.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js"]}