# `bird whatsapp agents faqs update`

## Usage

```bash
bird whatsapp agents faqs update <number-id> <faq-id> [flags]
```

## Description

Update one of an agent's questions and answers

Change one question and answer the agent on this WhatsApp number holds. Omitted fields are left alone, and the change reaches WhatsApp before this returns.

Build the request from flags, a JSON WhatsAppAgentFAQUpdate body via --body-file ("-" reads
stdin), or both — a flag 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 faqs update --example

# the body it prints:
```

```json
{
  "answer": "Orders placed before 15:00 on a working day arrive the next working day in the Netherlands and Belgium."
}
```

## 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                                                                       |
| ------------------------ | --------------------------------------------------------------------------------- |
| `--question`             | The question a contact might ask. Omit to leave it as it is.                      |
| `--answer`               | What the agent answers. Omit to leave it as it is.                                |
| `--metadata <key=value>` | Your own labels on this entry. Replaces the whole set. Omit to leave it as it is. |
| `--response-schema`      | Print the fields this command returns, then exit                                  |

## Related

| Name                                                                                  | Description                                    |
| ------------------------------------------------------------------------------------- | ---------------------------------------------- |
| [`bird whatsapp agents faqs create`](/docs/cli/reference/whatsapp-agents-faqs-create) | Add a question and answer to an agent          |
| [`bird whatsapp agents faqs delete`](/docs/cli/reference/whatsapp-agents-faqs-delete) | Remove one of an agent's questions and answers |
| [`bird whatsapp agents faqs get`](/docs/cli/reference/whatsapp-agents-faqs-get)       | Get one of an agent's questions and answers    |
| [`bird whatsapp agents faqs list`](/docs/cli/reference/whatsapp-agents-faqs-list)     | List an agent's questions and answers          |

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