BI.P.EYE API
Creates a signed URL that embeds a dashboard inside your product.
Pass the returned url directly to an <iframe src="..."> in your frontend. If expiresInDays is omitted, the link expires after 360 days.
Your organization API key
The organization ID to embed
422930fe-bdc7-4324-991d-b68193a173bbThe dashboard ID to embed
a1b2c3d4-e5f6-7890-abcd-ef1234567890An optional name for the generated API key, for easier identification in the BI.P.EYE dashboard
My Product Embed KeyHow long the link is valid in days. Defaults to 360 days if omitted.
360Example: 30Override the currency symbol displayed across all charts in the dashboard.
Accepts either the ISO currency code (USD) or the symbol ($) — both resolve to the same currency.
USDPossible values: Signed embed URL
https://bipeye.com/embed/organizations/org_123/dashboards/dash_456?apiKey=...2025-01-01T12:00:00.000ZThe embed API key. Pass this to the PATCH /embed/apiKey endpoint to update the key later.
d9e8f7a6-b5c4-3210-fedc-ba9876543210Validation error — check your request body
Invalid or missing API key
Dashboard not found or does not belong to your organization
POST /v1/embed/link HTTP/1.1
Host: api.bipeye.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 324
{
"organizationId": "422930fe-bdc7-4324-991d-b68193a173bb",
"dashboardId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"apiKeyName": "My Product Embed Key",
"expiresInDays": 30,
"overrideCurrency": "USD",
"restrictDatasetsData": {
"c3dcb641-72fe-458b-9fe5-1594ba69aff4": {
"filters": [
{
"jsonPath": "$.accountId",
"type": "is",
"value": "ac_123"
}
]
}
}
}{
"url": "https://bipeye.com/embed/organizations/org_123/dashboards/dash_456?apiKey=...",
"expiresAt": "2025-01-01T12:00:00.000Z",
"apiKey": "d9e8f7a6-b5c4-3210-fedc-ba9876543210"
}Returns all datasets used by the given dashboard, along with their fields and inferred types.
Use this to discover which jsonPath values and field types are available when building restrictDatasetsData filters for the embed link endpoint.
Your organization API key
The organization ID
422930fe-bdc7-4324-991d-b68193a173bbThe dashboard ID to fetch datasets for
a1b2c3d4-e5f6-7890-abcd-ef1234567890List of datasets with their fields
Validation error — check your request body
Invalid or missing API key
Dashboard not found or does not belong to your organization
POST /v1/dashboards/datasets HTTP/1.1
Host: api.bipeye.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 110
{
"organizationId": "422930fe-bdc7-4324-991d-b68193a173bb",
"dashboardId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}{
"datasets": [
{
"datasetId": "c3dcb641-72fe-458b-9fe5-1594ba69aff4",
"fields": [
{
"jsonPath": "$.accountId",
"type": "string"
}
]
}
]
}Permanently deletes an embed API key.
Once deleted, any iframe using this key will immediately lose access to the dashboard. This action cannot be undone.
Your organization API key
The organization ID that owns the API key
422930fe-bdc7-4324-991d-b68193a173bbThe dashboard ID that the API key belongs to
a1b2c3d4-e5f6-7890-abcd-ef1234567890The embed API key to delete
d9e8f7a6-b5c4-3210-fedc-ba9876543210API key deleted successfully
API key deleted successfullyValidation error — check your request body
Invalid or missing API key
API key not found or does not belong to your organization
DELETE /v1/embed/apiKey HTTP/1.1
Host: api.bipeye.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 158
{
"organizationId": "422930fe-bdc7-4324-991d-b68193a173bb",
"dashboardId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"apiKey": "d9e8f7a6-b5c4-3210-fedc-ba9876543210"
}{
"message": "API key deleted successfully"
}Updates the configuration of an existing embed API key.
You can update the expiry duration and/or the per-dataset row-level filters. Only the fields you provide will be changed — omitted fields are left as-is. If expiresInDays is omitted, expiry is reset to the default of 360 days from now.
Your organization API key
The organization ID that owns the API key
422930fe-bdc7-4324-991d-b68193a173bbThe dashboard ID that the API key belongs to
a1b2c3d4-e5f6-7890-abcd-ef1234567890An optional name for the generated API key, for easier identification in the BI.P.EYE dashboard
My Product Embed KeyThe embed API key to edit
d9e8f7a6-b5c4-3210-fedc-ba9876543210New expiry duration in days from now. Defaults to 360 days if omitted.
30API key updated successfully
API key updated successfullyValidation error — check your request body
Invalid or missing API key
API key not found or does not belong to your organization
PATCH /v1/embed/apiKey HTTP/1.1
Host: api.bipeye.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 347
{
"organizationId": "422930fe-bdc7-4324-991d-b68193a173bb",
"dashboardId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"apiKeyName": "My Product Embed Key",
"apiKey": "d9e8f7a6-b5c4-3210-fedc-ba9876543210",
"expiresInDays": 30,
"restrictDatasetsData": {
"c3dcb641-72fe-458b-9fe5-1594ba69aff4": {
"filters": [
{
"jsonPath": "$.accountId",
"type": "is",
"value": "ac_123"
}
]
}
}
}{
"message": "API key updated successfully"
}Last updated