Sign inGet Started

bird whatsapp agents files download

Usage

Code example
bird whatsapp agents files download <number-id> <file-id> [flags]

Description

Download a file the agent on a WhatsApp number holds. The file id is the id on an entry from bird whatsapp agents files list.

The bytes are written to --output when set, otherwise to stdout:

bird whatsapp agents files download wan_123 waf_456 --output returns.pdf

--url prints the short-lived download URL (valid for 15 minutes) instead of downloading, for handing to another tool. That URL is pre-authorized and needs no Authorization header; the follow-up request must not send one. --url and --output cannot be combined.

Examples

Code example
bird whatsapp agents files download <number-id> <file-id> --output returns.pdf

Options

NameDescription
--output, -oWrite the bytes to this file instead of stdout
--urlPrint the short-lived download URL instead of downloading
NameDescription
bird whatsapp agents files deleteRemove one of an agent's files
bird whatsapp agents files getGet one of an agent's files
bird whatsapp agents files listList an agent's files
bird whatsapp agents files uploadUpload a file to an agent

Continue with the documentation, guides and examples for this topic.