Sign inGet started

bird lookup email-batch

Usage

Code example
bird lookup email-batch [flags]

Description

Create a batch of email address lookups
Assess up to 1,000 email addresses in one request. Results preserve input order and duplicates; malformed addresses receive individual assessments. Each answered entry is billed. Use a separate idempotency key per batch and reuse it for retries. Requests are limited to 128 KiB; responses over 256 KiB cannot be replayed and a retry can incur another charge.
Build the request from flags, a JSON EmailLookupBatchRequest 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 lookup email-batch --example

# the body it prints:
Code example
{
  "emails": ["aisha.khan@example.com", "not-an-email"]
}

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
--emails <value>…Addresses to assess in submission order. Surrounding whitespace is trimmed and case is preserved. Malformed addresses receive individual assessments. Duplicates are assessed and billed at each position. The request must also fit within the 128 KiB request-body limit. (required; or in --body-file)
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird lookup emailCreate an email address lookup
bird lookup phone-numberCreate a phone number lookup