---
title: "Create a lead (client + project in the lead stage)"
method: POST
path: "/leads"
tags: ["Leads"]
---

# Create a lead (client + project in the lead stage)

`POST /leads`

## Request

- Base URL: `https://api.stoneproject.app/api/v1/public`
- URL: `https://api.stoneproject.app/api/v1/public/leads`
- Auth: HTTP bearer

## Request body

- LeadInput
  - `name` string, required
  - `email` string, email: Email or phone is required
  - `phone` string
  - `message` string, nullable
  - `address` string, nullable
  - `city` string, nullable
  - `state` string, nullable
  - `zip_code` string, nullable
  - `utm_source` string, nullable
  - `utm_medium` string, nullable
  - `utm_campaign` string, nullable

## Response `201`

Created

- object
  - `success` boolean
  - `message` string, nullable
  - `data` Lead
    - `id` string: The job id
    - `client_id` string
    - `title` string
    - `stage` string
    - `deduplicated` boolean: True when the same person sent the same lead in the last 10 minutes
    - `created_at` string, date-time, nullable

## Other responses

- `401`: Missing, invalid, revoked or expired token
- `403`: The token lacks the required scope
- `409`: The client is locked
- `422`: Invalid input
- `429`: Rate limit reached; retry after the Retry-After header

---

[API](https://skmtc.dev/stoneproject/apis/stone-project-public-api.md) · [All operations](https://skmtc.dev/stoneproject/apis/stone-project-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stoneproject/apis/stone-project-public-api/revisions/7cebff773929?raw)
