Skip to main content
GET
/
v1
/
third-party
/
dashboards
Fetches all dashboards.
curl --request GET \
  --url https://api.homepal.se/v1/third-party/dashboards \
  --header 'X-API-KEY: <api-key>'
{
  "data": {
    "dashboards": [
      {
        "id": "01fe4ce4-3057-46eb-8355-5ebebbe8c263",
        "folder": "Uthyrning",
        "title": "Vakanser",
        "tab": "Alla",
        "url": "http://localhost:3000/api-access/dashboards/01fe4ce4-3057-46eb-8355-5ebebbe8c263?token=eyJh...Avs",
        "preview_widgets": [
          {
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "title": "Antal hyresavtal",
            "url": "http://localhost:3000/api-access/widgets/166694b3-c31c-4fbf-89dd-d4ecb49a4a4d?token=eyJh...Avs",
            "raw": {
              "url": "http://localhost:3000/api-access/widgets/166694b3-c31c-4fbf-89dd-d4ecb49a",
              "headers": {
                "Authorization": "Bearer eyJh...Avs"
              }
            }
          }
        ],
        "custom_fields": [
          {
            "field_name": "section_title",
            "value": "Hyresdata"
          }
        ]
      }
    ],
    "links_expire_in": 3600,
    "meta": {
      "available_query_params": {
        "filter": {
          "type": "boolean",
          "default": "false"
        },
        "export": {
          "type": "boolean",
          "default": "false"
        },
        "responsive_mode": {
          "type": "enum",
          "enum": [
            "desktop",
            "mobile"
          ],
          "default": "desktop"
        },
        "mobile_breakpoint": {
          "type": "number",
          "default": "768"
        },
        "hide_footer": {
          "type": false,
          "default": false
        },
        "font_family": {
          "type": "enum",
          "enum": [
            "Source Sans 3",
            "UnitOTRB"
          ],
          "default": "Source Sans 3"
        },
        "companies": {
          "type": "enum",
          "enum": [
            "Company 1",
            "Company 2"
          ],
          "default": null
        }
      }
    }
  }
}

Authorizations

X-API-KEY
string
header
required

Query Parameters

company_group_id
string
required

Fetches all dashboards that the company group can view through a third party.

Response

200 - application/json

All the company groups dashboards

data
object