Operation
List dashboards
GET
/reports/dashboardsQuery parameters
accountIdstringOptional
Returns
Dashboards retrieved
Errors
- 400
- Bad Request - Invalid input
- 401
- Unauthorized - Authentication required
- 403
- Forbidden - Insufficient permissions
- 404
- Not Found - Resource not found
- 500
- Internal Server Error
Every error names its code and links to it. All error codes
curl -X GET "https://api.ticketlayer.com/v1/reports/dashboards" \ -H "Authorization: Bearer tlak_..." \ -H "X-Ticketlayer-Org: your-org-slug"Response 200
{
"status": "success",
"data": {
"dashboards": [
{
"id": "dsh_abc12345",
"organisationId": "string",
"accountId": "string",
"name": "Sales overview",
"description": "string",
"layout": [
{}
],
"globalFilters": [
{}
],
"isSystem": true,
"createdBy": "string",
"createdAt": "string",
"updatedAt": "string"
}
]
}
}