# `bird whatsapp agents websites create`

## Usage

```bash
bird whatsapp agents websites create <number-id> <url> [flags]
```

## Description

Add a website to an agent

Give the agent on this WhatsApp number a website to learn from. WhatsApp reads it in the background, so check the entry's `crawl_status` with `bird whatsapp agents websites get` before expecting answers from it.

Build the request from the &lt;url> argument, a JSON WhatsAppAgentWebsiteCreate body via
--body-file ("-" reads stdin), or both — an inline value overrides the matching
body field. Run --example to print a ready-to-edit body, or --dry-run to print
the resolved request without sending it.

## Examples

```bash
# print the body shape (no credentials needed)
bird whatsapp agents websites create --example

# the body it prints:
```

```json
{
  "url": "https://example.com/help/delivery"
}
```

## Options

#### Request

| Name                | Description                                                  |
| ------------------- | ------------------------------------------------------------ |
| `--body-file`       | Read the JSON request body from this file; "-" reads stdin   |
| `--example`         | Print a complete example request body, then exit             |
| `--dry-run`         | Print the resolved request without sending it, then exit     |
| `--idempotency-key` | Deduplication key; a retry with the same key won't act twice |

#### Options

| Name                | Description                                      |
| ------------------- | ------------------------------------------------ |
| `--response-schema` | Print the fields this command returns, then exit |

## Related

| Name                                                                                          | Description                                      |
| --------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [`bird whatsapp agents websites delete`](/docs/cli/reference/whatsapp-agents-websites-delete) | Remove one of an agent's websites                |
| [`bird whatsapp agents websites get`](/docs/cli/reference/whatsapp-agents-websites-get)       | Get one of an agent's websites                   |
| [`bird whatsapp agents websites list`](/docs/cli/reference/whatsapp-agents-websites-list)     | List an agent's websites                         |
| [`bird whatsapp agents websites update`](/docs/cli/reference/whatsapp-agents-websites-update) | Change the address of one of an agent's websites |

## 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)
