canvas comm-channels create
canvas comm-channels create¶
Create a communication channel for a user
Synopsis¶
Create a new communication channel for a user.
Channel types: email, sms, push, twitter, yo
Examples:
canvas comm-channels create --user-id 123 --address "user@example.com" --type email
canvas comm-channels create --user-id 123 --address "+15551234567" --type sms --skip-confirmation
Options¶
--address string Channel address, e.g. email address or phone number (required)
-h, --help help for create
--skip-confirmation Skip confirmation (admin only)
--type string Channel type: email, sms, push, twitter, yo (required)
--user-id int User ID (required)
Options inherited from parent commands¶
--as-user int Masquerade as another user (admin feature, requires permission)
--columns strings Select specific columns to display (comma-separated)
--config string config file (default is $HOME/.canvas-cli/config.yaml)
--dry-run Print curl commands instead of executing requests
--filter string Filter results by text (case-insensitive substring match)
--instance string Canvas instance URL (overrides config)
--limit int Limit number of results for list operations (0 = unlimited)
--no-cache Disable caching of API responses
-o, --output string Output format: table, json, yaml, csv (default "table")
--quiet Suppress informational messages, only output data and errors
--show-token Show actual token in dry-run output (default: redacted)
--sort string Sort results by field (prefix with - for descending, e.g., -name)
-v, --verbose Enable verbose output
SEE ALSO¶
- canvas comm-channels - Manage communication channels