8x8

8x8 Channels API

Enables ChatAPI channel registration and association with a webhook containing channel.

GitHub OpenAPI

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /vcc/{region}/chat/v2/tenant/{tenant-id}/channels List chat channels (v2) · Retrieves all customer Chat API channels #
Ask an LLM
“Which chat channels exist in my v2 chat API tenant?”
“Can I filter the v2 chat channels list?”
Tell an agent
List v2 chat channels for tenant {tenant} in region {region}.
Show {size} v2 chat channels matching {filter} in region {region}, tenant {tenant}.
POST /vcc/{region}/chat/v2/tenant/{tenant-id}/channels Create a chat channel (v2) · Creates a channel #
Ask an LLM
“How do I create a chat channel through the v2 chat API?”
“Can I set a webhook when creating a v2 chat channel?”
Tell an agent
Create v2 chat channel {name} in region {region}, tenant {tenant}.
Add v2 chat channel {name} with routing {routing} and webhook {webhook} in region {region}, tenant {tenant}.
GET /vcc/{region}/chat/v2/tenant/{tenant-id}/channels/{channel-id} Get a chat channel (v2) · Get ChatAPI channel by Id #
Ask an LLM
“What are the settings of one v2 chat channel?”
“Can I fetch a single v2 chat channel by ID?”
Tell an agent
Get v2 chat channel {channel} in region {region}, tenant {tenant}.
Show the routing and webhook of v2 chat channel {channel} in region {region}, tenant {tenant}.
PUT /vcc/{region}/chat/v2/tenant/{tenant-id}/channels/{channel-id} Update a chat channel (v2) · Update ChatAPI channel by Id #
Ask an LLM
“How do I rename a v2 chat channel?”
“Can I change the routing of an existing v2 chat channel?”
Tell an agent
Rename v2 chat channel {channel} to {name} in region {region}, tenant {tenant}.
Set routing {routing} on v2 chat channel {channel} in region {region}, tenant {tenant}.
DELETE /vcc/{region}/chat/v2/tenant/{tenant-id}/channels/{channel-id} Delete a chat channel (v2) · Delete ChatAPI channel by Id #
Ask an LLM
“How do I delete a v2 chat channel?”
“Can I remove a chat channel by ID in the v2 API?”
Tell an agent destructive · confirm first
Delete v2 chat channel {channel} in region {region}, tenant {tenant}.
Remove the v2 chat channel {channel} from region {region}, tenant {tenant}.
GET /chat-gateway/v1/channels List chat channels (chat-gateway) · Retrieves all customer Chat API channels #
Ask an LLM
“Which chat channels exist in my chat-gateway tenant?”
“Can I sort the chat-gateway channels list?”
Tell an agent
List chat-gateway chat channels for tenant {tenant}.
Show {size} chat-gateway channels matching {filter}.
POST /chat-gateway/v1/channels Create a chat channel (chat-gateway) · Creates a channel #
Ask an LLM
“How do I create a chat channel through the chat-gateway API?”
“Can I choose the channel type when creating a chat-gateway channel?”
Tell an agent
Create chat-gateway chat channel {name} of type {type}.
Add chat-gateway channel {name} with routing {routing} and webhook {webhook}.
GET /chat-gateway/v1/channels/{channelId} Get a chat channel (chat-gateway) · Get ChatAPI channel by Id #
Ask an LLM
“What are the settings of one chat-gateway channel?”
“Can I fetch a single chat-gateway channel by ID?”
Tell an agent
Get chat-gateway channel {channel}.
Show the routing and webhook of chat-gateway channel {channel}.
PUT /chat-gateway/v1/channels/{channelId} Update a chat channel (chat-gateway) · Update ChatAPI channel by Id #
Ask an LLM
“How do I rename a chat-gateway channel?”
“Can I change the routing of an existing chat-gateway channel?”
Tell an agent
Rename chat-gateway channel {channel} to {name}.
Set routing {routing} on chat-gateway channel {channel}.
DELETE /chat-gateway/v1/channels/{channelId} Delete a chat channel (chat-gateway) · Delete ChatAPI channel by Id #
Ask an LLM
“How do I delete a chat-gateway channel?”
“Can I remove a chat channel by ID in the chat-gateway API?”
Tell an agent destructive · confirm first
Delete chat-gateway channel {channel}.
Remove the chat-gateway channel {channel}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/8x8:8x8-channels-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

