---
title: "Create a public share link for a bid"
method: POST
path: "/bids/{id}/share"
tags: ["Bids"]
---

# Create a public share link for a bid

`POST /bids/{id}/share`

## Request

- Base URL: `https://app.buildworkpro.com/api/v1`
- URL: `https://app.buildworkpro.com/api/v1/bids/{id}/share`
- Auth: HTTP bearer

Returns a `/b/:token` URL the customer can open without an account. Reuses a live link unless `rotate` is true. Draft and cancelled bids are refused — send the bid first. A soft-deleted bid is not found.

## Path parameters

- `id` integer, required

## Headers

- `Idempotency-Key` string, uuid

## Request body

- ShareBidBody
  - `rotate` boolean: When true, replace any existing public link. Otherwise reuse a live link.

## Response `200`

Share link

- object
  - `data` object, required
    - `url` string, required
    - `shareTokenCreatedAt` string, date-time, required
  - `meta` ResponseMeta, required
    - `request_id` string: Server-generated request identifier
    - `pagination` PaginationMeta
      - `cursor` string, nullable, required: Opaque cursor for the next page; null when no more results
      - `has_more` boolean, required: Whether more pages are available after this one
      - `count` integer, required: Items in this page

## Other responses

- `404`: Error
- `409`: Error
- `422`: Error

---

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