Oktopost
Analytics

Dashboards

List and get Social BI dashboards, and get the data of a dashboard report.

Social BI dashboards organize your analytics reports into configurable layouts. Each dashboard contains one or more report widgets that query performance data across your social media activity. Use these endpoints to list available dashboards, retrieve a dashboard with its reports, and run a specific report query to fetch its data.

You create and configure dashboards and reports in the Oktopost user interface. These endpoints provide read-only access to existing dashboards and their data.

List Dashboards

Retrieve a paginated list of the dashboards the authenticated user can access.

GET /v2/dashboard

Parameters

Prop

Type

See Pagination for shared behavior.

Example Request

curl -X GET "https://api.oktopost.com/v2/dashboard" \
  -u ACCOUNT_ID:API_KEY

Example Response

{
	"Result": true,
	"Items": [
		{
			"Id": "a1b2c3d4e5",
			"Name": "Monthly Overview",
			"Description": "Key metrics across all campaigns",
			"Visibility": "shared",
			"CreatedBy": "001000000000001",
			"Created": "2025-09-15 10:30:00",
			"IsFavorite": true,
			"CreatorName": "Jane Smith",
			"LinkSharingVisibility": "none"
		}
	],
	"Total": 12,
	"TotalUnfiltered": 24
}

Get Dashboard

Retrieve a single dashboard by ID, including its report widgets.

GET /v2/dashboard/:dashboardId

Parameters

Prop

Type

Example Request

curl -X GET "https://api.oktopost.com/v2/dashboard/a1b2c3d4e5" \
  -u ACCOUNT_ID:API_KEY

Example Response

{
	"Result": true,
	"Dashboard": {
		"Id": "a1b2c3d4e5",
		"Name": "Monthly Overview",
		"Description": "Key metrics across all campaigns",
		"Type": "custom",
		"Visibility": "shared",
		"Widgets": [
			{
				"Id": "w1x2y3z4",
				"Type": "report",
				"Name": "Post Engagement",
				"Description": "Engagement metrics by network",
				"ChartType": "bar",
				"Source": "post",
				"X": 0,
				"Y": 0,
				"Width": 6,
				"Height": 4
			},
			{
				"Id": "w5x6y7z8",
				"Type": "report",
				"Name": "Click Performance",
				"Description": "Click-through rates over time",
				"ChartType": "line",
				"Source": "click",
				"X": 6,
				"Y": 0,
				"Width": 6,
				"Height": 4
			}
		],
		"Teams": []
	}
}

Get Dashboard Report Data

Run a report widget query and retrieve its analytics data.

GET /v2/dashboard/:dashboardId/report

This returns the computed query results for a specific report within a dashboard, not the report configuration.

The report runs with the dashboard's date range and filters. You can pass more filters in the filter parameter.

Parameters

Prop

Type

Example Request

curl -X GET "https://api.oktopost.com/v2/dashboard/a1b2c3d4e5/report?id=w1x2y3z4" \
  -u ACCOUNT_ID:API_KEY

Example Response

{
	"Result": true,
	"Data": [
		{
			"Network": "LinkedIn",
			"Impressions": 15200,
			"Engagements": 843,
			"Clicks": 312
		},
		{
			"Network": "Twitter",
			"Impressions": 8700,
			"Engagements": 421,
			"Clicks": 198
		}
	],
	"Entities": {}
}