Media
Import media from URL
Store remote images/videos into the workspace library from JSON - direct URLs, social links, Unsplash, etc.
POST
Import media from URL
Sendapplication/json with a list of URLs. The API downloads or resolves each URL (same pipeline as the in-app URL importer: direct image/video links, supported social post URLs, Unsplash, etc.) and creates media library rows in the given workspace.
Response is 200 with media (array of created items) and count_stored. Some inputs produce more than one media object. URLs that fail validation or fetch may be skipped - media can be empty while still returning 200.
For binary uploads from disk, use Upload from file instead.
Request
Workspace that will own the imported files
List of URLs to import (each must be a valid URL, max 2048 characters)
Optional media library folder id belonging to
workspace_idResponse
Created library items; each includes
id for use in POST /posts … content[].mediaNumber of items in
media