# `bird whatsapp preview`

## Usage

```bash
bird whatsapp preview [flags]
```

## Description

Returns a preview\_url for the public builder at https://bird.com/tools/whatsapp-message-builder.
The JSON body contains one service message content kind. Sender, recipient,
metadata, and tags are omitted from the link. Templates and reply quotes are
unsupported. The builder checks whether it can represent the content on open.

No authentication is required and no message is sent. Anyone with the link can
read its message content. Content is limited to 24,000 UTF-8 bytes after compaction.
--open also opens the link in your browser.

## Examples

```bash
bird whatsapp preview --body-file message.json --open
cat message.json | bird whatsapp preview --body-file -
```

## Options

| Name          | Description                           |
| ------------- | ------------------------------------- |
| `--body-file` | Message JSON file, or - to read stdin |
| `--open`      | Open the preview link in your browser |

## Related

| Name                                                                    | Description                                  |
| ----------------------------------------------------------------------- | -------------------------------------------- |
| [`bird whatsapp get`](/docs/cli/reference/whatsapp-get)                 | Get a WhatsApp message                       |
| [`bird whatsapp list`](/docs/cli/reference/whatsapp-list)               | List WhatsApp messages                       |
| [`bird whatsapp list-events`](/docs/cli/reference/whatsapp-list-events) | List events for a WhatsApp message           |
| [`bird whatsapp media`](/docs/cli/reference/whatsapp-media)             | Download a received WhatsApp message's media |
| [`bird whatsapp send`](/docs/cli/reference/whatsapp-send)               | Send a WhatsApp message to one recipient     |

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
