Skip to main content
POST
Create a dashboard

Authorizations

Authorization
string
header
required

API key for authentication

Headers

Idempotency-Key
string

A unique key, such as a UUID, that makes retrying this request safe: a retry with the same key and body returns the original response without running the operation again. Keys are kept for 24 hours after the request completes.

Maximum string length: 255
Example:

"8e03978e-40d5-43e8-bc93-6894a57f9324"

Body

application/json

A dashboard of a group, with its charts. Only the charts sent are created: unlike in the app, a dashboard gets no default chart. Every chart must be working: one that would not be refuses the whole dashboard.

groupId
string
required

The group to create the dashboard in. A dashboard never changes group.

Required string length: 40
Example:

"grp_92ab3f1c-0386-434d-82d7-a91eb6badd71"

name
string
required

The name of the dashboard, as shown in the app.

Required string length: 1 - 500
Example:

"Pipeline"

entityType
string
required

The entity type the charts of the dashboard cover: person, company, or the name of an object type of the group. A dashboard never changes entity type.

Maximum string length: 500
Example:

"person"

charts
(Metric chart · object | Bar or pie chart · object | Stacked or grouped bar chart · object)[]

The charts of the dashboard, in display order, each with the settings of a chart to create. None by default. At most 100.

Maximum array length: 100

The settings of a chart, as a chart carries them once read: its name, its type, what it measures, the fields it is grouped and broken down by, and its filter. Which ones it takes depends on its type. A chart must be working once created: every field and choice it names must exist, and be of a kind the type and the measure can use.

Example:

Response

The created dashboard, as "Get a dashboard" returns it, with its charts and their data.

data
object
required

A dashboard of a group, with all its charts: what each computes, its status, and its data when it is working.

Example:
deprecations
string[]
Example: