A2P 10DLC Campaign Vetting Delays: Twilio cannot approve 10DLC Campaigns ourselves, and must rely on third parties who control our connections to carriers to sign off. These external processes are creating several week delays for our customers. We continue to escalate these issues and are working to reduce delays wherever possible. Further details will be shared in the Campaign Vetting Changes article as they become available.

Split a Twilio CLI Command into Multiple Lines

Twilio CLI commands may require multiple parameters. In these situations, it can be helpful to break up a command across multiple lines - especially when sharing commands with someone else, or giving an example. This guide explains how to split your commands, and gives sample code for different environments.

Notice: CLI command examples may need to swap line continuation characters between \ and ` depending on your shell.

PowerShell (Windows)

For PowerShell users, line continuation is done by ending the line with a space and the backtick character, `.

Example

twilio api:core:messages:create `
  --from "+XXXXXXXXX" `
  --to "+XXXXXXXXX" `
  --body "I love Twilio"

Zsh / Bash (MacOS and Linux)

For MacOS and Linux terminal users, line continuation is done by ending the line with a space and the backslash character, \.

Example

twilio api:core:messages:create \
  --from "+XXXXXXXXX" \
  --to "+XXXXXXXXX" \
  --body "I love Twilio"
Have more questions? Submit a request
Powered by Zendesk