8x8-channels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 8x8 Channels API
  version: '1.0'
  description: 'Operations tagged Channels across 2 of this provider''s published API definitions: 8x8-actions-events-8x8-contact-center-chat-api-v2.json, 8x8-actions-events-contact-center-chat-gateway-v1.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.8x8.com
tags:
- name: Channels
  description: Enables ChatAPI channel registration and association with a webhook containing channel.
paths:
  /vcc/{region}/chat/v2/tenant/{tenant-id}/channels:
    get:
      tags:
      - Channels
      summary: Retrieves all customer Chat API channels
      description: Retrieves all customer Chat API channels based on the provided access token information.
      operationId: getchatapichannels
      security:
      - 8x8APIBearerToken:
        - vcc-chat.channels.read
      parameters:
      - $ref: '#/components/parameters/RegionParam'
      - $ref: '#/components/parameters/TenantIdPathParam'
      - $ref: '#/components/parameters/PageSizeFilterOptional'
      - $ref: '#/components/parameters/PageIndexFilterOptional'
      - $ref: '#/components/parameters/SortByOptional'
      - $ref: '#/components/parameters/FilterOptional'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChannelsV2ListResult'
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/ForbiddenRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
        '500':
          $ref: '#/components/responses/InternalServerErrorResponse'
        default:
          $ref: '#/components/responses/InternalServerErrorResponse'
    post:
      tags:
      - Channels
      summary: Creates a channel
      description: Create a new channel for a customer.
      operationId: createchatapichannel
      security:
      - 8x8APIBearerToken:
        - vcc-chat.channels.write
      parameters:
      - $ref: '#/components/parameters/RegionParam'
      - $ref: '#/components/parameters/TenantIdPathParam'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelV2CreateRequest'
      responses:
        '200':
          description: Channel created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChannelV2Result'
        '400':
          $ref: '#/components/responses/ValidationExceptionPayload'
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/ForbiddenRequestResponse'
        '500':
          $ref: '#/components/responses/InternalServerErrorResponse'
        default:
          $ref: '#/components/responses/InternalServerErrorResponse'
    servers:
    - url: https://api.8x8.com
  /vcc/{region}/chat/v2/tenant/{tenant-id}/channels/{channel-id}:
    get:
      tags:
      - Channels
      summary: Get ChatAPI channel by Id
      description: Retrieves ChatAPI channel by Id.
      operationId: getchatapichannel
      security:
      - 8x8APIBearerToken:
        - vcc-chat.channels.read
      parameters:
      - $ref: '#/components/parameters/RegionParam'
      - $ref: '#/components/parameters/TenantIdPathParam'
      - $ref: '#/components/parameters/ChatAPIChannelUrlID'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChannelV2Result'
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/ForbiddenRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
        '500':
          $ref: '#/components/responses/InternalServerErrorResponse'
        default:
          $ref: '#/components/responses/InternalServerErrorResponse'
    put:
      tags:
      - Channels
      summary: Update ChatAPI channel by Id
      description: Update ChatAPI channel by Id.
      operationId: updatechatapichannel
      security:
      - 8x8APIBearerToken:
        - vcc-chat.channels.write
      parameters:
      - $ref: '#/components/parameters/RegionParam'
      - $ref: '#/components/parameters/TenantIdPathParam'
      - $ref: '#/components/parameters/ChatAPIChannelUrlID'
      - $ref: '#/components/parameters/NumbericVersionMatchPreconditionOptional'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelV2PutRequest'
      responses:
        '200':
          description: Channel updated succesfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChannelV2Result'
        '400':
          $ref: '#/components/responses/RequestValidationV2Problem'
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/ForbiddenRequestResponse'
        '500':
          $ref: '#/components/responses/InternalServerErrorResponse'
        default:
          $ref: '#/components/responses/InternalServerErrorResponse'
    delete:
      tags:
      - Channels
      summary: Delete ChatAPI channel by Id
      description: Deletes ChatAPI channel by the provided Id.
      operationId: deletechatapichannelbyid
      security:
      - 8x8APIBearerToken:
        - vcc-chat.channels.write
      parameters:
      - $ref: '#/components/parameters/RegionParam'
      - $ref: '#/components/parameters/TenantIdPathParam'
      - $ref: '#/components/parameters/ChatAPIChannelUrlID'
      responses:
        '204':
          description: Deleted resource.
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/ForbiddenRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
        '500':
          $ref: '#/components/responses/InternalServerErrorResponse'
        default:
          $ref: '#/components/responses/InternalServerErrorResponse'
    servers:
    - url: https://api.8x8.com
  /chat-gateway/v1/channels:
    get:
      tags:
      - Channels
      summary: Retrieves all customer Chat API channels
      description: Retrieves all customer Chat API channels based on the provided access token information.
      operationId: getchatapichannels-1
      security:
      - 8x8ApiKey:
        - Contact Center Chat Gateway
      parameters:
      - $ref: '#/components/parameters/PageSizeFilterOptional'
      - $ref: '#/components/parameters/PageIndexFilterOptional'
      - $ref: '#/components/parameters/SortByOptional_2'
      - $ref: '#/components/parameters/FilterOptional'
      - $ref: '#/components/parameters/TenantIdFilterOptional'
      responses:
        '200':
          description: OK
          content:
            application/hal+json:
              schema:
                $ref: '#/components/schemas/ChannelsV2ListResult_2'
        '400':
          $ref: '#/components/responses/GeneralErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/ForbiddenRequestResponse'
        '404':
          $ref: '#/components/responses/GeneralErrorResponse'
        '500':
          $ref: '#/components/responses/GeneralErrorResponse'
        default:
          $ref: '#/components/responses/GeneralErrorResponse'
    post:
      tags:
      - Channels
      summary: Creates a channel
      description: Create a new channel for a customer.
      operationId: createchatapichannel-1
      security:
      - 8x8ApiKey:
        - Contact Center Chat Gateway
      parameters:
      - $ref: '#/components/parameters/TenantIdFilterOptional'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelV2CreateRequest_2'
      responses:
        '200':
          description: Channel created successfully.
          content:
            application/hal+json:
              schema:
                $ref: '#/components/schemas/ChannelV2Result_2'
        '400':
          $ref: '#/components/responses/GeneralErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/GeneralErrorResponse'
        '500':
          $ref: '#/components/responses/GeneralErrorResponse'
        default:
          $ref: '#/components/responses/GeneralErrorResponse'
    servers:
    - url: https://api.8x8.com
  /chat-gateway/v1/channels/{channelId}:
    get:
      tags:
      - Channels
      summary: Get ChatAPI channel by Id
      description: Retrieves ChatAPI channel by Id.
      operationId: getchatapichannel-1
      security:
      - 8x8ApiKey:
        - Contact Center Chat Gateway
      parameters:
      - $ref: '#/components/parameters/ChatAPIChannelUrlID_2'
      - $ref: '#/components/parameters/TenantIdFilterOptional'
      responses:
        '200':
          description: OK
          content:
            application/hal+json:
              schema:
                $ref: '#/components/schemas/ChannelV2Result_2'
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/ForbiddenRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
        '500':
          $ref: '#/components/responses/GeneralErrorResponse'
        default:
          $ref: '#/components/responses/GeneralErrorResponse'
    put:
      tags:
      - Channels
      summary: Update ChatAPI channel by Id
      description: Update ChatAPI channel by Id.
      operationId: updatechatapichannel-1
      security:
      - 8x8ApiKey:
        - Contact Center Chat Gateway
      parameters:
      - $ref: '#/components/parameters/ChatAPIChannelUrlID_2'
      - $ref: '#/components/parameters/TenantIdFilterOptional'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChannelV2PutRequest_2'
      responses:
        '200':
          description: Channel updated successfully.
          content:
            application/hal+json:
              schema:
                $ref: '#/components/schemas/ChannelV2Result_2'
        '400':
          $ref: '#/components/responses/GeneralErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/ForbiddenRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
        '500':
          $ref: '#/components/responses/GeneralErrorResponse'
        default:
          $ref: '#/components/responses/GeneralErrorResponse'
    delete:
      tags:
      - Channels
      summary: Delete ChatAPI channel by Id
      description: Deletes ChatAPI channel by the provided Id.
      operationId: deletechatapichannelbyid-1
      security:
      - 8x8ApiKey:
        - Contact Center Chat Gateway
      parameters:
      - $ref: '#/components/parameters/ChatAPIChannelUrlID_2'
      - $ref: '#/components/parameters/TenantIdFilterOptional'
      responses:
        '204':
          description: Deleted resource.
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/ForbiddenRequestResponse'
        '404':
          $ref: '#/components/responses/ResourceNotFoundResponse'
        '500':
          $ref: '#/components/responses/GeneralErrorResponse'
        default:
          $ref: '#/components/responses/GeneralErrorResponse'
    servers:
    - url: https://api.8x8.com
