---
title: "Inquiry"
url: "https://real-estate-agency.apim.eu/apis/leads/versions/d1fa19e4-3a7d-4b6b-aac0-9ec016571b4b/schemas/Inquiry"
---

> Full API specification: https://real-estate-agency.apim.eu/apis/leads/versions/d1fa19e4-3a7d-4b6b-aac0-9ec016571b4b.md

# Inquiry

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Leads & Inquiries
  version: 1.0.0
servers:
  - url: https://api.realestateagency.example/v1
    description: Production
  - url: https://sandbox.api.realestateagency.example/v1
    description: Sandbox
components:
  schemas:
    InquiryStatus:
      type: string
      enum:
        - new
        - scored
        - invited
        - declined
        - closed
      example: scored
    Inquiry:
      type: object
      properties:
        id:
          type: string
          example: inq_5c02
        property_id:
          type: string
          example: prop_8f2c1a
        lead_id:
          type: string
          example: lead_71ab
        status:
          $ref: "#/components/schemas/InquiryStatus"
        channel:
          type: string
          example: website
        message:
          type: string
          example: Hello, is the apartment still available? We would like to view it.
        received_at:
          type: string
          format: date-time
          example: 2026-08-19T17:05:31Z
```
