upload

Create upload from URL

Changed on

Add an image or video to your media library by giving bundle.social a public URL to fetch, instead of uploading the bytes yourself. Useful when your media already lives in a CDN or S3 bucket.

post/api/v1/upload/from-url

Request

  • Base URL
    https://api.bundle.social
  • URL
    https://api.bundle.social/api/v1/upload/from-url
  • Auth
    API key in header x-api-key

Request body

teamIdstring nullable
urlstring uri required

Response

200

idstring required
teamIdstring nullable
organizationIdstring nullable
iconUrlstring uri nullable
thumbnailUrlstring uri nullable
urlstring uri nullable
externalLinkstring uri nullable
iconPathstring nullable
thumbnailPathstring nullable
pathstring nullable
type'image' | 'video' | 'document' required
widthnumber nullable
heightnumber nullable
fileSizenumber nullable
videoLengthnumber nullable
mimestring nullable
extstring nullable
createdAtstring date-time nullable required
updatedAtstring date-time nullable required

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status