Skip to main content

band tendlc campaign list

List 10DLC campaigns

Synopsis​

Lists campaigns on the account.

This is a summary projection — 19 keys per campaign, versus the 45 keys 'campaign get' returns. A field that is missing here may simply not be part of the listing projection, not null on the campaign; use 'campaign get ' for the full resource.

There is no --usecase filter: measured against production, usecase is accepted under both eq and contains and silently ignored either way, returning every campaign rather than filtering. It is also not among the accepted query parameters for this endpoint in either spec file. Filter client-side on the output of --all instead.

band tendlc campaign list [flags]

Examples​

band tendlc campaign list --plain
band tendlc campaign list --all --plain
band tendlc campaign list --status REGISTERED --plain
band tendlc campaign list --brand-id-contains BEXMPL1 --plain

Options​

--all Fetch every page (cannot be combined with --offset)
--brand-id-contains string Filter to campaigns whose owning brand ID contains this substring (e.g. BEXMPL1 also matches BEXMPL12); the API has no exact-match operator for this field
--campaign-id-contains string Filter by campaign ID substring (e.g. CEXMPL1 also matches CEXMPL12); the API has no exact-match operator for this field, use 'campaign get <id>' for a single campaign
--campaign-name-contains string Filter by campaign name substring
-h, --help help for list
--limit int Page size (default 50)
--offset int Pagination offset
--status string Filter by campaign status, exact match
--vetting-status string Filter by vetting status, exact match

Options inherited from parent commands​

--account-id string Bandwidth account ID (overrides config)
--environment string API environment: prod, test (overrides config)
--format string Output format: json or table (default "json")
--plain Simplified flat JSON output (recommended for scripts and agents)

SEE ALSO​