Sign inGet started

bird whatsapp numbers precheck

Usage

Esempio di codice
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 <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

Esempio di codice
# print the body shape (no credentials needed)
bird whatsapp numbers precheck --example

# the body it prints:
Esempio di codice
{
  "phone_number": "+31612345678"
}

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
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird whatsapp numbers createCreate a WhatsApp number connection
bird whatsapp numbers deleteDelete a WhatsApp number connection
bird whatsapp numbers getGet a WhatsApp number
bird whatsapp numbers listList WhatsApp numbers
bird whatsapp numbers updateUpdate a WhatsApp number name