---
title: "Share replica"
method: POST
path: "/v1/replica/{id}/share"
tags: ["Sharing"]
---

# Share replica

`POST /v1/replica/{id}/share`

## Request

- Base URL: `https://api.replicas.dev`
- URL: `https://api.replicas.dev/v1/replica/{id}/share`
- Auth: HTTP bearer

Adds the replica to a member's **Shared** view. Only the owner can share a member's replica; anyone with access can share an organization-owned one.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Replicas-Api-Version` '2026-10-07'

## Request body

- object
  - `user_id` string, uuid, required

## Response `200`

Success

- object
  - `share` WorkspaceShare
    - `id` string, uuid
    - `workspace_id` string, uuid
    - `shared_with_user_id` string, uuid
    - `shared_by_user_id` string, uuid, nullable
    - `created_at` string, date-time

## Other responses

- `400`: Bad request - Missing or invalid parameters
- `401`: Unauthorized - Invalid or missing API key
- `403`: Forbidden - The authenticated account cannot access this resource
- `404`: Resource not found
- `500`: Internal server error

---

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