Skip to content
Download Beeper

Assets

Manage assets in Beeper Desktop, like message attachments

Download an asset
POST/v1/assets/download
Upload an asset
POST/v1/assets/upload
Upload an asset (base64)
POST/v1/assets/upload/base64
Serve an asset
GET/v1/assets/serve
ModelsExpand Collapse
AssetDownloadResponse object { error, srcURL }
error: optional string

Error message if the download failed.

srcURL: optional string

Local file URL to the downloaded asset.

AssetUploadResponse object { duration, error, fileName, 6 more }
duration: optional number

Duration in seconds (audio/videos)

error: optional string

Error message if upload failed

fileName: optional string

Resolved filename

fileSize: optional number

File size in bytes

height: optional number

Height in pixels (images/videos)

mimeType: optional string

Detected or provided MIME type

srcURL: optional string

Local file URL (file://) for the uploaded asset

uploadID: optional string

Unique upload ID for this asset

width: optional number

Width in pixels (images/videos)

AssetUploadBase64Response object { duration, error, fileName, 6 more }
duration: optional number

Duration in seconds (audio/videos)

error: optional string

Error message if upload failed

fileName: optional string

Resolved filename

fileSize: optional number

File size in bytes

height: optional number

Height in pixels (images/videos)

mimeType: optional string

Detected or provided MIME type

srcURL: optional string

Local file URL (file://) for the uploaded asset

uploadID: optional string

Unique upload ID for this asset

width: optional number

Width in pixels (images/videos)