band message media upload
Upload a media file for MMS
Synopsis
Uploads a local file to Bandwidth's media storage for use in MMS messages. The resulting media URL can be passed to band message send --media.
band message media upload <file> [flags]
Examples
# Upload with auto-detected content type
band message media upload image.png
# Upload with custom media ID
band message media upload photo.jpg --media-id my-campaign-image.jpg
Options
--content-type string MIME type (auto-detected from file extension if omitted)
-h, --help help for upload
--media-id string Media identifier/filename on Bandwidth (defaults to local filename)
Options inherited from parent commands
--account-id string Bandwidth account ID (overrides config)
--environment string API environment: prod, test (overrides config)
--format string Output format: json or table (default "json")
--plain Simplified flat JSON output (recommended for scripts and agents)
SEE ALSO
- band message media - Manage MMS media files