Get all Dashboards

This endpoint retrieves all Dashboards.

Request

To retrieve all Dashboards please make a GET request to the following URL:

HTTP MethodURL
GEThttps://industrial.api.ubidots.com/api/v2.0/dashboards/

Header

ParameterRequired?Description
X-Auth-TokenYesAuthentication Token of account
$ curl -X GET 'https://industrial.api.ubidots.com/api/v2.0/dashboards/' \
 -H 'X-Auth-Token: oaXBo6ODhIjPsusNRPUGIK4d72bc73' \
{
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "url": "https://industrial.api.ubidots.com/api/v2.0/dashboards/abcdefgh1234567890",
            "id": "abcdefgh1234567890",
            "organization": null,
            "label": "demo_dashboard",
            "name": "Demo Dashboard",
            "description": "",
            "timeframe": {
                "endDate": "now/d",
                "startDate": "now-7d"
            },
            "tags": [],
            "context": {
                "size": null,
                "_isNew": true,
                "isDynamic": true,
                "displayName": "name",
                "__customStyle": {
                      "dashboard": {
                          "color": "#5e5e5e",
                          "backgroundColor": "#f2f2f2"
                      },
                      "contextBar": {
                          "color": "#ffffff",
                          "title": {
                              "fontSize": 30,
                              "fontFamily": "Helvetica",
                              "fontWeight": "bold"
                          },
                          "fontSize": 14,
                          "fontFamily": "Helvetica",
                          "boxShadow": "3px 3px 5px 6px #ccc",
                          "borderRadius": "0px 0px 7px 7px",
                          "backgroundColor": "#192c54"
                      }
                  },
                "defaultDevice": "abcdefghijkl12345678",
                "hasBackground": false,
                "widgetsOpacity": 1,
                "floatingWidgets": false,
                "timestampFormat": "MM/DD/YYYY HH:mm",
                "deviceFilterType": "all",
                "deviceFilterEntityId": null,
                "widgetVerticalSpacing": 10,
                "widgetHorizontalSpacing": 10
            },
            "isEditable": true,
            "order": 1,
            "widgets": "https://industrial.api.ubidots.com/api/-/dashboards/abcdefgh12341234/widgets",
            "widgetsNumber": 11,
            "isActive": true,
            "createdAt": "2020-05-24T15:39:05.838572Z"
        }
    ]
}
{
    "code": 400001,
    "message": "Validation Error.",
    "detail": {
        ....
    }
}
{
    "code": 401001,
    "message": "Authentication credentials were not provided.",
    "detail": "Authentication credentials were not provided."
}

Response

An object with an array results containing all Dashboards.