---
title: "Create Public Inquiry"
method: POST
path: "/public/inquiries"
tags: ["Public Inquiries"]
---

# Create Public Inquiry

`POST /public/inquiries`

## Request

- Base URL: `https://api.thaiprops.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thaiprops.com/public/inquiries`
- Auth: none declared

## Headers

- `authorization` string, nullable

## Request body

- PublicInquiryCreate
  - `property_id` integer, required
  - `project_id` integer, nullable
  - `source` 'property_detail' | 'project_units' | 'property_card' | 'manual_test', nullable
  - `inquiry_type` 'contact_agent' | 'property_inquiry', nullable
  - `contact_name` string, nullable
  - `contact_phone` string, nullable
  - `contact_line` string, nullable
  - `contact_whatsapp` string, nullable
  - `contact_email` string, nullable
  - `preferred_contact` 'whatsapp' | 'line' | 'phone' | 'email', nullable
  - `message` string, nullable
  - `page_url` string, nullable
  - `website` string, nullable
  - `cf_turnstile_token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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