Skip to content
Shortcut: /, ⌘K or Ctrl+K

polymorfa connection

Manage Platform connections.

Polymorfa CLI · CLI API requests

View as Markdown

polymorfa connection capabilities

Show the WhatsApp features and limits WhatsApp has enabled for a Connection, as of the Connection's last configuration sync. Beta: the team must be enrolled.

Usage

polymorfa connection capabilities CONNECTION [flags]

Examples

polymorfa connection capabilities support-line
polymorfa connection capabilities support-line --json

Arguments

  • CONNECTIONrequired

    Connection ID or name.

Flags

Also accepts the global flags.

polymorfa connection configuration get

Read effective connection configuration, inheritance sources and revisions.

Usage

polymorfa connection configuration get CONNECTION [flags]

Arguments

  • CONNECTIONrequired

    Connection ID.

Flags

Also accepts the global flags.

polymorfa connection configuration update

Set configuration overrides or reset them to inherited defaults using a revision.

Usage

polymorfa connection configuration update CONNECTION [flags]

Arguments

  • CONNECTIONrequired

    Connection ID.

Flags

  • --input <value>takes a valuerequired

    JSON file or stdin (-), containing revision and configuration.set/reset.

Also accepts the global flags.

polymorfa connection delete

Permanently remove matching connections from management.

Usage

polymorfa connection delete CONNECTIONS [flags]

Arguments

  • CONNECTIONSrequired

    One to 100 connection UUIDs or stable slugs.

Flags

  • --idempotency-key <value>takes a value

    Identify this attempt (a retry counts only rows still present).

  • --yesbooleanrequired

    Confirm permanent removal of every supplied connection.

Also accepts the global flags.

polymorfa connection hybrid-merge-candidates

List same-number Connection pairs that can merge into one Hybrid Link Connection.

List same-number Connection pairs that can merge into one Hybrid Link Connection.

Each pair is one Linked Devices Connection and one Official API Connection that shares the number with the WhatsApp Business app. Merge an eligible pair with connection tier quote KEEP_UUID --tier pro --merge-with OTHER_UUID. A Connection marked "must be kept" uses hosted message storage and cannot be the one merged away. Requires Hybrid Link access.

Usage

polymorfa connection hybrid-merge-candidates [flags]

Example

polymorfa connection hybrid-merge-candidates --project PROJECT_UUID

Flags

Also accepts the global flags.

polymorfa connection list

List connection metadata for the team or one project. Requires an organization API key with connections:read.

Usage

polymorfa connection list [flags]

Examples

polymorfa connection list
polymorfa connection list --project PROJECT_ID --json

Flags

Also accepts the global flags.

polymorfa connection status

Read the stored connection status and reason. Requires an organization API key with connections:read.

Usage

polymorfa connection status CONNECTION [flags]

Example

polymorfa connection status CONNECTION_ID

Arguments

  • CONNECTIONrequired

    Connection ID.

Flags

Also accepts the global flags.

polymorfa connection stop

Request asynchronous stops for matching managed connections.

Usage

polymorfa connection stop CONNECTIONS [flags]

Arguments

  • CONNECTIONSrequired

    One to 100 connection UUIDs or stable slugs.

Flags

  • --idempotency-key <value>takes a value

    Identify this attempt (a retry can enqueue another stop request).

Also accepts the global flags.

polymorfa connection tier confirm

Confirm a reviewed Connection tier quote.

Confirm a reviewed Connection tier quote.

This charges the quoted credits and records any Hybrid Link choice in the quote. The CLI never creates or confirms a replacement quote; after a conflict, review a new quote.

Usage

polymorfa connection tier confirm CONNECTION [flags]

Example

polymorfa connection tier confirm support --quote QUOTE_UUID --yes

Arguments

  • CONNECTIONrequired

    Connection UUID or stable slug that was quoted.

Flags

  • --idempotency-key <value>takes a value

    Identify this confirmation attempt.

  • --quote <value>takes a valuerequired

    Quote ID returned by connection tier quote.

  • --yesbooleanrequired

    Confirm the quoted charge and any Hybrid Link connection change.

Also accepts the global flags.

polymorfa connection tier quote

Preview a Connection tier change without changing the Connection or spending credit.

Preview a Connection tier change without changing the Connection or spending credit.

A Hybrid Link Connection leaving Pro needs a choice: --keep one method, or --split into two Standard Connections. The choice runs when the paid Pro window ends. An upgrade to Pro can merge a same-number pair with --merge-with.

Usage

polymorfa connection tier quote CONNECTION [flags]

Examples

polymorfa connection tier quote support --tier pro
polymorfa connection tier quote support --tier standard --keep linked_devices
polymorfa connection tier quote support --tier standard --split --stay official_api --new-connection-name support-linked
polymorfa connection tier quote CONNECTION_UUID --tier pro --merge-with OTHER_CONNECTION_UUID

Arguments

  • CONNECTIONrequired

    Connection UUID or stable slug. For a merge, this Connection keeps its ID.

Flags

  • --keep <value>takes a value

    Hybrid Link Connection leaving Pro: keep this method and disconnect the other.

    Allowed valueslinked_devicesofficial_api
  • --merge-with <value>takes a value

    With --tier pro: UUID of the same-number Connection to merge into this one. It is removed after its method moves, so it must not use hosted message storage.

  • --new-connection-name <value>takes a value

    With --split: name of the new Connection.

  • --splitboolean

    Hybrid Link Connection leaving Pro: split into two Standard Connections without re-pairing.

  • --stay <value>takes a value

    With --split: the method that stays on this Connection; the other moves to the new Connection.

    Allowed valueslinked_devicesofficial_api
  • --tier <value>takes a valuerequired

    Target tier. "inherit" restores the project default tier.

    Allowed valuesfreestandardproinherit

Also accepts the global flags.

polymorfa connection tier status

Read a Connection tier change and its Hybrid Link transition.

Read a Connection tier change and its Hybrid Link transition.

The tier change is queued until applied or rejected. A Hybrid Link transition reports its own status: scheduled, running, completed, failed or cancelled.

Usage

polymorfa connection tier status CONNECTION QUOTE [flags]

Example

polymorfa connection tier status support QUOTE_UUID

Arguments

  • CONNECTIONrequired

    Connection UUID or stable slug.

  • QUOTErequired

    Quote ID of the tier change.

Flags

Also accepts the global flags.

polymorfa connection view

Read one connection by its ID. Requires an organization API key with connections:read.

Usage

polymorfa connection view CONNECTION [flags]

Example

polymorfa connection view CONNECTION_ID --json

Arguments

  • CONNECTIONrequired

    Connection ID.

Flags

Also accepts the global flags.