---
title: "Share a Spec"
method: POST
path: "/v1/specs/{id}/share"
tags: ["Specs"]
---

# Share a Spec

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

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/specs/{id}/share`
- Auth: HTTP bearer

Creates a link to the read-only Spec document that anyone with the
link can open without signing in. Calling it again replaces the link;
the old one stops working. Requires `specs:write`.

## Path parameters

- `id` string, uuid, required

## Response `201`

Shared.

- SpecShare
  - `spec_id` string, uuid
  - `shared` boolean
  - `url` string, nullable

## Other responses

- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/specs/:id/share/post.md)

---

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