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
}
}
}
}
}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
}
}
}
}
}Fetches all dashboards that the company group can view through a third party.
All the company groups dashboards
Show child attributes
Show child attributes
"01fe4ce4-3057-46eb-8355-5ebebbe8c263"
"Uthyrning"
"Vakanser"
"Alla"
The url to use in the iframe.
"http://localhost:3000/api-access/dashboards/01fe4ce4-3057-46eb-8355-5ebebbe8c263?token=eyJh...Avs"
Widgets that can be fetched on their own as previews.
Show child attributes
"Antal hyresavtal"
"http://localhost:3000/api-access/widgets/166694b3-c31c-4fbf-89dd-d4ecb49a4a4d?token=eyJh...Avs"
Show child attributes
3600
Show child attributes
Show child attributes
Sets the type of responsive mode. mobile to switch to mobile view on small screens, desktop to constantly use desktop view.
Specifies at what value (expressed in px) responsive mode should take effect. Requires responsive_mode to be set to mobile.
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.
Specifies the font family to be used in the dashboard.
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.