curl --request POST \
--url https://statsigapi.net/console/v1/dashboards \
--header 'Content-Type: application/json' \
--header 'STATSIG-API-KEY: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"defaults": {
"date": {
"value": 1,
"unit": "day"
},
"granularity": "auto"
},
"widgets": [
{
"type": "text",
"title": "<string>",
"content": "<string>"
}
]
}
'