Sahabaa icon

Sahabaa

Upload, download, and manage files in Sahabaa cloud storage

File → Upload From URL

AI-generated

Summary

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).

Discussion