This guide is for Flex UI 1.x.x and channels that use Programmable Chat and Proxy. If you are using Flex UI 2.x.x or you are starting out, we recommend that you build with Flex Conversations.
Flex Chat Channels allow agents to communicate with your customers across multiple channels like Webchat, SMS, and WhatsApp through a single chat interface. You can create a chat channel in Flex whenever you want to initiate a new communication flow between an agent and a customer. The Flex Chat Channel is an implementation of the Chat Channel Resource orchestrated for Flex.
account_sid
type: SID<AC>The SID of the Account that created the Channel resource and owns this Workflow.
^AC[0-9a-fA-F]{32}$
34
34
flex_flow_sid
type: SID<FO>The SID of the Flex Flow.
^FO[0-9a-fA-F]{32}$
34
34
sid
type: SID<CH>The unique string that we created to identify the Channel resource.
^CH[0-9a-fA-F]{32}$
34
34
user_sid
type: SID<US>The SID of the chat user.
^US[0-9a-fA-F]{32}$
34
34
task_sid
type: SID<WT>The SID of the TaskRouter Task. Only valid when integration type is task
. null
for integration types studio
& external
^WT[0-9a-fA-F]{32}$
34
34
date_created
type: string<date-time>The date and time in GMT when the Flex chat channel was created specified in ISO 8601 format.
POST https://flex-api.twilio.com/v1/Channels
FlexFlowSid
type: SID<FO>RequiredThe SID of the Flex Flow.
^FO[0-9a-fA-F]{32}$
34
34
Identity
type: stringRequiredThe identity
value that uniquely identifies the new resource's chat User.
TaskSid
type: SID<WT>The SID of the TaskRouter Task. Only valid when integration type is task
. null
for integration types studio
& external
^WT[0-9a-fA-F]{32}$
34
34
GET https://flex-api.twilio.com/v1/Channels/{Sid}
Sid
type: SID<CH>The SID of the Flex chat channel resource to fetch.
^CH[0-9a-fA-F]{32}$
34
34
GET https://flex-api.twilio.com/v1/Channels
PageSize
type: integerHow many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Page
type: integerThe page index. This value is simply for client state.
0
DELETE https://flex-api.twilio.com/v1/Channels/{Sid}
Sid
type: SID<CH>The SID of the Flex chat channel resource to delete.
^CH[0-9a-fA-F]{32}$
34
34