Import one attached photo or video, or a public media URL, into this workspace’s Hive Asset Library so a post can use it. Supply exactly one of file or url. This publishes nothing. Private network addresses, insecure redirects, files over 100 MB and unsupported types are refused.

post/api/v1/tools/upload_media_from_url

Request

  • Base URL: https://hivepublish.com
  • URL: https://hivepublish.com/api/v1/tools/upload_media_from_url
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Required for every write.

Request body

urlstring

The public link to the photo or video.

titlestring

A name for the Asset Library item.

altTextstring

Accessibility text saved with the item.

folderIdstring

An Asset Library folder to file it in.

channelGroupIdstring

An accessible channel group from read_media_library. Required when the library saves assets per group.

Response

Tool result

dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.