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

# Kategorien auflisten

> Return categories assignable to the connected YouTube channel. The channel region takes precedence over the language fallback parameter.

Verwenden Sie die zurückgegebene Kategorie-`id` als `category_id`, wenn Sie einen Export erstellen. Die Region des verbundenen Kanals bestimmt, welche Kategorien verfügbar sind. Der optionale Abfrageparameter `language` wird nur als Fallback verwendet, wenn der Kanal keine Region hat.


## OpenAPI

````yaml GET /v1/youtube/categories
openapi: 3.1.0
info:
  title: Vozo API
  description: API for Generating, Editing and Localizing Talking Videos.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.vozo.ai
security:
  - bearerAuth: []
paths:
  /v1/youtube/categories:
    get:
      summary: List YouTube video categories
      description: >-
        Return categories assignable to the connected YouTube channel. The
        channel region takes precedence over the language fallback parameter.
      parameters:
        - name: language
          in: query
          required: false
          description: >-
            Interface language code used to infer a region only when the
            connected channel has no region. For example, en maps to US and ja
            maps to JP; unrecognized values fall back to US.
          schema:
            type: string
      responses:
        '200':
          description: Assignable categories for the channel region
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YouTubeCategoriesResponse'
        '400':
          description: >-
            YouTube account is not connected or the categories could not be
            retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YouTubeApiError'
components:
  schemas:
    YouTubeCategoriesResponse:
      type: object
      required:
        - region
        - categories
      properties:
        region:
          type: string
          description: Region used to fetch categories.
        categories:
          type: array
          description: Only categories assignable to a YouTube video are returned.
          items:
            $ref: '#/components/schemas/YouTubeCategory'
    YouTubeApiError:
      type: object
      properties:
        code:
          type: integer
          description: Vozo API error code.
        message:
          type: string
        errors:
          type: array
          items:
            type: string
          description: Additional error details, when available.
        server_ts:
          type: integer
        timestamp:
          type: integer
    YouTubeCategory:
      type: object
      required:
        - id
        - title
      properties:
        id:
          type: string
          description: Value to pass as category_id when creating an export.
        title:
          type: string
          description: Category display name.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: APIKey
      description: >-
        Bearer authentication header of the form Bearer <api_key>, where
        <api_key> is your API Key. The token in the sample code is referring to
        this api_key as well.

````