Skip to main content
POST
After the client uploads bytes directly to GCP, verify the completed object and obtain file_url. Pass that file_url to any supported publishing tool, reusing it across platforms. Upload URL and file URL are different. 409 UPLOAD_INCOMPLETE means transfer is unfinished; do not publish yet. Completion is safe to repeat. New uploads use the existing dashboard storage and direct media URLs; their availability follows managed retention. Legacy signed URLs can expire. Creator Insights retains managed media for scheduled posts. Deletes media after all referencing posts/platforms finish; failed posts retain a 24-hour retry window. Unused uploads expire after 24 hours. Verified uploads cost 2 credits once at completion; initialization and repeated completion are not charged again.
Examples use illustrative values. The playground sends a real request. Intelligence can consume plan credits. Publishing examples save drafts.

Endpoint

POST https://api.creatorinsights.in/v1/media/complete-upload Content type: application/json Authentication: x-api-key: YOUR_SAVED_API_KEY MCP tool: complete_media_upload. See MCP Setup for AI clients.

Request parameters

string
Active workspace ID or current name in your organization. Optional header alternative to passing workspace in the body.
string
required
upload_id returned by create_media_upload.
string
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.

Request example

Send these arguments directly as the JSON body.

Response example

HTTP 200. Illustrative values; optional fields can be omitted, null, or empty. Additional platform fields may be returned.

Response fields

boolean
required
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.
The interactive schema includes deeper nested fields. Sample fields are descriptive, not a promise that every record includes them.

n8n and JSON tool endpoint

POST https://api.creatorinsights.in/api/v1/tools/complete_media_upload. 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.

Errors

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.

File transfer and retention

See Media uploads for direct file transfer, resumable uploads, n8n binary handling, MCP attachment limits, signed URLs and deletion after all publishing finishes.