Here you can see the full list of changes between each twilio-python release.
Api
- Make call create parameters
async_amd
,async_amd_status_callback
, andasync_amd_status_callback_method
public - Add
trunk_sid
as an optional field to Call resource fetch/read responses - Add property
queue_time
to successful response of create, fetch, and update requests for Call - Add optional parameter
byoc
to conference participant create.
Authy
- Added support for challenges associated to push factors
Flex
- Adding
ui_dependencies
to Flex Configuration
Messaging
- Deprecate Session API (breaking change)
Numbers
- Add Regulations API
Studio
- Add Execution and Step endpoints to v2 API
- Add webhook_url to Flow response and add new /TestUsers endpoint to v2 API
Taskrouter
- Adding
longest_relative_task_age_in_queue
andlongest_relative_task_sid_in_queue
to TaskQueue Real Time Statistics API. - Add
wait_duration_in_queue_until_accepted
aggregations to TaskQueues Cumulative Statistics endpoint - Add TaskQueueEnteredDate property to Tasks.
Video
- [Composer] Clarification for the composition hooks creation documentation: one source is mandatory, either the
audio_sources
or thevideo_layout
, but one of them has to be provided - [Composer]
audio_sources
type on the composer HTTP POST command, changed fromsid[]
tostring[]
(breaking change) - [Composer] Clarification for the composition creation documentation: one source is mandatory, either the
audio_sources
or thevideo_layout
, but one of them has to be provided
Api
- Making content retention and address retention public
- Update
status
enum for Messages to include 'partially_delivered'
Authy
- Added support for push factors
Autopilot
- Add one new property in Query i.e dialogue_sid
Verify
- Add
SendCodeAttempts
to create verification response.
Video
- Clarification in composition creation documentation: one source is mandatory, either
audio_sources
orvideo_layout
, but on of them has to be provided
Twiml
- Add Polly Neural voices.
Library - Docs
- PR #504: baseline all the templated markdown docs. Thanks to @childish-sambino!
Api
- Add payments public APIs
- Add optional parameter
byoc
to call create request.
Flex
- Updating a Flex Flow
creation_on_message
parameter documentation
- Removed Verify v2 from preview in favor of its own namespace as GA (breaking change)
Studio
- Flow definition type update from string to object
Verify
- Add
AppHash
parameter when creating a Verification. - Add
DoNotShareWarningEnabled
parameter to the Service resource.
Twiml
- Add
track
attribute to siprec noun. - Add attribute
byoc
to<Number>
Numbers
- Add Regulatory Compliance CRUD APIs
Studio
- Add parameter validation for Studio v2 Flows API
Twiml
- Add support for
speech_model
toGather
verb
Preview
- Add
/Insights/SuccessRate
endpoint for Businesses Branded Calls (Verified by Twilio)
Studio
- StudioV2 API in beta
Verify
- Add
MailerSid
property to Verify Service resource.
Wireless
- Added
data_limit_strategy
to Rate Plan resource.
Library
- PR #500: feat: support http proxy in TwilioHttpClient. Thanks to @thehackercat!
Api
- Make
twiml
conditional for create. One ofurl
,twiml
, orapplication_sid
is now required. - Add
bundle_sid
parameter to /IncomingPhoneNumbers API - Removed discard / obfuscate parameters from ContentRetention, AddressRetention (breaking change)
Chat
- Added
last_consumed_message_index
andlast_consumption_timestamp
parameters in update method for UserChannel resource (breaking change)
Conversations
- Add Participant SID to Message properties
Messaging
- Fix incorrectly typed capabilities property for ShortCodes. (breaking change)
Library
- PR #501: BREAKING CHANGE feat: add custom HTTP header support. Thanks to @eshanholtz! (breaking change)
- PR #502: fix: regenerate python lib with yoyodyne refactor. Thanks to @eshanholtz!
- PR #499: docs: add supported language versions to README. Thanks to @childish-sambino!
Api
- Add optional
twiml
parameter for call create
Chat
- Added
delete
method in UserChannel resource
Conversations
- Allow Messaging Service update
Taskrouter
- Support ReEvaluateTasks parameter on Workflow update
Twiml
- Remove unsupported
mixed_track
value from<Stream>
(breaking change) - Add missing fax
<Receive>
optional attributes
Library
- PR #498: docs: Add local testing docs. Thanks to @childish-sambino!
- PR #497: fix: Resolve some bug risks and code quality issues. Thanks to @sanketsaurav!
- PR #495: Rename child twiml methods to be the tag name and deprecate old methods. Thanks to @eshanholtz!
- PR #490: fix: Change ObsoleteException to inherit from Exception instead of BaseException. Thanks to @fefi95!
Api
- Make
persistent_action
parameter public - Add
twiml
optional private parameter for call create
Autopilot
- Add Export resource to Autopilot Assistant.
Flex
- Added Integration.RetryCount attribute to Flex Flow
- Updating a Flex Flow
channel_type
options documentation
Insights
- Added edges to events and metrics
- Added new endpoint definitions for Events and Metrics
Messaging
- create support for sender registration
- fetch support for fetching a sender
- update support for sender verification
Supersim
- Add
Direction
filter parameter to list commands endpoint - Allow filtering commands list by Sim Unique Name
- Add
Iccid
filter parameter to list sims endpoint
Twiml
- Add support for
<Refer>
verb
Library
- PR #414: Add support for passing custom logger into TwilioHttpClient. Thanks to @tysonholub!
- PR #423: Document exception case in README. Thanks to @prateem!
- PR #489: Include the license file when packaging the library. Thanks to @marcelotrevisani!
- PR #485: Adding timeout to TwilioHttpClient constructor. Thanks to @Kerl1310!
- PR #488: Update resources after sorting. Thanks to @childish-sambino!
- PR #486: Declare support for Python 3.8. Thanks to @Jamim!
Api
- Add new usage categories to the public api
sms-messages-carrierfees
andmms-messages-carrierfees
Conversations
- Add ProjectedAddress to Conversations Participant resource
Preview
- Implemented different
Sid
for Current Calls (Verified by Twilio), instead of relying inCall.Sid
from Voice API team (breaking change)
Supersim
- Add List endpoint to Commands resource for Super Sim Pilot
- Add UsageRecords resource for the Super Sim Pilot
- Add List endpoint to UsageRecords resource for the Super Sim Pilot
- Allow assigning a Sim to a Fleet by Fleet SID or Unique Name for Super SIM Pilot
- Add Update endpoint to Fleets resource for Super Sim Pilot
- Add Fetch endpoint to Commands resource for Super Sim Pilot
- Allow filtering the Sims resource List endpoint by Fleet
- Add List endpoint to Fleets resource for Super Sim Pilot
Wireless
- Added
account_sid
to Sim update parameters.
Twiml
- Add new locales and voices for
Say
from Polly
Library
- PR #482: Update a few property types in the lookups and trunking responses. Thanks to @childish-sambino!
- PR #483: Update instance property marshaling to allow missing properties. Thanks to @childish-sambino!
- PR #484: Feature/remove socks dependency. Thanks to @Kerl1310!
- PR #481: Change typehint for
PhoneNumberInstance.carrier
. Thanks to @NCPlayz! - PR #480: Auto-deploy via Travis CI upon tagged commit to master. Thanks to @thinkingserious!
- PR #479: breaking: Correct video composition date types. Thanks to @childish-sambino! (breaking change)
Api
- Add new property
attempt
to sms_messages - Fixed a typo in the documentation for Feedback outcome enum (breaking change)
- Update the call price to be optional for deserializing (breaking change)
Flex
- Added
JanitorEnabled
attribute to Flex Flow - Change
features_enabled
Flex Configuration key to private (breaking change)
Supersim
- Add Fetch endpoint to Fleets resource for Super Sim Pilot
- Allow assigning a Sim to a Fleet for Super Sim Pilot
- Add Create endpoint to Fleets resource for Super Sim Pilot
Twiml
- Update
<Conference>
rename "whisper" attribute to "coach" (breaking change)
Library
- PR #477: added validation of signature without stripping port number. Thanks to @eshanholtz!
Conversations
- Add media to Conversations Message resource
Supersim
- Add List endpoint to Sims resource for Super Sim Pilot
Numbers
- Add v2 of the Identites API
Preview
- Changed authentication method for SDK Trusted Comms endpoints:
/CPS
,/CurrentCall
, and/Devices
. Please useAuthorization: Bearer <xCNAM JWT>
(breaking change)
Voice
- Add Recordings endpoints
Api
- Pass Twiml in call update request
Conversations
- Add attributes to Conversations resources
Flex
- Adding
features_enabled
andserverless_service_sids
to Flex Configuration
Messaging
- Message API required params updated (breaking change)
Preview
- Added support for the optional
CallSid
to/BrandedCalls
endpoint
Library
- PR #474: Use PyJWT version >= 1.4.2 in requirements.txt. Thanks to @storymode7!
- PR #473: Update the IP messaging domain name to be 'chat'. Thanks to @childish-sambino!
Conversations
- Add Chat Conversation SID to conversation default output properties
Flex
- Adding
outbound_call_flows
object to Flex Configuration - Adding read and fetch to channels API
Supersim
- Add Sims and Commands resources for the Super Sim Pilot
Sync
- Added configuration option for enabling webhooks from REST.
Wireless
- Added
usage_notification_method
andusage_notification_url
properties torate_plan
.
Twiml
- Add support for
ach-debit
transactions inPay
verb
Preview
- Added support for the header
Twilio-Sandbox-Mode
to mock all Voice dependencies
Twiml
- Add support for
<Siprec>
noun - Add support for
<Stream>
noun - Create verbs
<Start>
and<Stop>
Insights
- Added
properties
to summary.
Preview
- Added endpoint to brand a call without initiating it, so it can be initiated manually by the Customer
Twiml
- Update
<Conference>
recording events (breaking change)
Api
- Make
friendly_name
optional for applications create - Add new property
as_of
date to Usage Record API calls
Wireless
- Added Usage Records resource.
Autopilot
- Adds two new properties in Assistant i.e needs_model_build and development_stage
Preview
- Changed phone numbers from URL|Path to
X-XCNAM-Sensitive
headers (breaking change)
Verify
- Add
MessagingConfiguration
resource to verify service
Autopilot
- Add Webhooks resource to Autopilot Assistant.
Flex
- Added missing 'custom' type to Flex Flow
- Adding
integrations
to Flex Configuration
Insights
- Added attributes to summary.
Messaging
- Message API Create updated with conditional params (breaking change)
Proxy
- Document that Proxy will return a maximum of 100 records for read/list endpoints (breaking change)
- Remove non-updatable property parameters for Session update (mode, participants) (breaking change)
Sync
- Added reachability debouncing configuration options.
Verify
- Add
RateLimits
andBuckets
resources to Verify Services - Add
RateLimits
optional parameter onVerification
creation.
Twiml
- Fix
<Room>
participantIdentity casing
Verify
- Add
approved
to status enum
Api
- Make
method
optional for queue members update
Chat
- Removed
webhook.*.format
update parameters in Service resource from public library visibility in v1 (breaking change)
Insights
- Added client metrics as sdk_edge to summary.
- Added optional query param processing_state.
Numbers
- Add addtional metadata fields on a Document
- Add status callback fields and parameters
Taskrouter
- Added
channel_optimized_routing
attribute to task-channel endpoint
Video
- [Rooms] Add Video Subscription API
Wireless
- Added
imei
to Data Session resource. - Remove
imeisv
from Data Session resource. (breaking change)
Serverless
- Documentation
Wireless
- Added
imeisv
to Data Session resource.
Library
- PR #465: Prepend the repo root to the system paths during doc generation. Thanks to @childish-sambino!
- PR #463: Migrate the README to markdown. Thanks to @childish-sambino!
Api
- Add
verified
property to Addresses
Numbers
- Add API for Identites and documents
Proxy
- Add in use count on number instance
Library
- PR #459: Add py37 to TravisCI config. Thanks to @childish-sambino!
- PR #458: Make the Yoyodyne watermark a raw string. Thanks to @childish-sambino!
Flex
- Adding PluginService to Flex Configuration
Numbers
- Add API for Proof of Addresses
Proxy
- Clarify documentation for Service and Session fetch
Serverless
- Serverless scaffolding
Api
- Remove optional
if_machine
call create parameter from helper libraries (breaking change) - Changed
call_sid
path parameter type on QueueMember fetch and update requests (breaking change)
Voice
- changed file names to dialing_permissions prefix (breaking change)
Wireless
- Added
ResetStatus
property to Sim resource to allow resetting connectivity via the API.
Library
- PR #457: Add Help Center and Support Ticket links to the README. Thanks to @childish-sambino!
Api
- Add
machine_detection_speech_threshold
,machine_detection_speech_end_threshold
,machine_detection_silence_timeout
optional params to Call create request
Flex
- Adding Flex Channel Orchestration
- Adding Flex Flow
Twiml
- Add
de1
to<Conference>
regions
Api
- Make conference participant preview parameters public
Authy
- Added support for FactorType and FactorStrength for Factors and Challenges
Iam
- First public release
Verify
- Add endpoint to update/cancel a Verification (breaking change)
Video
- [Composer] Make RoomSid mandatory (breaking change)
- [Composer] Add
enqueued
state to Composition
Twiml
- Update message body to not be required for TwiML
Dial
noun.
Api
- Add
force_opt_in
optional param to Messages create request - Add agent conference category to usage records
Flex
- First public release
Taskrouter
- Adding
reject_pending_reservations
to worker update endpoint - Added
event_date_ms
andworker_time_in_previous_activity_ms
to Events API response - Add ability to filter events by TaskChannel
Verify
- Add
EnablePsd2
optional parameter for PSD2 on Service resource creation or update. - Add
Amount
,Payee
optional parameters for PSD2.
Library
- PR #453: Switch body validator to use hex instead of base64. Thanks to @cjcodes!
Video
- [Recordings] Add media type filter to list operation
- [Composer] Filter Composition Hook resources by FriendlyName
Twiml
- Update
language
enum forGather
to fix language code for Filipino (Philippines) and include additional supported languages (breaking change)
Verify
- Add
lookup
information in the response when creating a new verification (depends on the LookupEnabled flag being enabled at the service level) - Add
VerificationSid
optional parameter on Verification check.
Chat
- Mark Member attributes as PII
Proxy
- Remove unsupported query parameters (breaking change)
- Remove invalid session statuses in doc
Insights
- Initial revision.
Authy
- Reverted the change to
FactorType
andFormType
, avoiding conflicts with Helper Libraries reserved words (type
) (breaking change)
Proxy
- Remove incorrect parameter for Session List
Studio
- Support date created filtering on list of executions
Taskrouter
- Adding ability to Create, Modify and Delete Task Channels.
Verify
- Add
SkipSmsToLandlines
,TtsName
,DtmfInputRequired
optional parameters on Service resource creation or update.
Wireless
- Added delete action on Command resource.
- Added delete action on Sim resource.
Twiml
- Change
currency
from enum to string forPay
(breaking change)
Api
- Add
interactive_data
optional param to Messages create request
Authy
- Required authentication for
/v1/Forms/{type}
endpoint (breaking change) - Removed
Challenge.reason
toChallenge.responded_reason
- Removed
verification_sid
from Challenge responses - Removed
config
param from the Factor creation - Replaced all occurrences of
FactorType
andFormType
in favor of a unifiedType
(breaking change)
Chat
- Add Member attributes
Preview
- Removed
Authy
version frompreview
subdomain in favor toauthy
subdomain. (breaking change)
Verify
- Add
CustomCode
optional parameter on Verication creation.
Messaging
- Session API
Twiml
- Change
master-card
tomastercard
ascardType
forPay
andPrompt
, remove attributecredential_sid
fromPay
(breaking change)
Api
- Add new Balance resource:
- url: '/v1/Accounts/{account sid}/Balance'
- supported methods: GET
- returns the balance of the account
Proxy
- Add chat_instance_sid to Service
Verify
- Add
Locale
optional parameter on Verification creation.
Api
- Add Verb Transactions category to usage records
Twiml
- Add support for
Pay
verb
Api
- Add
coaching
andcall_sid_to_coach
to participant properties, create and update requests.
Authy
- Set public library visibility, and added PII stanza
- Dropped support for
FactorType
param given new Factor prefixes (breaking change) - Supported
DELETE
actions for Authy resources - Move Authy Services resources to
authy
subdomain
Autopilot
- Introduce
autopilot
subdomain with all resources frompreview.understand
Preview
- Renamed Understand intent to task (breaking change)
- Deprecated Authy endpoints from
preview
toauthy
subdomain
Taskrouter
- Allow TaskQueue ReservationActivitySid and AssignmentActivitySid to not be configured for MultiTask Workspaces
Verify
- Add
LookupEnabled
optional parameter on Service resource creation or update. - Add
SendDigits
optional parameter on Verification creation. - Add delete action on Service resourse.
Twiml
- Add custom parameters to TwiML
Client
noun and renamed the optionalname
field toidentity
. This is a breaking change in Ruby, and applications will need to transition fromdial.client ''
anddial.client 'alice'
formats todial.client
anddial.client(identity: alice)
formats. (breaking change)
Preview
- Renamed response headers for Challenge and Factors Signatures
Video
- [Composer] Add Composition Hook resources
Twiml
- Add
debug
toGather
- Add
participantIdentity
toRoom
Api
- Set
call_sid_to_coach
parameter in participant to bepreview
Preview
- Supported
totp
in Authy preview endpoints - Allowed
latest
in Authy Challenges endpoints
Voice
- changed path param name from parent_iso_code to iso_code for highrisk_special_prefixes api (breaking change)
- added geo permissions public api
Preview
- Add
Form
resource to Authy preview given aform_type
- Add Authy initial api-definitions in the 4 main resources: Services, Entities, Factors, Challenges
Pricing
- add voice_numbers resource (v2)
Verify
- Move from preview to beta (breaking change)
Library
- PR #444: VCORE-3651 Add support for for attribute in twiml element. Thanks to @nmahure!
Api
- Add
call_sid_to_coach
parameter to participant create request - Add
voice_receive_mode
param to IncomingPhoneNumbers create
Video
- [Recordings] Expose
offset
property in resource
Chat
- Add User Channel instance resource
Api
- Add Proxy Active Sessions category to usage records
Preview
- Add
Actions
endpoints and removeResponseUrl
from assistants on the Understand api
Pricing
- add voice_country resource (v2)
Library
- PR #443: move index and readme_include to root. Thanks to @mbichoffe!
Studio
- Studio is now GA
Library
- PR #442: Auto generate docs with sphinx. Thanks to @mbichoffe!
- PR #437: Tag and push Docker latest image when deploying with TravisCI. Thanks to @jonatasbaldin!
Chat
- Make message From field updatable
- Add REST API webhooks
Notify
- Removing deprecated
segments
,users
,segment_memberships
,user_bindings
classes from helper libraries. (breaking change)
Preview
- Add new Intent Statistics endpoint
- Remove
ttl
from Assistants
Twiml
- Add
Connect
andRoom
for Programmable Video Rooms
Api
- Add support for sip domains to map credential lists for registrations
Preview
- Remove
ttl
from Assistants
Proxy
- Enable setting a proxy number as reserved
Twiml
- Add support for SSML lang tag on Say verb
Library
- PR #439: Override generated attributes when generating TwiML. Thanks to @cjcodes!
Video
- Add
group-small
room type
Library
- PR #436: Add request body validation. Thanks to @cjcodes!
Twiml
- Add support for SSML on Say verb, the message body is changed to be optional (breaking change)
Api
- Add
cidr_prefix_length
param to SIP IpAddresses API
Studio
- Add new /Execution endpoints to begin Engagement -> Execution migration
Video
- [Rooms] Allow deletion of individual recordings from a room
Library
- PR #434: Escape DOCKER_PASSWORD and DOCKER_USERNAME when logging into Docker Hub. Thanks to @jonatasbaldin!
Library
- PR #433: Fix all Docker image build and push issues. Thanks to @jonatasbaldin!
- PR #432: Add docker to TravisCI. Thanks to @jonatasbaldin!
- PR #431: Add provider to TravisCI. Thanks to @jonatasbaldin!
- PR #430: Deploy just on tags and Python 3.6. Thanks to @jonatasbaldin!
Api
- Release
Call Recording Controls
feature support in helper libraries - Add Voice Insights sub-category keys to usage records
Library
- PR #428: Add Dockerfile and related changes to build the Docker image. Thanks to @jonatasbaldin!
Library
- PR #429: Do not use ElementTree.nonzero; add test for mixed content. Thanks to @ekarson!
Api
- Add Fraud Lookups category to usage records
Video
- Allow user to set
ContentDisposition
when obtaining media URLs for Room Recordings and Compositions - Add Composition Settings resource
Library
- PR #425: Allow adding TwiML children with generic tag names. Thanks to @mbichoffe!
- PR #422: Allow adding text to TwiML nodes. Thanks to @ekarson!
- PR #421: Add method to validate ssl certificate. Thanks to @yannieyip!
Twiml
- Add methods to helper libraries to inject arbitrary text under a TwiML node
Lookups
- Add back support for
fraud
lookup type
Library
- PR #417: Migrate readme to rst and load it in with setup.py. Thanks to @cjcodes!
Chat
- Add Binding and UserBinding documentation
Library
- PR #416: Remove Python 3.3 support. Thanks to @cjcodes!
Api
- Add more programmable video categories to usage records
- Add 'include_subaccounts' parameter to all variation of usage_record fetch
Studio
- Add endpoint to delete engagements
Trunking
- Added cnam_lookup_enabled parameter to Trunk resource.
- Added case-insensitivity for recording parameter to Trunk resource.
Chat
- Add Channel Webhooks resource
Monitor
- Update event filtering to support date/time (breaking change)
Wireless
- Updated
maturity
toga
for all wireless apis
Video
- Redesign API by adding custom
VideoLayout
object. (breaking change)
Twiml
- Gather input Enum: remove unnecessary "dtmf speech" value as you can now specify multiple enum values for this parameter and both "dtmf" and "speech" are already available.
Library
- PR #413: Add incoming.allow to AccessToken VoiceGrant. Thanks to @ryan-rowland!
Preview
- Support for Understand V2 APIs - renames various resources and adds new fields
Studio
- Change parameters type from string to object in engagement resource
Video
- [Recordings] Change
size
type tolong
. (breaking change)
Lookups
- Disable support for
fraud
lookups (breaking change)
Preview
- Add
BuildDuration
andErrorCode
to Understand ModelBuild
Studio
- Add new /Context endpoint for step and engagement resources.
Api
- Add
caller_id
param to Outbound Calls API - Release
trim
recording Outbound Calls API functionality in helper libraries
Video
- [composer] Add
room_sid
to Composition resource.
Twiml
- Adds support for passing in multiple input type enums when setting
input
onGather
Api
- Add
trim
param to Outbound Calls API
Lookups
- Add support for
fraud
lookup type
Numbers
- Initial Release
Video
- [composer] Add
SEQUENCE
value to available layouts, andtrim
andreuse
params.
Api
- Add
AnnounceUrl
andAnnounceMethod
params for conference announce
Chat
- Add support to looking up user channels by identity in v1
Preview
- Remove Studio Engagement Deletion
Studio
- Initial Release
Api
- Add
studio-engagements
usage key
Video
- [omit] Beta: Allow updates to
SubscribedTracks
. - Add
SubscribedTracks
. - Add track name to Video Recording resource
- Add Composition and Composition Media resources
Api
- Add
conference_sid
property on Recordings - Add proxy and sms usage key
Chat
- Make user channels accessible by identity
- Add notifications logs flag parameter
Fax
- Added
ttl
parameterttl
is the number of minutes a fax is considered valid.
Preview
- Add
call_delay
,extension
,verification_code
, andverification_call_sids
. - Add
failure_reason
to HostedNumberOrders. - Add DependentHostedNumberOrders endpoint for AuthorizationDocuments preview API.
Taskrouter
- Less verbose naming of cumulative and real time statistics (breaking change)
Library
- Fix camelCased custom twiml parameters getting converted to lower case. (Issue #349)
Api
- Add
voip
,national
,shared_cost
, andmachine_to_machine
sub-resources to/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{IsoCountryCode}/
- Add programmable video keys
Preview
- Add
verification_type
andverification_document_sid
to HostedNumberOrders.
Proxy
- Fixed typo in session status enum value
Twiml
- Fix Dial record property incorrectly typed as accepting TrimEnum values when it actually has its own enum of values. (breaking change)
- Add
priority
andtimeout
properties to Task TwiML. - Add support for
recording_status_callback_event
for Dial verb and for Conference
Api
- Use the correct properties for Dependent Phone Numbers of an Address (breaking change)
- Update Call Recordings with the correct properties
Preview
- Add
status
andemail
query param filters for AuthorizationDocument list endpoint
Proxy
- Added DELETE support to Interaction
- Standardized enum values to dash-case
- Rename Service#friendly_name to Service#unique_name
Video
- Remove beta flag from
media_region
andvideo_codecs
Wireless
- Bug fix: Changed
operator_mcc
andoperator_mnc
inDataSessions
subresource frominteger
tostring
Sync
- Add TTL support for Sync objects (breaking change)
- The required
data
parameter on the following actions is now optional: "Update Document", "Update Map Item", "Update List Item" - New actions available for updating TTL of Sync objects: "Update List", "Update Map", "Update Stream"
- The required
Video
- [bi] Rename
RoomParticipant
toParticipant
- Add Recording Settings resource
- Expose EncryptionKey and MediaExternalLocation properties in Recording resource
Accounts
- Add AWS credential type
Preview
- Removed
iso_country
as required field for creating a HostedNumberOrder.
Proxy
- Added new fields to Service: geo_match_level, number_selection_behavior, intercept_callback_url, out_of_session_callback_url
Api
- Add programmable video keys
Video
- Add
Participants
Chat
- Add Binding resource
- Add UserBinding resource
Library
- #394 Update request validator to remove port numbers from https urls. Thanks @Brodan!
- #385 Add request logging and hooking. Thanks @tysonholub!
Api
- Add
address_sid
param to IncomingPhoneNumbers create and update - Add 'fax_enabled' option for Phone Number Search
Api
- Add
smart_encoded
param for Messages - Add
identity_sid
param to IncomingPhoneNumbers create and update
Preview
- Make 'address_sid' and 'email' optional fields when creating a HostedNumberOrder
- Add AuthorizationDocuments preview API.
Proxy
- Initial Release
Wireless
- Added
ip_address
to sim resource
Twiml
- Rename
number
tophone_number
in Voice Number TwiML. (breaking change) - Rename
message
tobody
in Messaging TwiML. (breaking change)
Preview
- Add
acc_security
(authy-phone-verification) initial api-definitions
Taskrouter
- [bi] Less verbose naming of cumulative and real time statistics
Chat
- Make member accessible through identity
- Make channel subresources accessible by channel unique name
- Set get list 'max_page_size' parameter to 100
- Add service instance webhook retry configuration
- Add media message capability
- Make
body
an optional parameter on Message creation. (breaking change)
Notify
data
,apn
,gcm
,fcm
,sms
parameters inNotifications
create resource are dicts/objects instead of strings. Passing manually stringified json will continue to work.
Taskrouter
- Add new query ability by TaskChannelSid or TaskChannelUniqueName
- Move Events, Worker, Workers endpoint over to CPR
- Add new RealTime and Cumulative Statistics endpoints
Video
- Create should allow an array of video_codecs.
- Add video_codecs as a property of room to make it externally visible.
Api
- Add
sip_registration
property on SIP Domains - Add new video and market usage category keys
- Added last_response and last_request to http_client
Sync
- Add support for Streams
Wireless
- Added DataSessions sub-resource to Sims.
Library
- Allow creating AccessTokens/Jwts without generating
nbf
. PassingNone
in the constructor will removenbf
from jwt payload.
Api
- Update
status
enum for Recordings to include 'failed' - Add
error_code
property on Recordings
Chat
- Add mutable parameters for channel, members and messages
Video
- New
media_region
parameter when creating a room, which controls which region media will be served out of.
Twiml
- Add support for
speech_timeout
,max_speech_time
, andprofanity_filter
attributes on Gather verb.
Library
- Remove bundled certificates, use
certifi
package viarequests
. - Add option to use connection pooling. This is enabled by default and will use one Session for all requests
in Client.
- To disable this, pass
pool_connections
parameter when creating your Twilio client.
- To disable this, pass
from twilio.rest import Client
from twilio.http.http_client import TwilioHttpClient
client = Client(
username,
password,
http_client=TwilioHttpClient(pool_connections=False)
)
Api
- Add VoiceReceiveMode {'voice', 'fax'} option to IncomingPhoneNumber UPDATE requests
Chat
- Add channel message media information
- Add service instance message media information
Preview
- Removed 'email' from bulk_exports configuration api [bi]. No migration plan needed because api has not been used yet.
- Add DeployedDevices.
Sync
- Add support for Service Instance unique names
Fixed PyJWT >= 1.5.1 exception
Api
- Add New wireless usage keys added
- Add
auto_correct_address
param for Addresses create and update - Add ChatGrant grant and deprecate IpMessagingGrant
Video
- Add
video_codec
enum andvideo_codecs
parameter, which can be set to eitherVP8
orH264
during room creation. - Restrict recordings page size to 100
This release adds Beta and Preview products to main artifact.
Previously, Beta and Preview products were only included in the alpha
artifact. They are now being included in the main artifact to ease product
discoverability and the collective operational overhead of maintaining multiple
artifacts per library.
Api
- Remove unused
encryption_type
property on Recordings (breaking change) - Update
status
enum for Messages to include 'accepted'
Messaging
- Fix incorrectly typed capabilities property for PhoneNumbers.
Notify
- Add
ToBinding
optional parameter on Notifications resource creation. Accepted values are json strings.
Preview
- Add
sms_application_sid
to HostedNumberOrders.
Taskrouter
- Fully support conference functionality in reservations.
Api
- Update
AnnounceMethod
parameter naming for consistency
Notify
- Add
ToBinding
optional parameter on Notifications resource creation. Accepted values are json strings.
Preview
- Add
verification_attempts
to HostedNumberOrders. - Add
status_callback_url
andstatus_callback_method
to HostedNumberOrders.
Video
- Filter recordings by date using the parameters
DateCreatedAfter
andDateCreatedBefore
. - Override the default time-to-live of a recording's media URL through the
Ttl
parameter (in seconds, default value is 3600). - Add query parameters
SourceSid
,Status
,DateCreatedAfter
andDateCreatedBefore
to the convenience method for retrieving Room recordings.
Wireless
- Added national and international data limits to the RatePlans resource.
- Pin PyJWT to below version
1.5.1
to fix broken build. - Fix json load error for python 3.3 - 3.5
- Add several missing
<Gather>
attributes.partial_result_callback
partial_result_callback_method
language
hints
barge_in
acknowledge_sound_url
input
- Remove client-side max page size validation.
- Support
announce_url
andannounce_url_method
on Conference Participants. - TwiML docstring corrections.
- Remove support for Python 2.6.
- Add
locality
field toAvailablePhoneNumbers
. - Add
origin
field toIncomingPhoneNumbers
. - Add
in_locality
parameter toAvailablePhoneNumbers
. - Add
origin
parameter toIncomingPhoneNumbers
. - Add new sync categories to
UsageRecords
. - Support unicode in
validation_client
. - Add
muted
parameter to<Conference>
Twiml.
- Rename RoomList to RoomRecordingsList.
- Add video domain.
- Update usage record categories.
- Add
get_page
method for reentrant paging.
- Allow *kwargs in TwiML Gather
- Add Task verb to VoiceResponse
- Add Echo verb to VoiceResponse
- Add Sim verb to VoiceResponse
- Add v2 of chat.twilio.com.
- Add
recording_channels
parameter to Participant create and update. - Add
recording_status_callback
parameter to Participant create and update. - Add
recording_status_callback_method
parameter to Participant create and update. - Add
sip_auth_username
parameter to Participant create and update. - Add
region
parameter to Participant create and update. - Add
conference_recording_status_callback
parameter to Participant create and update. - Add
conference_recording_status_callback_method
parameter to Participant create and update. - Add
validity_period
parameter to Messages.
New Major Version
The newest version of the twilio-python
helper library!
This version brings a host of changes to update and modernize the twilio-python
helper library. It is auto-generated to produce a more consistent and correct product.
Released May 19, 2015:
- Add support for the beta field to IncomingPhoneNumbers and AvailablePhoneNumbers
Released May 14, 2015:
- Add support for Call Status Events in TwiML
Released May 7, 2015:
- Add support for the Twilio Monitor APIs: Events and Alerts
Released May 6, 2015:
- Add support for the Twilio Pricing API
Released April 16, 2015:
- Remove the deprecated count function from ListResource
Released March 31, 2015:
- Support for the new Twilio Lookups API
Released March 10, 2015:
- Add missing docstrings and examples for TaskRouter
Released February 24, 2015:
- Restore Tokens resource to TwilioRestClient
Released February 20, 2015:
- Restore Python 2.6 and 3.x support
Released February 18, 2015:
- Add TaskRouterClient and resources to support the new TaskRouter API
- Stop prepending numeric error code to exception error messages
Released January 14, 2015
- Update request construction for Tokens
Released December 22, 2014
- Specify Python 3 dependencies in wheel package
Released November 24, 2014
- Fix compatibility issue for Python 3.4
Released November 21, 2014
- Add support for the new Tokens endpoint
Released November 13, 2014
- Add support for DELETE to Call and Message records
- Add support for redacting Message body fields
Released October 30, 2014
- Add Python 3.4 support
- Add wheel packaging
- Fix compatibility with earlier Python 2 releases
Released October 9, 2014
- Remove unneeded unittest2py3k dependency.
- Restore backwards-compatible exception import paths.
Released August 6, 2014
- Fix Python 2.5 compatibility.
- Add CallFeedback resources.
- Typo fixes and formatting cleanup.
- Refactor exception hierarchy and imports.
- Documentation improvements.
Released on February 27, 2014
- Previously the error message was set based on the
tty
value; instead now we detecttty
when you try to print the error message. Themsg
property of the exception is set to a decent value. twilio-python
now uses entirely relative imports, so it may be easier to include it as a part of another package.
- Remove unittest2 dependency.
- Tests no longer run against Python 2.5.
- update(), delete() work on Application, Transcription and UsageTrigger instance classes.
Released November 5, 2013
- Adds support for the 'digits' attribute of Play verbs in TwiML creation.
- Updates documentation for Message TwiML verb
- Bugfix for tty detection in error formatting
Released October 21, 2013
-
Adds support for filtering by type to IncomingPhoneNumbers.
-
Adds support for filtering for mobile numbers to both IncomingPhoneNumbers and AvailablePhoneNumbers.
Released on September 24, 2013
- Adds support for HTTP and SOCKS4/5 proxies to the REST client.
Released on September 18, 2013
- Adds support for the new Message and SIP resources to the REST API client.
- Adds support for the new Message verb to the TwiML generator.
Released on September 6, 2013
- twilio-python now includes an SSL certfication file to ensure that connections to api.twilio.com don't fail with SSLError.
Released on August 26, 2013
- You can now delete transcriptions
Released on May 21, 2013
- Fixes an issue in the 3.5.0 release where null dates would cause the library to raise a TypeError.
Released on May 21, 2013
date_created
anddate_updated
objects are now returned as Pythondatetime.datetime
objects instead of as RFC 2822 formatted strings. This is a backwards incompatible change. (via @abrinsmead)- The library will not throw a UnicodeDecodeError when parsing API responses with Python 3.
- You can pass integers to Twiml arguments. (via @jvankoten)
- Ensuring the tests always pass on Python 3. (via @ftobia)
- Add the list of AUTHORS
- Fixes a timing attack vector in signature validation. (via @zacharyvoase)
Released on April 1, 2013
Allow the Account object to access usage records and usage trigger data, in addition to the client. Reporter: Trenton McManus
Adds support for Sip
Adds correct dependencies to the setup.py
file.
Released on January 2, 2013
Adds a convenience function to retrieve the members of a queue by running client.members("QU123").
Python3 support!
- Fix a bug where participants could not be kicked from a Conference
- Add support for Queue. Fix a bug where the library wouldn't work in Python 2.5
- Fix an error introduced in 3.3.7 that prevented validation calls from succeeding.
- Use next_page_uri when iterating over a list resource
- Allow arbitrary keyword arguments on resource creation and listing
- Remove doc/tmp directory which was preventing installation on certain Windows machines
- Add Travis CI integration
- Update httplib2 dependency
Released on January 18, 2011
- Fix a bug with the deprecated
TwilioRestClient.request
method - Fix a bug in filtering SMS messages by DateSent
Released on December 16, 2011
- Allow both unicode strings and encoded byte strings in request data
- Add support for SMS and Voice application sids to phone number updating
- Fix documentation error relating to phone number purchasing
- Include doc string information for decorated functions
Released on November 3, 2011
- Support unicode characters when validating requests
- Add support for Great Britain language on the Say verb
- Set Sms Application, Voice Application, and/or a Friendly Name when purchasing a number
- Add missing parameters for resource creation and update
Released on September 29, 2011
- TwiML verbs can now be used as context managers
Released on September 27, 2011
- Allow phone numbers to be transferred between accounts and subaccounts
Released on September 21, 2011
- Add support for Twilio Connect. Connect applications and authorized Connect applications are now availble via the REST client.
- Fix a problem where date and datetimes weren't coverted to strings when querying list resources