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.pdfOptions
| Name | Description |
|---|---|
--output, -o | Write the bytes to this file instead of stdout |
--url | Print the short-lived download URL instead of downloading |
Related
| Name | Description |
|---|---|
bird whatsapp agents files delete | Remove one of an agent's files |
bird whatsapp agents files get | Get one of an agent's files |
bird whatsapp agents files list | List an agent's files |
bird whatsapp agents files upload | Upload a file to an agent |
Related resources
Continue with the documentation, guides and examples for this topic.