Sign inGet Started

bird whatsapp agents faqs update

Usage

Code example
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

Code example
# print the body shape (no credentials needed)
bird whatsapp agents faqs update --example

# the body it prints:
Code example
{
  "answer": "Orders placed before 15:00 on a working day arrive the next working day in the Netherlands and Belgium."
}

Options

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--questionThe question a contact might ask. Omit to leave it as it is.
--answerWhat 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-schemaPrint the fields this command returns, then exit
NameDescription
bird whatsapp agents faqs createAdd a question and answer to an agent
bird whatsapp agents faqs deleteRemove one of an agent's questions and answers
bird whatsapp agents faqs getGet one of an agent's questions and answers
bird whatsapp agents faqs listList an agent's questions and answers

Continue with the documentation, guides and examples for this topic.