Read dashboards
curl --request GET \
--url https://apiweb.mile.app/api/v3/dynamic-dashboards \
--header 'Authorization: Bearer <token>'import requests
url = "https://apiweb.mile.app/api/v3/dynamic-dashboards"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://apiweb.mile.app/api/v3/dynamic-dashboards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apiweb.mile.app/api/v3/dynamic-dashboards",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://apiweb.mile.app/api/v3/dynamic-dashboards"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://apiweb.mile.app/api/v3/dynamic-dashboards")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://apiweb.mile.app/api/v3/dynamic-dashboards")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": true,
"code": 200,
"message": "Success.",
"data": {
"current_page": 1,
"data": [
{
"_id": "66f9a1c2e4b0a7d3c1f20a11",
"organizationId": "6650c2a1f3b9e4001c7d2a10",
"schemaVersion": 1,
"name": "Jakarta Hub - Daily",
"description": "Morning stand-up view",
"sharedRoleIds": [
"6650c2a1f3b9e4001c7d2b20"
],
"hubScope": {
"mode": "selected",
"hubIds": [
"6650c2a1f3b9e4001c7d2c30"
]
},
"timeRange": {
"preset": "last_7d"
},
"grid": {
"columns": 12
},
"widgets": [
{
"cardId": "crd_01J8ZQ4R5W6X7Y8Z9A0B1C2D3E",
"widgetId": "66f9a1c2e4b0a7d3c1f20b01",
"widgetName": "Total Tasks",
"layout": {
"w": 3,
"h": null
}
},
{
"cardId": "crd_01J8ZQ4R5W6X7Y8Z9A0B1C2D3F",
"widgetId": "66f9a1c2e4b0a7d3c1f20b02",
"widgetName": "Tasks by Status",
"layout": {
"w": 6,
"h": 6,
"x": 3,
"y": 0
}
}
],
"origin": {
"kind": "blank",
"sourceId": null,
"sourceSchemaVersion": null,
"copiedAt": "2026-09-30T08:10:44+07:00"
},
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"createdTime": "2026-09-30T01:10:44.512000Z",
"updatedTime": "2026-09-30T01:15:02.481000Z"
}
],
"first_page_url": "https://apiweb.mile.app/api/v3/dynamic-dashboards?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://apiweb.mile.app/api/v3/dynamic-dashboards?page=1",
"next_page_url": null,
"path": "https://apiweb.mile.app/api/v3/dynamic-dashboards",
"per_page": 20,
"prev_page_url": null,
"to": 1,
"total": 1
}
}{
"status": false,
"message": "The selected `scope` is invalid. Please select from the available options.",
"failedCode": "dydsh-017"
}{
"status": false,
"message": "Unauthenticated.",
"failedCode": "auth-034"
}{
"status": false,
"message": "Access denied. You do not have permission for view dashboard. Please contact your admin to request access.",
"failedCode": "sys-035"
}{
"status": false,
"code": 500,
"message": "something_wrong",
"failedCode": "dydsh-045"
}Dashboard
Read dashboards
Retrieves a paginated list of the dashboards visible to the caller: the ones they created plus the ones shared with their role. List rows do not include card widget definitions; use Read dashboard by ID to get them.
GET
/
dynamic-dashboards
Read dashboards
curl --request GET \
--url https://apiweb.mile.app/api/v3/dynamic-dashboards \
--header 'Authorization: Bearer <token>'import requests
url = "https://apiweb.mile.app/api/v3/dynamic-dashboards"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://apiweb.mile.app/api/v3/dynamic-dashboards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apiweb.mile.app/api/v3/dynamic-dashboards",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://apiweb.mile.app/api/v3/dynamic-dashboards"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://apiweb.mile.app/api/v3/dynamic-dashboards")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://apiweb.mile.app/api/v3/dynamic-dashboards")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": true,
"code": 200,
"message": "Success.",
"data": {
"current_page": 1,
"data": [
{
"_id": "66f9a1c2e4b0a7d3c1f20a11",
"organizationId": "6650c2a1f3b9e4001c7d2a10",
"schemaVersion": 1,
"name": "Jakarta Hub - Daily",
"description": "Morning stand-up view",
"sharedRoleIds": [
"6650c2a1f3b9e4001c7d2b20"
],
"hubScope": {
"mode": "selected",
"hubIds": [
"6650c2a1f3b9e4001c7d2c30"
]
},
"timeRange": {
"preset": "last_7d"
},
"grid": {
"columns": 12
},
"widgets": [
{
"cardId": "crd_01J8ZQ4R5W6X7Y8Z9A0B1C2D3E",
"widgetId": "66f9a1c2e4b0a7d3c1f20b01",
"widgetName": "Total Tasks",
"layout": {
"w": 3,
"h": null
}
},
{
"cardId": "crd_01J8ZQ4R5W6X7Y8Z9A0B1C2D3F",
"widgetId": "66f9a1c2e4b0a7d3c1f20b02",
"widgetName": "Tasks by Status",
"layout": {
"w": 6,
"h": 6,
"x": 3,
"y": 0
}
}
],
"origin": {
"kind": "blank",
"sourceId": null,
"sourceSchemaVersion": null,
"copiedAt": "2026-09-30T08:10:44+07:00"
},
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"createdTime": "2026-09-30T01:10:44.512000Z",
"updatedTime": "2026-09-30T01:15:02.481000Z"
}
],
"first_page_url": "https://apiweb.mile.app/api/v3/dynamic-dashboards?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://apiweb.mile.app/api/v3/dynamic-dashboards?page=1",
"next_page_url": null,
"path": "https://apiweb.mile.app/api/v3/dynamic-dashboards",
"per_page": 20,
"prev_page_url": null,
"to": 1,
"total": 1
}
}{
"status": false,
"message": "The selected `scope` is invalid. Please select from the available options.",
"failedCode": "dydsh-017"
}{
"status": false,
"message": "Unauthenticated.",
"failedCode": "auth-034"
}{
"status": false,
"message": "Access denied. You do not have permission for view dashboard. Please contact your admin to request access.",
"failedCode": "sys-035"
}{
"status": false,
"code": 500,
"message": "something_wrong",
"failedCode": "dydsh-045"
}Authorizations
Use a valid Bearer token to authenticate.
Query Parameters
Case-insensitive substring match on the dashboard name
Maximum string length:
200mine = created by the caller; shared = shared with the caller's role and created by someone else; all = both
Available options:
all, mine, shared Page size
Required range:
1 <= x <= 100Page number
Sort direction on updatedTime
Available options:
ASC, DESC, asc, desc