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

# Get public home

> Home page payload: the help center, its featured articles and its published
categories.

Takes **no** request input at all — no params, no query, no body. The help
center comes from `request.context.helpdesk`, which the host middleware
resolved from the hostname. That is what makes
`GET /v1/public/home?helpdeskID=<another tenant>` byte-for-byte identical
to `GET /v1/public/home`: the query string is never read.



## OpenAPI

````yaml /api/helpdesk.yaml get /v1/public/home
openapi: 3.0.3
info:
  description: >-
    Help center API for the Talqui Helpdesk plugin. Two surfaces with different
    audiences: authenticated authoring routes under /v1/tenants/:tenantID, and
    anonymous public reads under /v1/public resolved from the request hostname.
  license:
    name: ISC
    url: https://opensource.org/license/isc-license-txt
  title: Talqui Helpdesk API
  version: 0.9.0
servers:
  - description: Production
    url: https://plugins-api.talqui.chat/helpdesk
security: []
tags:
  - name: Install
  - name: Public
  - name: Helpdesk
  - name: Categories
  - name: Articles
paths:
  /v1/public/home:
    get:
      tags:
        - Public
      summary: Get public home
      description: >-
        Home page payload: the help center, its featured articles and its
        published

        categories.


        Takes **no** request input at all — no params, no query, no body. The
        help

        center comes from `request.context.helpdesk`, which the host middleware

        resolved from the hostname. That is what makes

        `GET /v1/public/home?helpdeskID=<another tenant>` byte-for-byte
        identical

        to `GET /v1/public/home`: the query string is never read.
      operationId: GetPublicHomeController
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: false
                properties:
                  categories:
                    items:
                      additionalProperties: false
                      properties:
                        categoryArticleCount:
                          type: number
                        categoryDescription:
                          type: string
                        categoryID:
                          type: string
                        categoryIconUrl:
                          nullable: true
                          type: string
                        categoryOrder:
                          type: number
                        categorySlug:
                          type: string
                        categoryTitle:
                          type: string
                      required:
                        - categoryID
                        - categorySlug
                        - categoryTitle
                        - categoryDescription
                        - categoryIconUrl
                        - categoryOrder
                        - categoryArticleCount
                      type: object
                    type: array
                  featuredArticles:
                    items:
                      additionalProperties: false
                      properties:
                        articleDescription:
                          type: string
                        articleFeatured:
                          type: boolean
                        articleID:
                          type: string
                        articleOrder:
                          type: number
                        articleSlug:
                          type: string
                        articleTitle:
                          type: string
                        categoryID:
                          type: string
                        publishedAt:
                          format: date-time
                          nullable: true
                          pattern: >-
                            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                          type: string
                      required:
                        - articleID
                        - categoryID
                        - articleSlug
                        - articleTitle
                        - articleDescription
                        - articleOrder
                        - articleFeatured
                        - publishedAt
                      type: object
                    type: array
                  helpdesk:
                    additionalProperties: false
                    properties:
                      helpdeskHostnames:
                        items:
                          type: string
                        type: array
                      helpdeskID:
                        type: string
                      helpdeskLocale:
                        type: string
                      helpdeskName:
                        type: string
                      helpdeskSlug:
                        nullable: true
                        type: string
                      helpdeskStatus:
                        enum:
                          - draft
                          - published
                        type: string
                      helpdeskSupport:
                        additionalProperties: false
                        properties:
                          chatEnabled:
                            type: boolean
                          emailAddress:
                            nullable: true
                            type: string
                          websiteUrl:
                            nullable: true
                            type: string
                        required:
                          - chatEnabled
                          - emailAddress
                          - websiteUrl
                        type: object
                      helpdeskTheme:
                        additionalProperties: false
                        properties:
                          colorHeaderBackground:
                            nullable: true
                            type: string
                          colorLoading:
                            nullable: true
                            type: string
                          colorPrimary:
                            nullable: true
                            type: string
                          faviconUrl:
                            nullable: true
                            type: string
                          headerTitle:
                            nullable: true
                            type: string
                          logoUrl:
                            nullable: true
                            type: string
                        required:
                          - colorPrimary
                          - colorHeaderBackground
                          - colorLoading
                          - logoUrl
                          - faviconUrl
                          - headerTitle
                        type: object
                    required:
                      - helpdeskID
                      - helpdeskName
                      - helpdeskSlug
                      - helpdeskLocale
                      - helpdeskStatus
                      - helpdeskTheme
                      - helpdeskSupport
                      - helpdeskHostnames
                    type: object
                required:
                  - helpdesk
                  - featuredArticles
                  - categories
                type: object
          description: Response for status 200.
        '400':
          content:
            application/json:
              schema:
                properties:
                  errors:
                    items:
                      $ref: '#/components/schemas/MissingHelpdeskHostnameError'
                    maxItems: 1
                    minItems: 1
                    type: array
                required:
                  - errors
                type: object
          description: >-
            MissingHelpdeskHostnameError (error_code 1106): no hostname on the
            request.
        '404':
          content:
            application/json:
              schema:
                properties:
                  errors:
                    items:
                      $ref: '#/components/schemas/HelpdeskNotFoundError'
                    maxItems: 1
                    minItems: 1
                    type: array
                required:
                  - errors
                type: object
          description: >-
            HelpdeskNotFoundError (error_code 1107): the hostname maps to no
            help center.
        '500':
          content:
            application/json:
              schema:
                properties:
                  errors:
                    items:
                      $ref: '#/components/schemas/UnknownError'
                    maxItems: 1
                    minItems: 1
                    type: array
                required:
                  - errors
                type: object
          description: >-
            UnknownError (error_code 5999): Unexpected internal error not
            otherwise documented for this endpoint.
components:
  schemas:
    MissingHelpdeskHostnameError:
      additionalProperties: false
      properties:
        error:
          enum:
            - MissingHelpdeskHostnameError
          type: string
        error_code:
          enum:
            - 1106
          type: number
        message:
          example: The X-Helpdesk-Host header is required.
          type: string
        statusCode:
          enum:
            - 400
          type: number
      required:
        - statusCode
        - error
        - error_code
        - message
      type: object
    HelpdeskNotFoundError:
      additionalProperties: false
      properties:
        error:
          enum:
            - HelpdeskNotFoundError
          type: string
        error_code:
          enum:
            - 1107
          type: number
        message:
          example: No help center answers on this address.
          type: string
        statusCode:
          enum:
            - 404
          type: number
      required:
        - statusCode
        - error
        - error_code
        - message
      type: object
    UnknownError:
      additionalProperties: false
      properties:
        error:
          enum:
            - UnknownError
          type: string
        error_code:
          enum:
            - 5999
          type: number
        message:
          example: For some unknown reason your request has not succeeded.
          type: string
        statusCode:
          enum:
            - 500
          type: number
      required:
        - statusCode
        - error
        - error_code
        - message
      type: object

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.