Skip to main content
This CLI is deprecated. For the current CLI commands, see Command Reference.

Authentication & Profiles

Phone Numbers

Search & Purchase

Manage Numbers

Messaging

Send Messages

These examples use the deprecated @telnyx/api-cli syntax with the singular resource name telnyx message. Both the long-form flags (--from, --to) and their short aliases (-f, -t) are valid. On the current Go-based CLI the equivalent is telnyx messages send --from <from> --to <to> --text "Hello!" — see Send Messages in the current reference.

List & Retrieve

Messaging Profiles

Voice

Make Calls

Call Control

Voice Profiles & Connections

10DLC

Interactive Setup

Brand Management

Campaign Management

Billing

Verification

Shell Autocomplete

Global Options

To override the API key for a single command, set the TELNYX_API_KEY environment variable instead of a flag.

Migration to New CLI

See the Legacy CLI Overview for a command mapping to the new Go-based CLI.