Upload an asset (base64)
$ beeper-desktop-cli assets upload-base64
POST/v1/assets/upload/base64
Upload a file using a JSON body with base64-encoded content. Returns an uploadID that can be referenced when sending messages with attachments. Alternative to the multipart upload endpoint.
Parameters
--content: string
Base64-encoded file content (max ~500MB decoded)
--file-name: optional string
Original filename. Generated if omitted
--mime-type: optional string
MIME type. Auto-detected from magic bytes if omitted
Returns
Upload an asset (base64)
beeper-desktop-cli assets upload-base64 \
--content x{
"duration": 0,
"error": "error",
"fileName": "fileName",
"fileSize": 0,
"height": 0,
"mimeType": "mimeType",
"srcURL": "srcURL",
"uploadID": "uploadID",
"width": 0
}Returns Examples
{
"duration": 0,
"error": "error",
"fileName": "fileName",
"fileSize": 0,
"height": 0,
"mimeType": "mimeType",
"srcURL": "srcURL",
"uploadID": "uploadID",
"width": 0
}