---
title: "Convert accepted bid to project"
method: POST
path: "/bids/{id}/convert-to-project"
tags: ["Bids"]
---

# Convert accepted bid to project

`POST /bids/{id}/convert-to-project`

## Request

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

## Path parameters

- `id` integer, required

## Headers

- `Idempotency-Key` string, uuid

## Request body

- object
  - `mappingStrategy` 'phases' | 'tasks' | 'blank' | 'sections', required: How bid line items map onto the new project: one phase per line item ("phases"), one task per line item ("tasks"), no phases/tasks ("blank"), or one phase per section header with its lines as tasks ("sections"). The legacy web route's "template" strategy is not supported on v1.
  - `templateId` integer
  - `lineItemPhaseMapping` object
  - `name` string
  - `startDate` string
  - `expectedEndDate` string

## Response `201`

Project created

- object
  - `data` unknown
  - `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

- `400`: Error
- `404`: Error
- `409`: 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)
