Import media from a URL
upload_media_from_urlDownload a media file from a public https URL and add it to the workspace library. Supported formats: images (jpg, png, gif, webp, heic), video (mp4, mov, webm), audio (mp3, wav, ogg). 50 MB maximum. Returns the media uuid, to be passed to create_draft_post or create_stories via media_uuids. Use this when the user supplies a link to an image or a video; it does not search the web for one. — FR : importe un média depuis une URL https publique et renvoie son uuid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL publique du fichier à télécharger (https recommandé) | |
| type | No | Dossier de destination. library = bibliothèque partagée, uploads = uploads éphémères. | library |
| filename | No | Nom de fichier forcé (facultatif). Sinon extrait de l'URL. | |
| workspace_uuid | Yes |