---
title: "Add Inquiry"
method: POST
path: "/v1.0/leads/{leadId}/inquiry"
tags: ["Leads"]
---

# Add Inquiry

`POST /v1.0/leads/{leadId}/inquiry`

## Request

- Base URL: `https://api.lofty.com`
- URL: `https://api.lofty.com/v1.0/leads/{leadId}/inquiry`
- Auth: none required
- TypeScript: <https://skmtc.dev/lofty/apis/lofty-service-open-apis/docs/v1.0/leads/:leadId/inquiry/post.ts> (a function with typed inputs; its response is checked against the schema)

Place an inquiry for a lead.

## Path parameters

- `leadId` integer, required

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Request body

- LeadInquiry: LeadInquirys
  - `priceMin` integer: Price range lower end
  - `priceMax` integer: Price range higher end
  - `propertyType` string[]: Property types: `Single Family Home`, `Multi-Family`, `Condo`, `Townhouse`, `Mobile Home`, `Manufactured Home`, `Vacant Land`, `Commercial`.
  - `bedroomsMin` integer: Bed Rooms
  - `bathroomsMin` string: Bath Rooms
  - `locations` Location[]: Areas the lead is interested in. Each entry is a Location object (city, stateCode, zipCode, county, streetAddress or description). Used by routing rules when the lead's leadTypes do not include Seller (1).
    - `stateCode` string: The state code of city Applies to lead routing if the leadType field is not Seller(1) in the lead creation request.
    - `city` string: The city Applies to lead routing if the leadType field is not Seller(1) in the lead creation request.
    - `zipCode` string: The zip code Applies to lead routing if the leadType field is not Seller(1) in the lead creation request.
    - `county` string: The county Applies to lead routing if the leadType field is not Seller(1) in the lead creation request.
    - `streetAddress` string: The street address Applies to lead routing if the leadType field is not Seller(1) in the lead creation request.
    - `description` string: Description of location.
  - `id` integer
  - `leadUserId` integer
  - `bedroomsMax` integer
  - `bathroomsMax` string
  - `modifyByAgent` boolean
  - `createTime` string, date-time
  - `updateTime` string, date-time
  - `defaultValue` boolean

## Response `200`

Successful operation.

- LeadIdResponse: Response containing the lead ID.
  - `leadId` integer: ID of the lead.

---

[API](https://skmtc.dev/lofty/apis/lofty-service-open-apis.md) - [All operations](https://skmtc.dev/lofty/apis/lofty-service-open-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/lofty/apis/lofty-service-open-apis/revisions/23e640467118?raw)
