{"version":"0.1.1","commands":{"webhook:invoke":{"id":"webhook:invoke","description":"Emulate a Twilio webhook request to your URL","pluginName":"@twilio-labs/plugin-webhook","pluginType":"core","aliases":[],"examples":["# Invoke with a simulated call event\ntwilio webhook:invoke <your-url> --type=voice\n","# Pass in an explict auth token and Account SID to use\ntwilio webhook:invoke <your-url> --auth-token=$TWILIO_AUTH_TOKEN --account-sid=$TWILIO_ACCOUNT_SID --type=voice\n","# Simulate an SMS with the message \"Hello\"\ntwilio webhook:invoke <your-url> --auth-token=$TWILIO_AUTH_TOKEN --type=sms -d Body=Hello\n","# Skip X-Twilio-Signature header generation\ntwilio webhook:invoke <your-url> --no-signature\n","# Use Account SID from specific CLI profile\ntwilio webhook:invoke <your-url> --auth-token=$TWILIO_AUTH_TOKEN -p <your-profile>"],"flags":{"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress  output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"type":{"name":"type","type":"option","description":"What type of webhook event should it emulate?","helpValue":"(sms|voice)","options":["sms","voice"],"default":"sms"},"method":{"name":"method","type":"option","char":"X","description":"The HTTP method that should be used for the webhook request","helpValue":"(GET|POST)","options":["GET","POST"],"default":"POST"},"auth-token":{"name":"auth-token","type":"option","description":"The Auth Token to use to generate the X-Twilio-Signature. Required unless --no-signature is used. Defaults to value of TWILIO_AUTH_TOKEN environment variable if nothing is passed."},"no-signature":{"name":"no-signature","type":"boolean","description":"Circumvents the generation of the X-Twilio-Signature field","allowNo":false},"include":{"name":"include","type":"boolean","char":"i","description":"Output additional response data such as response headers","allowNo":false},"data-urlencode":{"name":"data-urlencode","type":"option","char":"d","description":"Override a request field. In the format Key=Value. Example: Body=Hello"},"account-sid":{"name":"account-sid","type":"option","description":"The Account SID to use in the event data. Defaults to your active CLI profile or otherwise TWILIO_ACCOUNT_SID environment variable."}},"args":[{"name":"url","description":"The URL of your webhook","required":true,"hidden":false}]}}}