Skip to main content
POST
/
dashboards
Create dashboard
curl --request POST \
  --url https://app.azalt.co/api/v1/dashboards \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "tags": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "organizationId": "<string>",
  "isPublic": true,
  "order": 123,
  "globalFilter": {
    "siteIds": [
      "<string>"
    ],
    "startYear": 123,
    "endYear": 123,
    "startDate": "<string>",
    "endDate": "<string>",
    "statuses": [
      "COMPLETED"
    ]
  },
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "hasPassword": true,
  "organizationDefaultStatuses": [
    "COMPLETED"
  ],
  "tags": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Minimum string length: 1
description
string
tags
string[]

Response

Successful response

id
string
required
name
string
required
description
string | null
required
organizationId
string
required
isPublic
boolean
required
order
number
required
globalFilter
object
required
createdAt
string
required
updatedAt
string
required
hasPassword
boolean
organizationDefaultStatuses
enum<string>[]
Available options:
COMPLETED,
APPROVED,
REJECTED
tags
string[] | null