FlexV1Channel
post/v1/Channels

Request

  • Base URL
    https://flex-api.twilio.com
  • URL
    https://flex-api.twilio.com/v1/Channels
  • Auth
    HTTP basic

Request body application/x-www-form-urlencoded

FlexFlowSidstring required

The SID of the Flex Flow.

Identitystring required

The identity value that uniquely identifies the new resource's chat User.

ChatUserFriendlyNamestring required

The chat participant's friendly name.

ChatFriendlyNamestring required

The chat channel's friendly name.

Targetstring

The Target Contact Identity, for example the phone number of an SMS.

ChatUniqueNamestring

The chat channel's unique name.

PreEngagementDatastring

The pre-engagement data.

TaskSidstring

The SID of the TaskRouter Task. Only valid when integration type is task. null for integration types studio & external

TaskAttributesstring

The Task attributes to be added for the TaskRouter Task.

LongLivedboolean

Whether to create the channel as long-lived.

Response

Created

account_sidstring nullable

The SID of the Account that created the Channel resource and owns this Workflow.

flex_flow_sidstring nullable

The SID of the Flex Flow.

sidstring nullable

The unique string that we created to identify the Channel resource.

user_sidstring nullable

The SID of the chat user.

task_sidstring nullable

The SID of the TaskRouter Task. Only valid when integration type is task. null for integration types studio & external

urlstring uri nullable

The absolute URL of the Flex chat channel resource.

date_createdstring date-time nullable

The date and time in GMT when the Flex chat channel was created specified in ISO 8601 format.

date_updatedstring date-time nullable

The date and time in GMT when the Flex chat channel was last updated specified in ISO 8601 format.

Changes