Sign inGet started

bird whatsapp suppressions add

Usage

Code example
bird whatsapp suppressions add [flags]

Description

Create a WhatsApp suppression
Record a WhatsApp address on the workspace suppression list.
Build the request from flags, a JSON WhatsAppSuppressionCreate 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 suppressions add --example

# the body it prints:
Code example
{
  "address": "+5511977670804"
}

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
--addressWhatsApp address to suppress. For a phone number, supply canonical E.164 with a leading plus sign, such as +5511977670804. A value that is not a valid phone number returns a 422. (required; or in --body-file)
--wabaLimit the suppression to messages sent from this WhatsApp Business Account, identified by its WhatsApp-issued account ID. Omit it to block the address for the whole workspace, whichever account sends.
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird whatsapp suppressions getGet a WhatsApp suppression
bird whatsapp suppressions listList WhatsApp suppressions
bird whatsapp suppressions removeEnd a WhatsApp suppression