# `bird whatsapp numbers precheck`

## Usage

```bash
bird whatsapp numbers precheck <phone-number> [flags]
```

## Description

Check a number against WhatsApp

Check whether WhatsApp will accept a phone number before buying it: take a number from `bird numbers available list`, check it here, and order it with `bird numbers orders create` only if this check answers `available`. It is a write rather than a lookup, so check the number you intend to buy rather than sweeping a list of candidates, and reuse an `Idempotency-Key` to get the stored answer back instead of asking WhatsApp again.

Build the request from the &lt;phone\_number> argument, a JSON WhatsAppNumberPrecheckRequest 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 numbers precheck --example

# the body it prints:
```

```json
{
  "phone_number": "+31612345678"
}
```

## 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 numbers create`](/docs/cli/reference/whatsapp-numbers-create) | Create a WhatsApp number connection |
| [`bird whatsapp numbers delete`](/docs/cli/reference/whatsapp-numbers-delete) | Delete a WhatsApp number connection |
| [`bird whatsapp numbers get`](/docs/cli/reference/whatsapp-numbers-get)       | Get a WhatsApp number               |
| [`bird whatsapp numbers list`](/docs/cli/reference/whatsapp-numbers-list)     | List WhatsApp numbers               |
| [`bird whatsapp numbers update`](/docs/cli/reference/whatsapp-numbers-update) | Update a WhatsApp number name       |