---
title: "Add dashboards"
method: POST
path: "/collections/{collection_id}/dashboards"
tags: ["Collections"]
---

# Add dashboards

`POST /collections/{collection_id}/dashboards`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/collections/{collection_id}/dashboards`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

## Path parameters

- `collection_id` integer, required

## Request body

- AddDashboardsPayload
  - `dashboard_ids` integer[], required
  - `notify` boolean: Email the collection's members about them

## Response `200`

Request fulfilled, document follows

- AddDashboardsResult
  - `added` integer[], required
  - `notified` integer, required

## Other responses

- `400`: Bad request syntax or unsupported method

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/9d8804f81a10?raw)
