Actions18
File → Upload From URL
AI-generatedSummary
Download a file from a URL and upload it to Sahabaa.
Inputs
- url (required) — URL of the file to upload
- parentId — ID of the parent folder (0 or empty for root folder)
- workspaceId — ID of the workspace (0 or empty for personal drive)
Output shape
JSON response from the Sahabaa API containing the uploaded file details.
POST to /api/v1/uploads/from-url with body {url, uploadType:
Examples
Example 1: Upload an image from a public URL to the root folder
Set url to the image URL, leave parentId and workspaceId at their defaults (0).