Skip to main content

band tendlc campaign sync

Re-pull a campaign's current state from TCR

Synopsis​

Syncs a campaign by re-pulling its current state from TCR — for import and direct customers alike.

This is not a create: it posts to the same POST /campaigns endpoint create uses, but a body containing only campaignId (plus campaignName when supplied) is what makes it a sync instead of a new registration. Sending any other key would turn it back into a create, so nothing else is added.

No --wait: this writes against a campaign that is usually already in a terminal state, so polling for one here would return immediately and report success before the sync actually applied.

band tendlc campaign sync <campaign-id> [flags]

Examples​

band tendlc campaign sync CEXMPL1 --plain
band tendlc campaign sync CEXMPL1 --campaign-name "Acme Notifications" --plain

Options​

--campaign-name string Campaign name to send along with the sync
-h, --help help for sync

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​