Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
twilio-cli
Advanced tools
Unleash the power of Twilio from your command prompt. Visit https://twil.io/cli for documentation.
The default branch name for this repository has been changed to main
as of 07/27/2020.
Head over to the Twilio CLI documentation.
twilio-cli
uses a modified version of Semantic Versioning for all changes. See this document for details.
See the General usage guide.
Review the Examples.
You can review the docs on available plugins and how to install them. If you are interested in writing your own plugin, refer to the plugin authoring docs.
npm install
./bin/run
from the repo directory to run the CLI.Please file a GitHub issue in this repository for any feedback you may have. You may also send feedback via the twilio feedback
command.
MIT
2.30.0 (2021-09-23)
Events
Messaging
Library - Fix
Messaging
Library - Feature
Api
siprec
resourcesiprec
resourceMessaging
Verify
Library - Chore
Api
calls-transfers
) to usage recordsflex-usage
) to usage recordsConversations
Order
query parameter to Message resource read operationInsights
partial
to enum processing_state_requestMessaging
Pricing
Verify
TemplateSid
optional parameter on Verification creation.Order
to the list Challenges endpoint to define the list order.Library - Fix
Library - Chore
Api
price
, call_sid_to_coach
, and uri
data types for Conference, Participant, and Recording (breaking change)time_limit
in the call api public. (breaking change)Insights
Messaging
Taskrouter
X-Rate-Limit-Limit
, X-Rate-Limit-Remaining
, and X-Rate-Limit-Config
as Response Headers to all TaskRouter endpointsVerify
TemplateSid
optional parameter on Verification creation.whatsapp
as a channel type in the verifications API.Messaging
Library - Fix
Api
domain_sid
in sip_credential_list_mapping and sip_ip_access_control_list_mapping APIs (breaking change)Conversations
Taskrouter
links
to the activity resourceVerify
Version
to Verify Factors Webhooks
to add new fields without breaking old Webhooks.Library - Chore
Conversations
last_read_message_index
and unread_messages_count
type in User Conversation's resource (breaking change)Messaging
Supersim
Taskrouter
transcribe
& transcription_configuration
form params in Reservation update endpoint to have private visibility (breaking change)Library - Feature
Api
status
enum for Messages to include 'canceled'update_status
enum for Messages to include 'canceled'Conversations
binding
Events
Taskrouter
transcribe
& transcription_configuration
form params to Reservation update endpointTrusthub
Verify
challenge
adding the maximum and minimum expected lengths of some fields.notification
by updating the documentation of the field ttl
.Library - Fix
Events
Messaging
sid
field to Preregistered US App To Person responseSupersim
unique_name
in Sim, Fleet, NAP resources as not PIIVideo
Library - Docs
Api
from
and to
param to be endpoint type for supporting client identifier and sip addressBulkexports
Events
Messaging
status
field in us_app_to_person api to campaign_status
(breaking change)Verify
push
factor and include extra information about totp
factor.Library - Chore
Api
from
and to
param to be endpoint type for supporting client identifier and sip addressfrom
and to
param to be endpoint type for supporting client identifier and sip addressBulkexports
Events
Messaging
use_inbound_webhook_on_number
field in Service API for fetch, create, update, readTaskrouter
If-Match
Header based on ETag for Task DeleteVerify
AuthPayload
parameter to support verifying a Challenge
upon creation. This is only supported for totp
factors.Challenge
. This is only supported for push
factors.Api
announcement
event to conference status callback eventstime_limit
in the call create request. (breaking change)Messaging
Supersim
Verify
Binding
field is now returned when creating a Factor
. This value won't be returned for other endpoints.Video
Api
CallToken
for create calls apitime_limit
in the call create request.Bulkexports
Events
Numbers
Supersim
SmsCommandsUrl
, SmsCommandsMethod
and SmsCommandsEnabled
to a Fleet resourceTaskrouter
If-Match
Header based on ETag for Task UpdateETag
as Response Headers to Tasks and ReservationsVideo
Library - Chore
Events
Messaging
Studio
Verify
api.verify.totp
beta feature.Events
Messaging
Trusthub
Verify
Api
from
and to
param to be endpoint type for supporting client identifier and sip addressfrom
and to
param to be endpoint type for supporting client identifier and sip addressEvents
Flex
notifications
and markdown
to Flex ConfigurationMessaging
Serverless
Sync
Studio
Supersim
CommandsUrl
and CommandsMethod
on a FleetApi
Conversations
last_read_message_index
type in Participant's resource (breaking change)Insights
created_time
to call summary.Sync
Video
Library - Chore
Api
call_event
default_output_properties to request and response.Conversations
last_read_message_index
and last_read_timestamp
to Participant's resource update operationis_notifiable
and is_online
to User's resourcereachability_enabled
parameters to update method for Conversation Service Configuration resourceMessaging
Library - Chore
Api
RecordingTrack
parameter for create calls, create participants, and create call recordingsLibrary - Fix
Api
RecordingTrack
parameter for create calls, create participants, and create call recordings (breaking change)RecordingTrack
parameter for create calls and create call recordingsrecording_track
in the participant create requestLookups
caller_name
and carrier
properties type to object (breaking change)Trunking
Library - Fix
Api
Conversations
Insights
Serverless
Sync
Verify
Details
and HiddenDetails
properties are now marked as PII
expiration_date
attribute updated to set a default value of five (5) minutes and to allow max dates of one (1) hour after creation.identity
attribute updated to allow values between 8 and 64 characters.Api
verify-push
to usage_record
APIBulkexports
Insights
Ip_messaging
Verify
preview
to beta
twilio_sandbox_mode
header was removed from Verify Push resources (breaking change)Video
Ai
Annotation Project
and Annotation Task
endpointsPrimitives
endpointsmeta.total
to the search endpointConversations
Insights
trust
to summary.Preview
Channels
resource. The path is now /BrandedChannels/branded_channel_sid/Channels
(breaking change)Verify
config
and binding
) to use dot notation instead of JSON string (e.i. Before: binding={"alg":"ES256", "public_key": "xxx..."}
, Now: Binding.Alg="ES256"
, Binding.PublicKey="xxx..."
). (breaking change)details
and hidden_details
) to use dot notation instead of JSON string (e.i. Before: details={"message":"Test message", "fields": "[{\"label\": \"Action 1\", \"value\":\"value 1\"}]"}
, Now: details.Message="Test message"
, Details.Fields=["{\"label\": \"Action 1\", \"value\":\"value 1\"}"]
). (breaking change)notify_service_sid
from push
service configuration object. Add Push.IncludeDate
, Push.ApnCredentialSid
and Push.FcmCredentialSid
service configuration parameters. (breaking change)Library - Chore
Library - Chore
Api
call_reason
in the participant create requestMessaging
Serverless
Video
Library - Feature
Accounts
Conversations
Events
Library - Feature
Conversations
Messaging
Numbers
Proxy
Supersim
AccountSid
parameter to Sim resource update requestready
status as an available status for a Sim resourceAi
Bulkexports
Messaging
Numbers
Routes
Trunking
transfer_mode
property on Trunks.Library - Chore
Conversations
Events
Proxy
Supersim
Wireless
Start
and End
parameters from the Data Sessions list endpoint. (breaking change)Library - Feature
Library - Docs
Library - Chore
Messaging
Proxy
Verify
CustomFriendlyName
optional parameter on Verification creation.Challenge
resource to update documentation of both details
and hidden_details
properties.Library - Feature
Library - Fix
Api
Supersim
Library - Docs
Library - Fix
Conversations
Events
Flex
wfm_integrations
Flex Configuration key to private (breaking change)Messaging
Numbers
valid_until
in the Bundles resourceVerify
sms
, totp
and app-push
factor types in Verify push (breaking change)Library - Feature
Api
JitterBufferSize
parameter for creating conference participantlabel
property for conference participantscaller_id
for creating conference participant endpoint.Autopilot
Conversations
Monitor
Numbers
provisionally-approved
as a Supporting Document statusPreview
Authy
resources. (breaking change)Supersim
Verify
api.verify.push
beta featureLibrary - Feature
Api
pstnconnectivity
to usage_record
APINotify
Preview
BrandsInformation
endpoint now returns a single BrandsInformation
Supersim
Library - Fix
Autopilot
Contacts
Numbers
provisionally-approved
as a Bundle statusPreview
kyc-api
preview API
from API Definitions (breaking change)BrandsInformation
endpoint to query brands information stored in KYCApi
reason_conference_ended
and call_sid_ending_conference
to Conference read/fetch/updateAuthy
twilio_authy_sandbox_mode
headers to twilio_sandbox_mode
(breaking change)Twilio-Authy-*
headers to Twilio-Veriry-*
(breaking change)Flex
flex_service_instance_sid
to Flex ConfigurationPreview
Channels
endpoint to brand a phone number for BrandedCallsServerless
Supersim
Trunking
Chore
Api
emergency_caller_sid
parameter to SIP Domaincall_reason
optional property to be treated as PIIAutopilot
Contacts
Events
Numbers
Supersim
Verify
CustomCode
optional parameter on Verification creation.Voice
Library - Fix
Preview
Dispatch
version to preview
Studio
Supersim
Library - Chore
Library - Feature
Api
call_reason
in the call create requestContacts
Studio
flow_valid
to flow_validate
errors
and warnings
from flows error response and added new property named details
warnings
attribute v2 flow POST apiLibrary - Chore
Library - Docs
Api
Authy
Push
when updating a service to send the service level push factor configurationBulkexports
Flex
queue_stats_configuration
and wfm_integrations
to Flex ConfigurationServerless
Supersim
deactivated
status for Super SIM which is replaced by inactive
(breaking change)Library - Chore
Api
emergency_calling_enabled
parameter to SIP Domaincall_reason
in the call create requestAuthy
friendly_name
and config
as optional params to Factor updateconfig
param to Factor creation (breaking change)Preview
SuccessRate
endpoint to ImpressionsRate
for Branded Calls (fka. Verified by Twilio) (breaking change)Library - Feature
Library - Fix
Authy
configuration
property to services to return the service level configurationsPush
when creating a service to send the service level push factor configurationMessaging
Preview
/Devices
register Branded Calls endpoint, as per iOS sample app deprecation (breaking change)Twilio-Sandbox-Mode
request header from the Branded Calls endpoints, as not officially supported (breaking change)Verify
version from preview
subdomain in favor to verify
subdomain. (breaking change)Serverless
Supersim
inactive
status for Super SIM which is an alias for deactivated
Taskrouter
priority
in task endpointVerify
SendCodeAttempts
type. It's an array of objects instead of a unique object. (breaking change)Api
async_amd
, async_amd_status_callback
, and async_amd_status_callback_method
publictrunk_sid
as an optional field to Call resource fetch/read responsesqueue_time
to successful response of create, fetch, and update requests for Callbyoc
to conference participant create.Authy
Flex
ui_dependencies
to Flex ConfigurationMessaging
Numbers
Studio
Taskrouter
longest_relative_task_age_in_queue
and longest_relative_task_sid_in_queue
to TaskQueue Real Time Statistics API.wait_duration_in_queue_until_accepted
aggregations to TaskQueues Cumulative Statistics endpointVideo
audio_sources
or the video_layout
, but one of them has to be providedaudio_sources
type on the composer HTTP POST command, changed from sid[]
to string[]
(breaking change)audio_sources
or the video_layout
, but one of them has to be providedLibrary - Docs
Library - Fix
Api
status
enum for Messages to include 'partially_delivered'Authy
Autopilot
Verify
SendCodeAttempts
to create verification response.Video
audio_sources
or video_layout
, but on of them has to be providedLibrary - Fix
Api
byoc
to call create request.Flex
creation_on_message
parameter documentationStudio
Verify
AppHash
parameter when creating a Verification.DoNotShareWarningEnabled
parameter to the Service resource.Numbers
Studio
Library - Fix
Preview
/Insights/SuccessRate
endpoint for Businesses Branded Calls (Verified by Twilio)Studio
Verify
MailerSid
property to Verify Service resource.Wireless
data_limit_strategy
to Rate Plan resource.Library
Api
twiml
conditional for create. One of url
, twiml
, or application_sid
is now required.bundle_sid
parameter to /IncomingPhoneNumbers APIChat
last_consumed_message_index
and last_consumption_timestamp
parameters in update method for UserChannel resource (breaking change)Conversations
Messaging
Library
Library
Conversations
Library
Api
twiml
parameter for call createChat
delete
method in UserChannel resourceTaskrouter
Api
persistent_action
parameter publictwiml
optional private parameter for call createAutopilot
Flex
channel_type
options documentationInsights
Messaging
Supersim
Direction
filter parameter to list commands endpointIccid
filter parameter to list sims endpointLibrary
Library
Api
sms-messages-carrierfees
and mms-messages-carrierfees
Conversations
Preview
Sid
for Current Calls (Verified by Twilio), instead of relying in Call.Sid
from Voice API team (breaking change)Supersim
Wireless
account_sid
to Sim update parameters.Library
Library
Library
Api
attempt
to sms_messagesFlex
JanitorEnabled
attribute to Flex Flowfeatures_enabled
Flex Configuration key to private (breaking change)Supersim
Library
Conversations
Supersim
Library
Numbers
Preview
/CPS
, /CurrentCall
, and /Devices
. Please use Authorization: Bearer <xCNAM JWT>
(breaking change)Voice
Library
Library
Api
Conversations
Flex
features_enabled
and serverless_service_sids
to Flex ConfigurationMessaging
Preview
CallSid
to /BrandedCalls
endpointLibrary
Conversations
Flex
outbound_call_flows
object to Flex ConfigurationSupersim
Sync
Wireless
usage_notification_method
and usage_notification_url
properties to rate_plan
.Library
Conversations
Library
Preview
Twilio-Sandbox-Mode
to mock all Voice dependenciesLibrary
Library
Insights
properties
to summary.Preview
Library
Api
friendly_name
optional for applications createLibrary
Api
as_of
date to Usage Record API callsWireless
Library
Autopilot
Preview
X-XCNAM-Sensitive
headers (breaking change)Verify
MessagingConfiguration
resource to verify serviceNote: This release contains breaking changes, check our upgrade guide for detailed migration notes.
Library
Autopilot
Flex
integrations
to Flex ConfigurationInsights
Messaging
Proxy
Sync
Verify
RateLimits
and Buckets
resources to Verify ServicesRateLimits
optional parameter on Verification
creation.Verify
approved
to status enumLibrary
Video
Wireless
imei
to Data Session resource.Library
Api
method
optional for queue members updateChat
webhook.*.format
update parameters in Service resource from public library visibility in v1 (breaking change)Insights
Numbers
Serverless
Taskrouter
channel_optimized_routing
attribute to task-channel endpointWireless
imeisv
from Data Session resource. (breaking change)Moving all related CLI libs to v1.0.0 per npm semver recommendation.
~/.config/@twilio/cli
(Unix) and %LOCALAPPDATA%\@twilio\cli
(Windows) to ~/.twilio
and %USERPROFILE%\.twilio
, respectively.To copy over your existing configuration, run the following commands (Unix):
mkdir ~/.twilio
cp ~/.config/@twilio/cli/config.json ~/.twilio/config.json
FAQs
Unleash the power of Twilio from your command prompt. Visit https://twil.io/cli for don.
The npm package twilio-cli receives a total of 1,128 weekly downloads. As such, twilio-cli popularity was classified as popular.
We found that twilio-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.