POST
/
v1
/
dashboards
curl --request POST \
  --url https://api.rootly.com/v1/dashboards \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "dashboards",
    "attributes": {
      "name": "<string>",
      "description": "<string>",
      "owner": "user",
      "public": true,
      "range": "<string>",
      "auto_refresh": true,
      "color": "#FCF2CF",
      "icon": "<string>",
      "period": "day"
    }
  }
}'
{
  "data": {
    "id": "b9e5ec49-3a1b-44d7-85ca-a72a76e12bf7",
    "type": "dashboards",
    "attributes": {
      "team_id": 98,
      "user_id": 98,
      "name": "Test dashboard",
      "description": null,
      "slug": "test-dashboard",
      "public": false,
      "owner": "user",
      "range": "Last 30 Days",
      "period": "day",
      "color": "#D7F5E1",
      "icon": "📊",
      "auto_refresh": false,
      "updated_at": "2025-03-22T22:59:03.761-07:00",
      "created_at": "2025-03-22T22:59:03.761-07:00"
    },
    "relationships": {
      "panels": {
        "data": []
      }
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
dashboard created
data
object
required