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

# Fetches all dashboards.



## OpenAPI

````yaml swagger.json get /v1/third-party/dashboards
openapi: 3.0.0
info:
  title: Homepal API
  version: '1'
servers:
  - url: https://api.homepal.se/
security:
  - ApiKeyAuth: []
paths:
  /v1/third-party/dashboards:
    get:
      summary: Fetches all dashboards.
      parameters:
        - in: query
          name: company_group_id
          schema:
            type: string
          required: true
          example: 06bec939-772d-4a0a-abcc-8a15145a39a9
          description: >-
            Fetches all dashboards that the company group can view through a
            third party.
      responses:
        '200':
          description: All the company groups dashboards
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      dashboards:
                        $ref: '#/components/schemas/Dashboards'
                      links_expire_in:
                        type: number
                        example: 3600
                      meta:
                        $ref: '#/components/schemas/Meta'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Dashboards:
      type: array
      items:
        type: object
        properties:
          id:
            type: string
            example: 01fe4ce4-3057-46eb-8355-5ebebbe8c263
          folder:
            type: string
            example: Uthyrning
            nullable: true
          title:
            type: string
            example: Vakanser
          tab:
            type: string
            example: Alla
          url:
            type: string
            example: >-
              http://localhost:3000/api-access/dashboards/01fe4ce4-3057-46eb-8355-5ebebbe8c263?token=eyJh...Avs
            description: The url to use in the iframe.
          preview_widgets:
            type: array
            items:
              type: object
              properties:
                id:
                  type: string
                  format: uuid
                title:
                  type: string
                  example: Antal hyresavtal
                url:
                  type: string
                  example: >-
                    http://localhost:3000/api-access/widgets/166694b3-c31c-4fbf-89dd-d4ecb49a4a4d?token=eyJh...Avs
                raw:
                  type: object
                  properties:
                    url:
                      type: string
                      example: >-
                        http://localhost:3000/api-access/widgets/166694b3-c31c-4fbf-89dd-d4ecb49a
                    headers:
                      type: object
                      properties:
                        Authorization:
                          type: string
                          example: Bearer eyJh...Avs
            description: Widgets that can be fetched on their own as previews.
          custom_fields:
            type: array
            items:
              type: object
              properties:
                field_name:
                  type: string
                  example: section_title
                value:
                  type: string
                  example: Hyresdata
            description: A list of custom fields that have been added to the dashboard.
    Meta:
      type: object
      properties:
        available_query_params:
          type: object
          properties:
            filter:
              type: object
              properties:
                type:
                  type: string
                  example: boolean
                default:
                  type: string
                  example: 'false'
            export:
              type: object
              properties:
                type:
                  type: string
                  example: boolean
                default:
                  type: string
                  example: 'false'
            responsive_mode:
              description: >-
                Sets the type of responsive mode. mobile to switch to mobile
                view on small screens, desktop to constantly use desktop view.
              type: object
              properties:
                type:
                  type: string
                  example: enum
                enum:
                  type: array
                  items:
                    type: string
                  example:
                    - desktop
                    - mobile
                default:
                  type: string
                  example: desktop
            mobile_breakpoint:
              description: >-
                Specifies at what value (expressed in px) responsive mode should
                take effect. Requires responsive_mode to be set to mobile.
              type: object
              properties:
                type:
                  type: string
                  example: number
                default:
                  type: string
                  example: '768'
            hide_footer:
              description: >-
                Determines whether the dashboard footer is hidden. If set to
                true, the footer will not be displayed. This can be used to
                simplify the layout or improve usability in certain scenarios.
              type: object
              properties:
                type:
                  type: boolean
                  example: false
                default:
                  type: boolean
                  example: false
            font_family:
              description: Specifies the font family to be used in the dashboard.
              type: object
              properties:
                type:
                  type: string
                  example: enum
                enum:
                  type: array
                  items:
                    type: string
                  example:
                    - Source Sans 3
                    - UnitOTRB
                default:
                  type: string
                  example: Source Sans 3
            companies:
              description: >-
                A comma separted list of company names to filter the data by. If
                not set, data from all companies the company group has access to
                will be shown.
              type: object
              properties:
                type:
                  type: string
                  example: enum
                enum:
                  type: array
                  items:
                    type: string
                  example:
                    - Company 1
                    - Company 2
                default:
                  type: string
                  example: null
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````