Skip to main content

band message media get

Download a media file

Synopsis

Downloads a media file by its ID and writes it to the given file path.

band message media get <mediaId> [flags]

Examples

band message media get my-campaign-image.jpg --output image.jpg

Options

-h, --help help for get
--output string File path to write the media to (required)

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