---
title: "Create Shared Destination"
method: POST
path: "/api/v1/destinations"
---

# Create Shared Destination

`POST /api/v1/destinations`

## Request

- Base URL: `https://api.mesharc.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mesharc.dev/api/v1/destinations`
- Auth: none declared

A destination every project (scope all) or a chosen set (scope
projects) writes to after each of their runs: one table for many sites,
with site and project columns to tell the rows apart.

## Headers

- `authorization` string, nullable
- `x-mesharc-tenant` string, nullable

## Request body

- SharedDestinationCreate
  - `connectionId` string, required
  - `target` string, required
  - `name` string, nullable
  - `mode` string, nullable
  - `key` string, nullable
  - `columns` string[], nullable
  - `schedule` string, nullable
  - `incremental` boolean, nullable
  - `enabled` boolean, nullable
  - `shape` object, nullable
  - `scope` DestinationScope
    - `kind` string
    - `projectIds` string[], nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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