> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vambe.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve channel by type

> Fetches the channel associated with the specified channel type for the authenticated user.



## OpenAPI

````yaml /openapi.json get /api/public/channels/{channelType}
openapi: 3.0.0
info:
  title: Vambe AI API
  description: Vambe AI documentation
  version: '1.0'
  contact: {}
servers:
  - url: https://api.vambe.me
    description: Production Server
security: []
tags:
  - name: Vambe AI
    description: ''
paths:
  /api/public/channels/{channelType}:
    get:
      tags:
        - Channels
      summary: Retrieve channel by type
      description: >-
        Fetches the channel associated with the specified channel type for the
        authenticated user.
      operationId: PublicChannelController_getChannel
      parameters:
        - name: x-api-key
          in: header
          description: API key for request authorization
          required: true
          schema:
            type: string
        - name: channelType
          required: true
          in: path
          description: The type of channel to retrieve
          schema:
            enum:
              - whatsapp
              - playground
              - web-whatsapp
              - instagram
            type: string
      responses:
        '200':
          description: Channel successfully retrieved
        '401':
          description: Unauthorized - Invalid or missing API key
        '404':
          description: Not Found - No channel found for the specified channel type

````