components:
  parameters:
    NumbericVersionMatchPreconditionOptional:
      name: If-Match
      in: header
      required: false
      description: Entity version tag.
      schema:
        type: number
        format: int32
      example: 1
    FilterOptional:
      name: filter
      in: query
      required: false
      description: Filter for a query in FIQL format.
      schema:
        type: string
        example: name==Cosmin,(routingOption.id==11)
    PageIndexFilterOptional:
      name: page
      in: query
      required: false
      description: Response page index.
      schema:
        type: number
        format: int32
        default: 0
        example: 1
    ChatAPIChannelUrlID:
      name: channel-id
      in: path
      required: true
      description: ChatAPI channel identifier.
      schema:
        type: string
        format: string
        example: '25'
    PageSizeFilterOptional:
      name: size
      in: query
      required: false
      description: Response page size.
      schema:
        type: number
        format: int32
        default: 20
      example: 100
    TenantIdPathParam:
      name: tenant-id
      in: path
      description: Tenant ID.
      required: true
      schema:
        type: string
        format: string
      example: TheTenant
    RegionParam:
      name: region
      in: path
      description: Business region to use [e.g., us, eu, ca, ap]
      required: true
      schema:
        type: string
        enum:
        - us
        - eu
        - ca
        - ap
        example: us
        default: us
    SortByOptional:
      name: sort
      in: query
      required: false
      description: Attribute on which sorting direction is applied.
      schema:
        type: string
        default: id
        example: id
    ChatAPIChannelUrlID_2:
      name: channelId
      in: path
      required: true
      description: ChatAPI channel identifier.
      schema:
        type: string
        format: string
        example: '25'
    TenantIdFilterOptional:
      name: X-8x8-Tenant
      in: header
      required: false
      description: Tenant ID, it is going to be mandatory if customer has more than one CC tenant in his organisation.
      schema:
        type: string
        format: string
      example: TheTenant
    SortByOptional_2:
      name: sort
      in: query
      required: false
      description: Attribute on which sorting direction is applied.
      schema:
        type: string
        default: id:asc
        example: id:asc
  schemas:
    ChannelRoutingOptions:
      type: object
      required:
      - routingOptions
      properties:
        routingOptions:
          type: object
          required:
          - type
          - id
          properties:
            type:
              type: string
              enum:
              - queue
              default: queue
            id:
              type: string
              format: string
              example: '101'
              description: Depending on the option used this would be Queue ID.
    ChannelV2CreateRequest:
      allOf:
      - type: object
        required:
        - name
        - routingOptions
        - webHookId
        properties:
          name:
            type: string
            format: string
            description: The channel name
            maxLength: 255
      - $ref: '#/components/schemas/WebHookIdentifierField'
      - $ref: '#/components/schemas/ChannelRoutingOptions'
    UnauthorizedProblem:
      type: object
      properties:
        fault:
          type: object
          description: Error message.
          properties:
            faultstring:
              type: string
              example: Invalid Access Token
            detail:
              type: object
              properties:
                errorcode:
                  type: string
                  example: keymanagement.service.invalid_access_token
    ResourceNotFoundProblem:
      type: object
      properties:
        message:
          type: string
          description: Error message.
          example: Resource of type <<resourceType>> with id <<resourceId>> was not found.
        errors:
          type: array
          items:
            type: string
            example: Tenant <<tenantId>> does not belong to customer <<customerId>>.
    ValidationExceptionPayload:
      allOf:
      - $ref: '#/components/schemas/GenericExceptionPayload'
      - type: object
        properties:
          validations:
            type: array
            items:
              type: object
              properties:
                field:
                  type: string
                  example: webHookId
                  description: Invalid field name
                value:
                  type: string
                  example: '45'
                  description: Submitted value
                code:
                  type: string
                  description: Uniqe error code.
                  example: invalid_queue
                message:
                  type: string
                  description: Free text error description.
                  example: Queue ID 112 is invalid.
    ForbiddenViolationProblem:
      type: object
      properties:
        message:
          type: string
          description: Error message.
          example: The tenant does not belong to customer.
        errors:
          type: array
          items:
            type: string
            example: Tenant <<tenantId>> does not belong to customer <<customerId>>.
    ChannelV2PutRequest:
      allOf:
      - type: object
        required:
        - name
        - routingOptions
        - webHookId
        properties:
          name:
            type: string
            format: string
            description: The channel name
            maxLength: 255
      - $ref: '#/components/schemas/WebHookIdentifierField'
      - $ref: '#/components/schemas/ChannelRoutingOptions'
    WebHookIdentifierField:
      type: object
      properties:
        webHookId:
          type: string
          format: string
          example: '12'
    PageResult:
      type: object
      properties:
        page:
          type: object
          properties:
            pageSize:
              type: number
              format: int32
              description: Page size of the response.
            pageIndex:
              type: number
              format: int32
              description: Page 0-based index of the response.
            elementCount:
              type: number
              format: int32
              description: Total number of items.
            pageCount:
              type: number
              format: int32
              description: Total number of pages.
    InternalServerProblem:
      type: object
      properties:
        message:
          type: string
          description: 'Error message.

            '
          example: Could not process this request due to ...
        errors:
          type: array
          description: List of errors that caused the request to fail.
          items:
            type: string
        referenceId:
          type: string
          description: A referenceId that can be used by 8x8 engineers to track a failed request.
    ChannelV2Result:
      allOf:
      - type: object
        required:
        - id
        - name
        - routingOptions
        - webHookId
        properties:
          id:
            type: string
            format: string
            description: The Channel ID for which the transaction will be created.
            example: '25'
          name:
            type: string
            format: string
            description: The channel name.
            example: Some channel name.
            maxLength: 255
      - $ref: '#/components/schemas/WebHookIdentifierField'
      - $ref: '#/components/schemas/ChannelRoutingOptions'
    GenericExceptionPayload:
      type: object
      properties:
        message:
          type: string
          description: Error message.
          example: Internal error.
        errors:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
                description: Uniqe error code.
                example: invalid_queue
              message:
                type: string
                description: Free text error description.
                example: Queue ID 112 is invalid.
    ChannelsV2ListResult:
      allOf:
      - type: object
        properties:
          data:
            type: array
            items:
              $ref: '#/components/schemas/ChannelV2Result'
      - $ref: '#/components/schemas/PageResult'
    ConstraintViolationProblem:
      type: object
      properties:
        message:
          type: string
          description: The error message.
          example: Constraint Violation
        errors:
          type: array
          items:
            type: string
            example: '<<name>>: May not be empty.'
    ChannelTypeField:
      type: object
      properties:
        type:
          type: string
          x-extensible-enum:
          - SMS
          - ChatAPI
          - Facebook
          - Twitter
          - WhatsApp
          - WebChat
          example: ChatAPI
          description: Channel type, in this version only ChatAPI channels can be created using the API, but other chat channels can be retrieved using the API
          maxLength: 25
    ChannelV2CreateRequest_2:
      allOf:
      - type: object
        required:
        - name
        - routingOptions
        - webHookId
        properties:
          name:
            type: string
            format: string
            description: The channel name
            maxLength: 255
      - $ref: '#/components/schemas/ChannelTypeField'
      - $ref: '#/components/schemas/WebHookIdentifierField'
      - $ref: '#/components/schemas/ChannelRoutingOptions'
    UnauthorizedProblem_2:
      type: object
      properties:
        message:
          type: string
          example: Access Denied
        errors:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
                example: Access Denied
              code:
                type: string
                example: access_denied
        referenceId:
          type: string
          example: dacd0dd252723a2
    Links:
      type: object
      properties:
        _links:
          type: object
          properties:
            self:
              type: object
              properties:
                href:
                  type: string
    ForbiddenViolationProblem_2:
      type: object
      properties:
        message:
          type: string
          description: Error message.
          example: The tenant does not belong to customer.
        errors:
          type: array
          items:
            type: string
            example: Header X-8x8-Tenant doesn't match tenant information for customerId=aaaa
    ChannelV2PutRequest_2:
      allOf:
      - type: object
        required:
        - name
        - routingOptions
        - webHookId
        properties:
          name:
            type: string
            format: string
            description: The channel name
            maxLength: 255
      - $ref: '#/components/schemas/ChannelTypeField'
      - $ref: '#/components/schemas/WebHookIdentifierField'
      - $ref: '#/components/schemas/ChannelRoutingOptions'
    PageResult_2:
      type: object
      properties:
        page:
          type: object
          properties:
            size:
              type: number
              format: int32
              description: Page size of the response.
            number:
              type: number
              format: int32
              description: Page 0-based index of the response.
            totalElements:
              type: number
              format: int32
              description: Total number of items.
            totalPages:
              type: number
              format: int32
              description: Total number of pages.
    ChannelV2Result_2:
      allOf:
      - type: object
        required:
        - id
        - name
        - routingOptions
        - webHookId
        properties:
          id:
            type: string
            format: string
            description: The Channel ID for which the transaction will be created.
            example: '25'
          name:
            type: string
            format: string
            description: The channel name.
            example: Some channel name.
            maxLength: 255
      - $ref: '#/components/schemas/ChannelTypeField'
      - $ref: '#/components/schemas/WebHookIdentifierField'
      - $ref: '#/components/schemas/ChannelRoutingOptions'
    GenericExceptionPayload_2:
      type: object
      properties:
        message:
          type: string
          description: Error message.
          example: Internal error.
        errors:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
                description: Unique error code.
                example: invalid_queue
              message:
                type: string
                description: Free text error description.
                example: Queue ID 112 is invalid.
    ChannelsV2ListResult_2:
      allOf:
      - type: object
        properties:
          _embedded:
            type: object
            properties:
              channels:
                type: array
                items:
                  $ref: '#/components/schemas/ChannelV2Result_2'
      - $ref: '#/components/schemas/Links'
      - $ref: '#/components/schemas/PageResult_2'
  responses:
    UnauthorizedResponse:
      description: Contains a description of the error.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/UnauthorizedProblem'
    ValidationExceptionPayload:
      description: Contains a descriptive response for a bad request that is due to data validation.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ValidationExceptionPayload'
    ResourceNotFoundResponse:
      description: Contains a descriptive information.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ResourceNotFoundProblem'
    InternalServerErrorResponse:
      description: Contains a description of the error.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/InternalServerProblem'
    ForbiddenRequestResponse:
      description: Contains a descriptive response.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ForbiddenViolationProblem'
    RequestValidationV2Problem:
      description: Contains a descriptive response for a bad request that is due to data validation.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ConstraintViolationProblem'
    GeneralErrorResponse:
      description: Contains a description of the error.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/GenericExceptionPayload_2'
  securitySchemes:
    8x8APIBearerToken:
      type: http
      scheme: bearer
      description: Bearer Token obtained from https://api.8x8.com
    8x8APIBasic:
      type: http
      scheme: basic
      description: Bearer Token obtained from https://api.8x8.com
    8x8ApiKey:
      type: apiKey
      name: x-api-key
      in: header
x-refined-from:
- 8x8-actions-events-8x8-contact-center-chat-api-v2.json
- 8x8-actions-events-contact-center-chat-gateway-v1.yml
x-readme:
  explorer-enabled: true
  proxy-enabled: false
  samples-enabled: true