Changelog: Twilio Chat REST API
(error)
Danger
Programmable Chat has been deprecated and is no longer supported. Instead, we'll be focusing on the next generation of chat: Twilio Conversations. Find out more about the EOL process here.
If you're starting a new project, please visit the Conversations Docs to begin. If you've already built on Programmable Chat, please visit our Migration Guide to learn about how to switch.
Updates and Changes to the Programmable Chat REST API will be posted by date the change was released on.
Channelsubresources are now accessible directly by channelUniqueNamefor all operations (GET,POST,DELETE)Membernow accessible through userIdentityfor all operations (GET,POST,DELETE)- Added Service instance webhook retry configuration options
- Added media message capability for sending new Messages referencing Media resources
- Allow posting empty Message body from API
- Minor bug fix for a rare race condition when adding channel members
- Added new mutable parameters to
Channels(Create and Update):DateCreated,DateUpdated,CreatedBy - Added new mutable parameters to
Members(Create and Update):DateCreated,DateUpdated,LastConsumedMessageIndex,LastConsumptionTimestamp - Added new mutable API parameters to
Messages(Create and Update):DateCreated,DateUpdated,From,LastUpdatedBy - Exposed new resource field for
Messages:LastUpdatedBy
Attributesare now returned forLIST GETSin the/v2forChannels,MessagesandUsers- If
Attributesare not set, "{}" will be returned
/v2of the Chat REST API Released.- The maximum page size for all
LIST GETSin/v2is now100(down from1000). Note that in/v1this is still1000.
- A new endpoint,
Channels, has been added as a sub-resoure of theUsersresource. This will return all the joined Channels for the specified User. The location for this endpoint is:/v2/Services/\{Service sid\}/Users/\{User sid\}/Channels - A new request parameter,
Order, has been added to theMessages LIST GETendpoint. This parameter allows the latest Messages list in a Channel to be retrieved - order descending vs the default ascending. The valid options areascanddesc - A number of new configuration options have been added to the
Servicesendpoint. These include options to change Service instance Limits, enable iOS Badge counts for new message pushes and more.
/v1of the Chat REST API has been deprecated. Please switch to/v2as soon as possible.- Webhooks V1 configuration field
webhooksin Service endpoint has been removed.