---
title: "Create Link"
method: POST
path: "/api/v1/workspaces/{workspace_id}/dashboards"
---

# Create Link

`POST /api/v1/workspaces/{workspace_id}/dashboards`

## Request

- Base URL: `https://ads.adace.website` (the document declares no server; this is the origin it was published from)
- URL: `https://ads.adace.website/api/v1/workspaces/{workspace_id}/dashboards`
- Auth: none declared

Токен і посилання показуються один раз; у базі — лише SHA-256.

## Path parameters

- `workspace_id` string, uuid, required

## Request body

- AgencyDashboardsApiLinkInput
  - `client_id` string, uuid, required
  - `name` string, required
  - `account_ids` string[]
  - `default_range` integer
  - `allowed_ranges` integer[], nullable
  - `show_spend` boolean
  - `show_campaigns` boolean
  - `brand` Brand
    - `title` string, nullable
    - `accent` string, nullable
  - `expires_in_days` integer, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/adace/apis/adace-ads.md) · [All operations](https://skmtc.dev/adace/apis/adace-ads/llms.txt) · [OpenAPI document](https://skmtc.dev/adace/apis/adace-ads/revisions/c719d1ccac25?raw)
