V3 Dashboards
Create a dashboard
Changed onCreates an empty dashboard in a workspace. Needs write access to the workspace. A name already used in the workspace answers 409.
post/api/v3/dashboards
Request
- Base URLhttps://app.formbricks.com
- URLhttps://app.formbricks.com/api/v3/dashboards
- Auth
- API key in cookie next-auth.session-token
- or API key in header x-api-key
- or HTTP bearer
Request body
Response
Dashboard created
Example response
{
"data": {
"widgets": [
{
"chart": {
"query": {
"measures": [
"FeedbackRecords.npsScore"
],
"dimensions": [
"FeedbackRecords.sourceName"
],
"timeDimensions": [
{
"dimension": "FeedbackRecords.collectedAt",
"dateRange": "last 30 days"
}
],
"filters": [
{
"member": "FeedbackRecords.sourceType"
}
]
}
}
}
]
}
}Changes
- info
endpoint added
- info