ThaiProps Public Inquiries API
The Public Inquiries API from ThaiProps — 2 operation(s) for public inquiries.
The Public Inquiries API from ThaiProps — 2 operation(s) for public inquiries.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/thaiprops-com:thaiprops-com-public-inquiries-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ThaiProps Admin Public Inquiries API
version: 0.1.0
tags:
- name: Public Inquiries
paths:
/public/inquiries:
post:
tags:
- Public Inquiries
summary: Create Public Inquiry
operationId: create_public_inquiry_public_inquiries_post
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PublicInquiryCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/public/sell-inquiries:
post:
tags:
- Public Inquiries
summary: Create Public Sell Inquiry
operationId: create_public_sell_inquiry_public_sell_inquiries_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSellInquiryCreate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
PublicSellInquiryCreate:
properties:
seller_type:
anyOf:
- type: string
enum:
- Developer
- Property Owner
- Buyer / Investor
- Agent
- Other
- type: 'null'
title: Seller Type
contact_name:
anyOf:
- type: string
maxLength: 160
- type: 'null'
title: Contact Name
company:
anyOf:
- type: string
maxLength: 180
- type: 'null'
title: Company
project_name:
anyOf:
- type: string
maxLength: 220
- type: 'null'
title: Project Name
location:
anyOf:
- type: string
maxLength: 220
- type: 'null'
title: Location
need:
anyOf:
- type: string
maxLength: 180
- type: 'null'
title: Need
target_buyer:
anyOf:
- type: string
enum:
- Both
- Foreign
- Thai
- type: 'null'
title: Target Buyer
contact_email:
anyOf:
- type: string
maxLength: 180
- type: 'null'
title: Contact Email
contact_phone:
anyOf:
- type: string
maxLength: 120
- type: 'null'
title: Contact Phone
message:
anyOf:
- type: string
maxLength: 2500
- type: 'null'
title: Message
page_url:
anyOf:
- type: string
maxLength: 600
- type: 'null'
title: Page Url
website:
anyOf:
- type: string
maxLength: 200
- type: 'null'
title: Website
cf_turnstile_token:
anyOf:
- type: string
maxLength: 3000
- type: 'null'
title: Cf Turnstile Token
type: object
title: PublicSellInquiryCreate
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
PublicInquiryCreate:
properties:
property_id:
type: integer
title: Property Id
project_id:
anyOf:
- type: integer
- type: 'null'
title: Project Id
source:
anyOf:
- type: string
enum:
- property_detail
- project_units
- property_card
- manual_test
- type: 'null'
title: Source
inquiry_type:
anyOf:
- type: string
enum:
- contact_agent
- property_inquiry
- type: 'null'
title: Inquiry Type
contact_name:
anyOf:
- type: string
maxLength: 160
- type: 'null'
title: Contact Name
contact_phone:
anyOf:
- type: string
maxLength: 80
- type: 'null'
title: Contact Phone
contact_line:
anyOf:
- type: string
maxLength: 120
- type: 'null'
title: Contact Line
contact_whatsapp:
anyOf:
- type: string
maxLength: 80
- type: 'null'
title: Contact Whatsapp
contact_email:
anyOf:
- type: string
maxLength: 180
- type: 'null'
title: Contact Email
preferred_contact:
anyOf:
- type: string
enum:
- whatsapp
- line
- phone
- email
- type: 'null'
title: Preferred Contact
message:
anyOf:
- type: string
maxLength: 2000
- type: 'null'
title: Message
page_url:
anyOf:
- type: string
maxLength: 600
- type: 'null'
title: Page Url
website:
anyOf:
- type: string
maxLength: 200
- type: 'null'
title: Website
cf_turnstile_token:
anyOf:
- type: string
maxLength: 3000
- type: 'null'
title: Cf Turnstile Token
type: object
required:
- property_id
title: PublicInquiryCreate