Sign inGet Started

bird amb send

Usage

Codebeispiel
bird amb send [flags]

Description

Reply to an Apple Messages conversation
Requires an approved business and an open conversation. Queues a billable message; sent means Apple gateway acceptance. The API validates native content.
Build the request from flags, a JSON AMBMessageSendRequest 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

Codebeispiel
# print the body shape (no credentials needed)
bird amb send --example

# the body it prints:
Codebeispiel
{
  "content": {
    "body": "Your order is ready.",
    "type": "text"
  },
  "from": "b52d6267-2b62-4f8a-8842-0533d0f1dc07",
  "to": "opaque-customer-id"
}

Options

Message

NameDescription
--fromApproved Apple business identifier (required; or in --body-file)
--toOpaque customer identifier from an open conversation (required; or in --body-file)
--contentNative text, rich_link, or interactive content as JSON (required; or in --body-file)
--sourceSender identity permitted by the credential: api, automation, or operator

Labels

NameDescription
--categoryCategory label for statistics
--groupDepartment identifier
--intentPurpose of the conversation
--localeApple locale identifier; omitted uses the conversation locale
--metadataPer-message context as a JSON object, up to 2 KB
--tagsStructured labels as a JSON array of name and value objects

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 amb getGet a message
bird amb listList messages
bird amb list-eventsList events for a message