---
title: "Convert lead to project"
method: POST
path: "/leads/{id}/convert"
tags: ["Leads"]
---

# Convert lead to project

`POST /leads/{id}/convert`

## Request

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

Promotes a lead to a project and moves the lead to the Won stage. When the lead has an accepted bid, the project is linked to that bid and its original contract is the bid's pre-tax total; if that bid already has a project, that project is returned (200) instead of creating a duplicate. Rejects with 409 if the lead is already in the Won stage.

## Path parameters

- `id` integer, required

## Headers

- `Idempotency-Key` string, uuid

## Response `200`

The lead's accepted bid already had a project; that project is returned

- 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

- `201`: Project created
- `404`: Not found
- `409`: Conflict

---

[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)
