Import To Library
Import product links or watched products into the Product Library: one task per entry, all in one new batch, optionally with a workflow and folders. Costs credits when the workflow is priced.
idempotency_key?|Send a fresh value (e.g. a uuid) per import and reuse it on retry: a repeat with the same body returns the first import.
application/json- body
Only the tool's argument list: Rust validates every field.
entries?Entries1 to 10000 entries, each {"url": "https://..."} or {"watched_product_id": ""}.
folder_ids?Folder IdsProduct Library folder ids (uuids) to file into.
task_blueprint_id?Task Blueprint IdWorkflow (blueprint) id to run on every product.
import_profile_id?Import Profile IdImport profile (uuid) whose settings apply.
exclude_library_folder_ids?Exclude Library Folder IdsSkip entries whose link already sits in these folders or below.
exclude_by_image?Exclude By ImageAlso skip products matching by image.
image_output?Image Output{"format": "png"} or {"format": "webp", "webp_quality": 1-100}.
options?OptionsImport options of the workflow.
source_extras?Source ExtrasOne object or null per entry, in entry order.
[key: string]?anySuccessful Response
response?unknownapplication/jsoncurl -X POST 'https://app.copyhero.app/api/v1/library/mcp/imports' \ -H 'Content-Type: application/json' \ -d '{}'null