# `bird whatsapp agents create`

## Usage

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

## Description

Onboard an agent on one WhatsApp number. The agent starts turned off and answering nobody, so nothing a contact sees changes. A number WhatsApp has not found eligible is refused with a `412`, and so is an account whose business AI terms are outstanding; each carries the step that resolves it. A number that already has an agent returns it with a `200`. The agent is `pending` while WhatsApp prepares it, and changes to its settings and lists are refused with `409` until `bird whatsapp agents get` reports `ready`.

## Examples

```bash
bird whatsapp agents create <id>
```

## Options

| Name                | Description                                                  |
| ------------------- | ------------------------------------------------------------ |
| `--idempotency-key` | Deduplication key; a retry with the same key won't act twice |
| `--response-schema` | Print the fields this command returns, then exit             |

## Related

| Name                                                                        | Description                                  |
| --------------------------------------------------------------------------- | -------------------------------------------- |
| [`bird whatsapp agents delete`](/docs/cli/reference/whatsapp-agents-delete) | Delete a WhatsApp number's agent             |
| [`bird whatsapp agents get`](/docs/cli/reference/whatsapp-agents-get)       | Get a WhatsApp number's agent                |
| [`bird whatsapp agents list`](/docs/cli/reference/whatsapp-agents-list)     | List WhatsApp numbers with their agent state |
| [`bird whatsapp agents test`](/docs/cli/reference/whatsapp-agents-test)     | Send an agent a test message                 |

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