Endpoint Migration Notice: We’re transitioning to kebab-case endpoints. The new endpoint is
/api/v2/data-app/embeds
. The old endpoint /api/v2/dataApp/embeds
will be deprecated soon. Please update your integrations to use the new endpoint format.This endpoint returns all embeds you have access to within the authenticated data app. The response includes embed IDs, types, and associated dashboard/metric information.
Endpoint Formats
- New Endpoint (Recommended)
- Legacy Endpoint (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.
Query Parameters
Whether to paginate results. 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 to retrieve (1-based). Only used when isPagination is
"true"
. Must be a numeric string (e.g., "1"
, "2"
).Optional client ID to filter embeds by specific client.
Response
Array of embed objects with their configuration details.
Unique identifier for the embed configuration.
Type of embed: “dashboard” or “metric”.
Metric information (present when embedType is “metric”).
Name of the metric.
Error field, null when successful.
Examples
Error Codes
Missing or invalid data app - Check your API key and data app configuration
Unexpected failure - Internal server error occurred
HTTP Status Code Summary
Status Code | Description |
---|---|
200 | OK - Request successful |
400 | Bad Request - Invalid request parameters or missing API key |
401 | Unauthorized - Invalid or expired API token |
500 | Internal Server Error - Unexpected server error |
Possible Errors
Code | Message | HTTP Status |
---|---|---|
INVALID_DATA_APP_API_KEY | Missing or invalid data app | 400 |
INTERNAL_SERVER_ERROR | Unexpected failure | 500 |
Quick Start Guide
1
Get your API token
For detailed instructions, see the API Token guide.
2
List all embed configurations
Get all your embed configurations:Note: You can add query parameters for pagination or filtering if needed.
3
Use pagination for many embeds
If you have many embed configurations, use pagination with query parameters:
4
Manage your embeds
Use the embed information to manage your configurations: