UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 99.6 kB
{"openapi":"3.0.1","servers":[{"url":"https://flex-api.twilio.com"}],"info":{"contact":{"email":"support@twilio.com","name":"Twilio Support","url":"https://support.twilio.com"},"description":"This is the public Twilio REST API.","license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0.html"},"termsOfService":"https://www.twilio.com/legal/tos","title":"Twilio - Flex","version":"1.55.0","x-apisguru-categories":["telecom","messaging"],"x-logo":{"url":"https://static1.twilio.com/marketing/bundles/marketing/img/logos/wordmark-red.svg"},"x-origin":[{"format":"openapi","url":"https://raw.githubusercontent.com/twilio/twilio-oai/main/spec/json/twilio_flex_v1.json","version":"3.0"}],"x-providerName":"twilio.com","x-serviceName":"twilio_flex_v1"},"tags":[{"name":"FlexV1Assessments"},{"name":"FlexV1Channel"},{"name":"FlexV1Configuration"},{"name":"FlexV1FlexFlow"},{"name":"FlexV1InsightsAssessmentsComment"},{"name":"FlexV1InsightsConversations"},{"name":"FlexV1InsightsQuestionnaires"},{"name":"FlexV1InsightsQuestionnairesCategory"},{"name":"FlexV1InsightsQuestionnairesQuestion"},{"name":"FlexV1InsightsSegments"},{"name":"FlexV1InsightsSession"},{"name":"FlexV1InsightsSettingsAnswerSets"},{"name":"FlexV1InsightsSettingsComment"},{"name":"FlexV1InsightsUserRoles"},{"name":"FlexV1Interaction"},{"name":"FlexV1InteractionChannel"},{"name":"FlexV1InteractionChannelInvite"},{"name":"FlexV1InteractionChannelParticipant"},{"name":"FlexV1ProvisioningStatus"},{"name":"FlexV1WebChannel"}],"paths":{"/v1/Channels":{"description":"Flex chat channels","get":{"description":"","operationId":"ListChannel","parameters":[{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"flex_chat_channels":{"items":{"$ref":"#/components/schemas/flex.v1.channel"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListChannelResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1Channel"],"x-maturity":["GA"]},"post":{"description":"","operationId":"CreateChannel","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"ChatFriendlyName":{"description":"The chat channel's friendly name.","type":"string"},"ChatUniqueName":{"description":"The chat channel's unique name.","type":"string"},"ChatUserFriendlyName":{"description":"The chat participant's friendly name.","type":"string"},"FlexFlowSid":{"description":"The SID of the Flex Flow.","maxLength":34,"minLength":34,"pattern":"^FO[0-9a-fA-F]{32}$","type":"string"},"Identity":{"description":"The `identity` value that uniquely identifies the new resource's chat User.","type":"string"},"LongLived":{"description":"Whether to create the channel as long-lived.","type":"boolean"},"PreEngagementData":{"description":"The pre-engagement data.","type":"string"},"Target":{"description":"The Target Contact Identity, for example the phone number of an SMS.","type":"string"},"TaskAttributes":{"description":"The Task attributes to be added for the TaskRouter Task.","type":"string"},"TaskSid":{"description":"The SID of the TaskRouter Task. Only valid when integration type is `task`. `null` for integration types `studio` & `external`","maxLength":34,"minLength":34,"pattern":"^WT[0-9a-fA-F]{32}$","type":"string"}},"required":["FlexFlowSid","Identity","ChatUserFriendlyName","ChatFriendlyName"],"title":"CreateChannelRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.channel"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1Channel"],"x-maturity":["GA"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","flex_flow_sid","user_sid","task_sid"],"mountName":"channel","pathType":"list"}},"/v1/Channels/{Sid}":{"delete":{"description":"","operationId":"DeleteChannel","parameters":[{"description":"The SID of the Flex chat channel resource to delete.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^CH[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1Channel"],"x-maturity":["GA"]},"description":"Flex chat channels","get":{"description":"","operationId":"FetchChannel","parameters":[{"description":"The SID of the Flex chat channel resource to fetch.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^CH[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.channel"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1Channel"],"x-maturity":["GA"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","flex_flow_sid","user_sid","task_sid"],"mountName":"channel","pathType":"instance"}},"/v1/Configuration":{"description":"Configuration for a Flex instance","get":{"description":"","operationId":"FetchConfiguration","parameters":[{"description":"The Pinned UI version of the Configuration resource to fetch.","in":"query","name":"UiVersion","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.configuration"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1Configuration"],"x-maturity":["GA"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["status","ui_language","ui_version","service_version"],"pathType":"instance"}},"/v1/FlexFlows":{"description":"Flex Flow","get":{"description":"","operationId":"ListFlexFlow","parameters":[{"description":"The `friendly_name` of the Flex Flow resources to read.","in":"query","name":"FriendlyName","schema":{"type":"string"},"x-twilio":{"pii":{"deleteSla":30,"handling":"standard"}}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"flex_flows":{"items":{"$ref":"#/components/schemas/flex.v1.flex_flow"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListFlexFlowResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1FlexFlow"],"x-maturity":["GA"]},"post":{"description":"","operationId":"CreateFlexFlow","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"ChannelType":{"$ref":"#/components/schemas/flex_flow_enum_channel_type","description":"The channel type. One of `web`, `facebook`, `sms`, `whatsapp`, `line` or `custom`. By default, Studio’s Send to Flex widget passes it on to the Task attributes for Tasks created based on this Flex Flow. The Task attributes will be used by the Flex UI to render the respective Task as appropriate (applying channel-specific design and length limits). If `channelType` is `facebook`, `whatsapp` or `line`, the Send to Flex widget should set the Task Channel to Programmable Chat.","type":"string"},"ChatServiceSid":{"description":"The SID of the chat service.","maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"},"ContactIdentity":{"description":"The channel contact's Identity.","type":"string"},"Enabled":{"description":"Whether the new Flex Flow is enabled.","type":"boolean"},"FriendlyName":{"description":"A descriptive string that you create to describe the Flex Flow resource.","type":"string"},"Integration.Channel":{"description":"The Task Channel SID (TCXXXX) or unique name (e.g., `sms`) to use for the Task that will be created. Applicable and required when `integrationType` is `task`. The default value is `default`.","type":"string"},"Integration.CreationOnMessage":{"description":"In the context of outbound messaging, defines whether to create a Task immediately (and therefore reserve the conversation to current agent), or delay Task creation until the customer sends the first response. Set to false to create immediately, true to delay Task creation. This setting is only applicable for outbound messaging.","type":"boolean"},"Integration.FlowSid":{"description":"The SID of the Studio Flow. Required when `integrationType` is `studio`.","maxLength":34,"minLength":34,"pattern":"^FW[0-9a-fA-F]{32}$","type":"string"},"Integration.Priority":{"description":"The Task priority of a new Task. The default priority is 0. Optional when `integrationType` is `task`, not applicable otherwise.","type":"integer"},"Integration.RetryCount":{"description":"The number of times to retry the Studio Flow or webhook in case of failure. Takes integer values from 0 to 3 with the default being 3. Optional when `integrationType` is `studio` or `external`, not applicable otherwise.","type":"integer"},"Integration.Timeout":{"description":"The Task timeout in seconds for a new Task. Default is 86,400 seconds (24 hours). Optional when `integrationType` is `task`, not applicable otherwise.","type":"integer"},"Integration.Url":{"description":"The URL of the external webhook. Required when `integrationType` is `external`.","format":"uri","type":"string"},"Integration.WorkflowSid":{"description":"The Workflow SID for a new Task. Required when `integrationType` is `task`.","maxLength":34,"minLength":34,"pattern":"^WW[0-9a-fA-F]{32}$","type":"string"},"Integration.WorkspaceSid":{"description":"The Workspace SID for a new Task. Required when `integrationType` is `task`.","maxLength":34,"minLength":34,"pattern":"^WS[0-9a-fA-F]{32}$","type":"string"},"IntegrationType":{"$ref":"#/components/schemas/flex_flow_enum_integration_type","description":"The software that will handle inbound messages. [Integration Type](https://www.twilio.com/docs/flex/developer/messaging/manage-flows#integration-types) can be: `studio`, `external`, or `task`.","type":"string"},"JanitorEnabled":{"description":"When enabled, the Messaging Channel Janitor will remove active Proxy sessions if the associated Task is deleted outside of the Flex UI. Defaults to `false`.","type":"boolean"},"LongLived":{"description":"When enabled, Flex will keep the chat channel active so that it may be used for subsequent interactions with a contact identity. Defaults to `false`.","type":"boolean"}},"required":["FriendlyName","ChatServiceSid","ChannelType"],"title":"CreateFlexFlowRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.flex_flow"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1FlexFlow"],"x-maturity":["GA"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","friendly_name","channel_type","integration_type"],"mountName":"flex_flow","pathType":"list"}},"/v1/FlexFlows/{Sid}":{"delete":{"description":"","operationId":"DeleteFlexFlow","parameters":[{"description":"The SID of the Flex Flow resource to delete.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^FO[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1FlexFlow"],"x-maturity":["GA"]},"description":"Flex Flow","get":{"description":"","operationId":"FetchFlexFlow","parameters":[{"description":"The SID of the Flex Flow resource to fetch.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^FO[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.flex_flow"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1FlexFlow"],"x-maturity":["GA"]},"post":{"description":"","operationId":"UpdateFlexFlow","parameters":[{"description":"The SID of the Flex Flow resource to update.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^FO[0-9a-fA-F]{32}$","type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"ChannelType":{"$ref":"#/components/schemas/flex_flow_enum_channel_type","description":"The channel type. One of `web`, `facebook`, `sms`, `whatsapp`, `line` or `custom`. By default, Studio’s Send to Flex widget passes it on to the Task attributes for Tasks created based on this Flex Flow. The Task attributes will be used by the Flex UI to render the respective Task as appropriate (applying channel-specific design and length limits). If `channelType` is `facebook`, `whatsapp` or `line`, the Send to Flex widget should set the Task Channel to Programmable Chat.","type":"string"},"ChatServiceSid":{"description":"The SID of the chat service.","maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"},"ContactIdentity":{"description":"The channel contact's Identity.","type":"string"},"Enabled":{"description":"Whether the new Flex Flow is enabled.","type":"boolean"},"FriendlyName":{"description":"A descriptive string that you create to describe the Flex Flow resource.","type":"string"},"Integration.Channel":{"description":"The Task Channel SID (TCXXXX) or unique name (e.g., `sms`) to use for the Task that will be created. Applicable and required when `integrationType` is `task`. The default value is `default`.","type":"string"},"Integration.CreationOnMessage":{"description":"In the context of outbound messaging, defines whether to create a Task immediately (and therefore reserve the conversation to current agent), or delay Task creation until the customer sends the first response. Set to false to create immediately, true to delay Task creation. This setting is only applicable for outbound messaging.","type":"boolean"},"Integration.FlowSid":{"description":"The SID of the Studio Flow. Required when `integrationType` is `studio`.","maxLength":34,"minLength":34,"pattern":"^FW[0-9a-fA-F]{32}$","type":"string"},"Integration.Priority":{"description":"The Task priority of a new Task. The default priority is 0. Optional when `integrationType` is `task`, not applicable otherwise.","type":"integer"},"Integration.RetryCount":{"description":"The number of times to retry the Studio Flow or webhook in case of failure. Takes integer values from 0 to 3 with the default being 3. Optional when `integrationType` is `studio` or `external`, not applicable otherwise.","type":"integer"},"Integration.Timeout":{"description":"The Task timeout in seconds for a new Task. Default is 86,400 seconds (24 hours). Optional when `integrationType` is `task`, not applicable otherwise.","type":"integer"},"Integration.Url":{"description":"The URL of the external webhook. Required when `integrationType` is `external`.","format":"uri","type":"string"},"Integration.WorkflowSid":{"description":"The Workflow SID for a new Task. Required when `integrationType` is `task`.","maxLength":34,"minLength":34,"pattern":"^WW[0-9a-fA-F]{32}$","type":"string"},"Integration.WorkspaceSid":{"description":"The Workspace SID for a new Task. Required when `integrationType` is `task`.","maxLength":34,"minLength":34,"pattern":"^WS[0-9a-fA-F]{32}$","type":"string"},"IntegrationType":{"$ref":"#/components/schemas/flex_flow_enum_integration_type","description":"The software that will handle inbound messages. [Integration Type](https://www.twilio.com/docs/flex/developer/messaging/manage-flows#integration-types) can be: `studio`, `external`, or `task`.","type":"string"},"JanitorEnabled":{"description":"When enabled, the Messaging Channel Janitor will remove active Proxy sessions if the associated Task is deleted outside of the Flex UI. Defaults to `false`.","type":"boolean"},"LongLived":{"description":"When enabled, Flex will keep the chat channel active so that it may be used for subsequent interactions with a contact identity. Defaults to `false`.","type":"boolean"}},"title":"UpdateFlexFlowRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.flex_flow"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1FlexFlow"],"x-maturity":["GA"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","friendly_name","channel_type","integration_type"],"mountName":"flex_flow","pathType":"instance"}},"/v1/Insights/Conversations":{"description":"TODO: Resource-level docs","get":{"description":"To get conversation with segment id","operationId":"ListInsightsConversations","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}},{"description":"Unique Id of the segment for which conversation details needs to be fetched","in":"query","name":"SegmentId","schema":{"type":"string"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"conversations":{"items":{"$ref":"#/components/schemas/flex.v1.insights_conversations"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListInsightsConversationsResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsConversations"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"className":"insights_conversations","defaultOutputProperties":["conversation_id","account_id","segment_count","segments"],"mountName":"insights_conversations","pathType":"list"}},"/v1/Insights/QualityManagement/Assessments":{"description":"TODO: Resource-level docs","get":{"description":"Get assessments done for a conversation by logged in user","operationId":"ListInsightsAssessments","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}},{"description":"The id of the segment.","in":"query","name":"SegmentId","schema":{"type":"string"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"assessments":{"items":{"$ref":"#/components/schemas/flex.v1.insights_assessments"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListInsightsAssessmentsResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1Assessments"],"x-maturity":["Preview"]},"post":{"description":"Add assessments against conversation to dynamo db. Used in assessments screen by user. Users can select the questionnaire and pick up answers for each and every question.","operationId":"CreateInsightsAssessments","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"AgentId":{"description":"The id of the Agent","type":"string"},"AnswerId":{"description":"The id of the answer selected by user","type":"string"},"AnswerText":{"description":"The answer text selected by user","type":"string"},"CategoryName":{"description":"The name of the category","type":"string"},"CategorySid":{"description":"The SID of the category ","maxLength":34,"minLength":34,"pattern":"^FY[0-9a-fA-F]{32}$","type":"string"},"MetricId":{"description":"The question SID selected for assessment","maxLength":34,"minLength":34,"pattern":"^GE[0-9a-fA-F]{32}$","type":"string"},"MetricName":{"description":"The question name of the assessment","type":"string"},"Offset":{"description":"The offset of the conversation.","type":"number"},"QuestionnaireSid":{"description":"Questionnaire SID of the associated question","maxLength":34,"minLength":34,"pattern":"^GM[0-9a-fA-F]{32}$","type":"string"},"SegmentId":{"description":"Segment Id of the conversation","type":"string"}},"required":["CategorySid","CategoryName","SegmentId","AgentId","Offset","MetricId","MetricName","AnswerText","AnswerId","QuestionnaireSid"],"title":"CreateInsightsAssessmentsRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_assessments"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1Assessments"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"className":"assessments","defaultOutputProperties":["account_sid","assessment_sid","assessment"],"pathType":"list"}},"/v1/Insights/QualityManagement/Assessments/Comments":{"description":"TODO: Resource-level docs","get":{"description":"To create a comment assessment for a conversation","operationId":"ListInsightsAssessmentsComment","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}},{"description":"The id of the segment.","in":"query","name":"SegmentId","schema":{"type":"string"}},{"description":"The id of the agent.","in":"query","name":"AgentId","schema":{"type":"string"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"comments":{"items":{"$ref":"#/components/schemas/flex.v1.insights_assessments_comment"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListInsightsAssessmentsCommentResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsAssessmentsComment"],"x-maturity":["Preview"]},"post":{"description":"To create a comment assessment for a conversation","operationId":"CreateInsightsAssessmentsComment","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"AgentId":{"description":"The id of the agent.","type":"string"},"CategoryId":{"description":"The ID of the category","type":"string"},"CategoryName":{"description":"The name of the category","type":"string"},"Comment":{"description":"The Assessment comment.","type":"string"},"Offset":{"description":"The offset","type":"number"},"SegmentId":{"description":"The id of the segment.","type":"string"}},"required":["CategoryId","CategoryName","Comment","SegmentId","AgentId","Offset"],"title":"CreateInsightsAssessmentsCommentRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_assessments_comment"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsAssessmentsComment"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["account_sid","assessment_sid","comment"],"mountName":"insights_assessments_comment","pathType":"list"}},"/v1/Insights/QualityManagement/Assessments/{AssessmentSid}":{"description":"TODO: Resource-level docs","post":{"description":"Update a specific Assessment assessed earlier","operationId":"UpdateInsightsAssessments","parameters":[{"description":"The SID of the assessment to be modified","in":"path","name":"AssessmentSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^FM[0-9a-fA-F]{32}$","type":"string"}},{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"AnswerId":{"description":"The id of the answer selected by user","type":"string"},"AnswerText":{"description":"The answer text selected by user","type":"string"},"Offset":{"description":"The offset of the conversation","type":"number"}},"required":["Offset","AnswerText","AnswerId"],"title":"UpdateInsightsAssessmentsRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_assessments"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1Assessments"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"className":"assessments","defaultOutputProperties":["account_sid","assessment_sid","assessment"],"pathType":"instance"}},"/v1/Insights/QualityManagement/Categories":{"description":"TODO: Resource-level docs","get":{"description":"To get all the categories","operationId":"ListInsightsQuestionnairesCategory","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"categories":{"items":{"$ref":"#/components/schemas/flex.v1.insights_questionnaires_category"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListInsightsQuestionnairesCategoryResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnairesCategory"],"x-maturity":["Preview"]},"post":{"description":"To create a category for Questions","operationId":"CreateInsightsQuestionnairesCategory","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"Name":{"description":"The name of this category.","type":"string"}},"required":["Name"],"title":"CreateInsightsQuestionnairesCategoryRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_questionnaires_category"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnairesCategory"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["account_sid","category_sid","name"],"mountName":"insights_questionnaires_category","pathType":"list"}},"/v1/Insights/QualityManagement/Categories/{CategorySid}":{"delete":{"description":"","operationId":"DeleteInsightsQuestionnairesCategory","parameters":[{"description":"The SID of the category to be deleted","in":"path","name":"CategorySid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^FY[0-9a-fA-F]{32}$","type":"string"}},{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnairesCategory"],"x-maturity":["Preview"]},"description":"TODO: Resource-level docs","post":{"description":"To update the category for Questions","operationId":"UpdateInsightsQuestionnairesCategory","parameters":[{"description":"The SID of the category to be updated","in":"path","name":"CategorySid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^FY[0-9a-fA-F]{32}$","type":"string"}},{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"Name":{"description":"The name of this category.","type":"string"}},"required":["Name"],"title":"UpdateInsightsQuestionnairesCategoryRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_questionnaires_category"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnairesCategory"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["account_sid","category_sid","name"],"mountName":"insights_questionnaires_category","pathType":"instance"}},"/v1/Insights/QualityManagement/Questionnaires":{"description":"TODO: Resource-level docs","get":{"description":"To get all questionnaires with questions","operationId":"ListInsightsQuestionnaires","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}},{"description":"Flag indicating whether to include inactive questionnaires or not","in":"query","name":"IncludeInactive","schema":{"type":"boolean"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"},"questionnaires":{"items":{"$ref":"#/components/schemas/flex.v1.insights_questionnaires"},"type":"array"}},"title":"ListInsightsQuestionnairesResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnaires"],"x-maturity":["Preview"]},"post":{"description":"To create a Questionnaire","operationId":"CreateInsightsQuestionnaires","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"Active":{"description":"The flag to enable or disable questionnaire","type":"boolean"},"Description":{"description":"The description of this questionnaire","type":"string"},"Name":{"description":"The name of this questionnaire","type":"string"},"QuestionSids":{"description":"The list of questions sids under a questionnaire","items":{"maxLength":34,"minLength":34,"pattern":"^GE[0-9a-fA-F]{32}$","type":"string"},"type":"array"}},"required":["Name"],"title":"CreateInsightsQuestionnairesRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_questionnaires"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnaires"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"className":"insights_questionnaires","defaultOutputProperties":["account_sid","questionnaire_sid","name"],"mountName":"insights_questionnaires","pathType":"list"}},"/v1/Insights/QualityManagement/Questionnaires/{QuestionnaireSid}":{"delete":{"description":"To delete the questionnaire","operationId":"DeleteInsightsQuestionnaires","parameters":[{"description":"The SID of the questionnaire","in":"path","name":"QuestionnaireSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^GM[0-9a-fA-F]{32}$","type":"string"}},{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnaires"],"x-maturity":["Preview"]},"description":"TODO: Resource-level docs","get":{"description":"To get the Questionnaire Detail","operationId":"FetchInsightsQuestionnaires","parameters":[{"description":"The SID of the questionnaire","in":"path","name":"QuestionnaireSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^GM[0-9a-fA-F]{32}$","type":"string"}},{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_questionnaires"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnaires"],"x-maturity":["Preview"]},"post":{"description":"To update the questionnaire","operationId":"UpdateInsightsQuestionnaires","parameters":[{"description":"The SID of the questionnaire","in":"path","name":"QuestionnaireSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^GM[0-9a-fA-F]{32}$","type":"string"}},{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"Active":{"description":"The flag to enable or disable questionnaire","type":"boolean"},"Description":{"description":"The description of this questionnaire","type":"string"},"Name":{"description":"The name of this questionnaire","type":"string"},"QuestionSids":{"description":"The list of questions sids under a questionnaire","items":{"maxLength":34,"minLength":34,"pattern":"^GE[0-9a-fA-F]{32}$","type":"string"},"type":"array"}},"required":["Active"],"title":"UpdateInsightsQuestionnairesRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_questionnaires"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnaires"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"className":"insights_questionnaires","defaultOutputProperties":["account_sid","questionnaire_sid","name"],"mountName":"insights_questionnaires","pathType":"instance"}},"/v1/Insights/QualityManagement/Questions":{"description":"TODO: Resource-level docs","get":{"description":"To get all the question for the given categories","operationId":"ListInsightsQuestionnairesQuestion","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}},{"description":"The list of category SIDs","in":"query","name":"CategorySid","schema":{"items":{"maxLength":34,"minLength":34,"pattern":"^FY[0-9a-fA-F]{32}$","type":"string"},"type":"array"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"},"questions":{"items":{"$ref":"#/components/schemas/flex.v1.insights_questionnaires_question"},"type":"array"}},"title":"ListInsightsQuestionnairesQuestionResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnairesQuestion"],"x-maturity":["Preview"]},"post":{"description":"To create a question for a Category","operationId":"CreateInsightsQuestionnairesQuestion","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"AllowNa":{"description":"The flag to enable for disable NA for answer.","type":"boolean"},"AnswerSetId":{"description":"The answer_set for the question.","type":"string"},"CategorySid":{"description":"The SID of the category","maxLength":34,"minLength":34,"pattern":"^FY[0-9a-fA-F]{32}$","type":"string"},"Description":{"description":"The description for the question.","type":"string"},"Question":{"description":"The question.","type":"string"}},"required":["CategorySid","Question","AnswerSetId","AllowNa"],"title":"CreateInsightsQuestionnairesQuestionRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_questionnaires_question"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnairesQuestion"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["account_sid","question_sid","question"],"mountName":"insights_questionnaires_question","pathType":"list"}},"/v1/Insights/QualityManagement/Questions/{QuestionSid}":{"delete":{"description":"","operationId":"DeleteInsightsQuestionnairesQuestion","parameters":[{"description":"The SID of the question","in":"path","name":"QuestionSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^GE[0-9a-fA-F]{32}$","type":"string"}},{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnairesQuestion"],"x-maturity":["Preview"]},"description":"TODO: Resource-level docs","post":{"description":"To update the question","operationId":"UpdateInsightsQuestionnairesQuestion","parameters":[{"description":"The SID of the question","in":"path","name":"QuestionSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^GE[0-9a-fA-F]{32}$","type":"string"}},{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"AllowNa":{"description":"The flag to enable for disable NA for answer.","type":"boolean"},"AnswerSetId":{"description":"The answer_set for the question.","type":"string"},"CategorySid":{"description":"The SID of the category","maxLength":34,"minLength":34,"pattern":"^FY[0-9a-fA-F]{32}$","type":"string"},"Description":{"description":"The description for the question.","type":"string"},"Question":{"description":"The question.","type":"string"}},"required":["AllowNa"],"title":"UpdateInsightsQuestionnairesQuestionRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_questionnaires_question"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsQuestionnairesQuestion"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["account_sid","question_sid","question"],"mountName":"insights_questionnaires_question","pathType":"instance"}},"/v1/Insights/QualityManagement/Settings/AnswerSets":{"description":"TODO: Resource-level docs","get":{"description":"To get the Answer Set Settings for an Account","operationId":"FetchInsightsSettingsAnswersets","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_settings_answersets"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsSettingsAnswerSets"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"className":"insights_settings_answer_sets","defaultOutputProperties":["answer_sets","answer_set_categories","not_applicable"],"mountName":"insights_settings_answer_sets","pathType":"list"}},"/v1/Insights/QualityManagement/Settings/CommentTags":{"description":"TODO: Resource-level docs","get":{"description":"To get the Comment Settings for an Account","operationId":"FetchInsightsSettingsComment","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_settings_comment"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsSettingsComment"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["comments"],"mountName":"insights_settings_comment","pathType":"list"}},"/v1/Insights/Segments":{"description":"TODO: Resource-level docs","get":{"description":"To get segments for given reservation Ids","operationId":"ListInsightsSegments","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}},{"description":"To unique id of the segment","in":"query","name":"SegmentId","schema":{"type":"string"}},{"description":"The list of reservation Ids","in":"query","name":"ReservationId","schema":{"items":{"maxLength":34,"minLength":34,"pattern":"^WR[0-9a-fA-F]{32}$","type":"string"},"type":"array"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"},"segments":{"items":{"$ref":"#/components/schemas/flex.v1.insights_segments"},"type":"array"}},"title":"ListInsightsSegmentsResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsSegments"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"className":"insights_segments","defaultOutputProperties":["segment_id","external_id","account_id","agent_id","queue"],"mountName":"insights_segments","pathType":"list"}},"/v1/Insights/Session":{"description":"TODO: Resource-level docs","post":{"description":"To obtain session details for fetching reports and dashboards","operationId":"CreateInsightsSession","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_session"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsSession"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["workspace_id","session_expiry","session_id","base_url"],"mountName":"insights_session","pathType":"instance"}},"/v1/Insights/UserRoles":{"description":"TODO: Resource-level docs","get":{"description":"This is used by Flex UI and Quality Management to fetch the Flex Insights roles for the user","operationId":"FetchInsightsUserRoles","parameters":[{"description":"The Authorization HTTP request header","in":"header","name":"Authorization","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.insights_user_roles"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1InsightsUserRoles"],"x-maturity":["Preview"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"className":"insights_user_roles","defaultOutputProperties":["roles"],"mountName":"insights_user_roles","pathType":"instance"}},"/v1/Interactions":{"description":"TODO: Resource-level docs","post":{"description":"Create a new Interaction.","operationId":"CreateInteraction","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"Channel":{"description":"The Interaction's channel."},"InteractionContextSid":{"description":"The Interaction context sid is used for adding a context lookup sid","maxLength":34,"minLength":34,"pattern":"^HQ[0-9a-fA-F]{32}$","type":"string"},"Routing":{"description":"The Interaction's routing logic."}},"required":["Channel","Routing"],"title":"CreateInteractionRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flex.v1.interaction"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["FlexV1Interaction"],"x-maturity":["GA"]},"servers":[{"url":"https://flex-api.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid"],"dependentProperties":{"channels":{"mapping":{"interaction_sid":"sid"},"resource_url":"/v1/Interactions/{interaction_sid}/Channels"}},"mountName":"interaction","pathType":"list"}},"/v1/Interactions/{InteractionSid}/Channels":{"description":"TODO: Resource-level docs","get":{"description":"List all Channels for an Interaction.","operationId":"ListInteractionChannel","paramete