Accessor: client.flex_v2_web_channels · Source: twilio_sdk/apis/flex_v2_web_channels.py · 1 operation
Each ### block is one operation and assumes sdk-map.md is loaded: blocks omit what its invariants table covers and are otherwise self-contained, so chunk at block level. Signatures are the sync parsed spelling; the async and raw spellings take the same parameters (see sdk-map.md). Type sources names the module declaring each type an operation mentions, so resolving a body, return or error payload is a lookup rather than a search; the runtime types RawError and ApiResult are excluded.
- Route:
POST /v2/WebChats - Auth:
account_sid_auth_token - Server:
default13 - Signature:
def create_web_channel2(address_sid: str, *, ui_version: str | None = None, chat_friendly_name: str | None = None, customer_friendly_name: str | None = None, pre_engagement_data: str | None = None, identity: str | None = None, request_options: RequestOptionsOrDict | None = None)- required, positional:
address_sid
- required, positional:
- Params:
ui_version— headerUi-Version·address_sid— form fieldAddressSid·chat_friendly_name— form fieldChatFriendlyName·customer_friendly_name— form fieldCustomerFriendlyName·pre_engagement_data— form fieldPreEngagementData·identity— form fieldIdentity - Returns (parsed):
FlexV2WebChannel - Returns (raw):
ApiResult[FlexV2WebChannel, RawError] - Error:
RawError— Case B
| Type | Source |
|---|---|
FlexV2WebChannel |
twilio_sdk/models/flex_v2_web_channel.py |