API Method Migration Notice: We’re transitioning from POST to GET for this endpoint. The new GET method is recommended for all new integrations. The POST method will be deprecated soon.
This endpoint returns dashboards that have been configured for your data app. Use the dashboard information to create embed configurations or for display purposes.
API Methods
- GET (Recommended)
- POST (Deprecated Soon)
Authentication
All API requests must include your API key in the Authorization header. Get your API token when creating a data app - see our data app creation guide for details. Finding your API token: For detailed instructions, see the API Token guide.Headers
Bearer token for API authentication. Use your API key from the data app.
Required only for POST method. Must be set to
application/json
.Query Parameters
Enable pagination to limit the number of results returned. Pass
"true"
to enable pagination with a limit of 10 per page.Note: Query parameters are passed as strings. Use "true"
or "false"
.Page number for pagination (1-based). Only used when isPagination is
"true"
. Must be a numeric string (e.g., "1"
, "2"
).Comma-separated list of dashboard names to filter by. Only dashboards with matching names will be returned.Example:
"Sales Dashboard,Marketing Analytics,Customer Insights"
Examples
Legacy Endpoint Examples
The following examples use the deprecated POST method. These are provided for reference only. Please use the GET method examples above for all new integrations.
POST Method (Legacy - Being Deprecated)
Request Body (POST)
Enable pagination to limit the number of results returned. When enabled, use
pageNumber
to navigate through pages.Page number for pagination (1-based). Only used when
isPagination
is true
. Each page returns up to 10 dashboards.Optional filters to narrow down the dashboard results.
Array of specific dashboard names to filter by. Only dashboards with matching names will be returned.
Example
POST Examples
Response (Success 200)
Error Response
Error Codes
Invalid or missing Data App API Key - Check your API key and ensure it’s valid for your data app
Invalid request parameters - Verify that your request body contains valid field types
HTTP Status Code Summary
Status Code | Description |
---|---|
200 | OK - Dashboards retrieved successfully |
400 | Bad Request - Invalid request parameters or missing API key |
401 | Unauthorized - Invalid or missing API key |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error - Server error occurred |
Possible Errors
Error Code | HTTP Status | Description | Solution |
---|---|---|---|
INVALID_DATA_APP_API_KEY | 401 | Invalid API key | Check your API key and permissions |
INVALID_REQUEST_BODY | 400 | Invalid request body | Verify field types and structure |
RATE_LIMIT_EXCEEDED | 429 | Too many requests | Implement exponential backoff |
INTERNAL_SERVER_ERROR | 500 | Server error | Contact support if error persists |
Pagination Guide
When using pagination:- Enable pagination by setting
isPagination
totrue
(GET) ortrue
(POST) - Start with page 1 using
pageNumber=1
(GET) orpageNumber: 1
(POST) - Each page returns up to 10 dashboards
- Continue to next page if you receive exactly 10 results
- Stop pagination when you receive fewer than 10 results
GET Method Pagination Example:
POST Method Pagination Example:
Filtering Options
Dashboard Name Filtering
GET Method: Use comma-separated values in query parameterMigration Guide: POST to GET
If you’re currently using the POST method, here’s how to migrate to GET:Before (POST):
After (GET):
Key Differences:
- Method: POST → GET
- Parameters: Request body → Query parameters
- Boolean values:
true
→"true"
(string in query params) - Number values:
1
→"1"
(string in query params) - Dashboard names: Array
["name1", "name2"]
→ Comma-separated string"name1,name2"
- Content-Type header: Not needed for GET
Quick Start Guide
1
Get your API token
For detailed instructions, see the API Token guide.
2
List all dashboards (GET - Recommended)
Get all dashboards available in your data app:
3
Filter by specific dashboard names
If you’re looking for specific dashboards, use query parameters:
4
Use dashboard information for embedding
Process the dashboard data to create embed configurations: