Import external files
import_mediaDownload public URLs and re-host them on durable Ignix storage, returning stable URLs usable as post media or as the file of a chatbot flow node. Use it for any asset that lives outside Ignix (a signed URL, a temporary CDN link, an image the user gave you): links from other services expire and the post would publish without media. One file with url, or up to 50 at once with urls (an album, a batch of photos): each comes back with its own result. Images, video, audio and PDF/Word/Excel/CSV/ZIP documents are accepted (an SVG, such as a logo from a website, is converted to a PNG about 2000 px wide with a transparent background); anything else is refused, because re-hosting an arbitrary file would put someone else's content on our domain. This needs a URL that is already public — if the file is on the user's machine, use upload_media instead. Docs: https://ignix.social/help/content-library
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public https URL of the file. | |
| type | No | What the file is. Inferred from the URL when omitted, defaulting to image. Audio and documents are for chatbot flow nodes, not for posts. | |
| urls | No | Several public https URLs (up to 50) to import in one call. Use instead of `url`. | |
| description | No | Optional note stored with the asset in the library. | |
| workspaceId | No | Workspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used. | |
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. |