Create enquiry
street_create_enquiryWRITE: record a new inbound enquiry (a lead) in Street. Street matches the email address to an existing person or creates one, and the agency's own automations may then email or assign the lead. Street requires the enquiry to be tied to exactly one record: pass property_id, or sales_applicant_id, or lettings_applicant_id. Pass the same enquiry_identifier on a retry: Street then returns the existing enquiry instead of creating a duplicate. POST /enquiries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The enquiry text. | |
| postcode | No | Enquirer's UK postcode (stored only when a new person is created). | |
| branch_id | No | Branch UUID to route the enquiry to (street_list_branches). | |
| last_name | No | Enquirer's last name. | |
| first_name | No | Enquirer's first name. | |
| property_id | No | Property UUID the enquiry is about (street_list_properties). | |
| custom_source | No | One or two words naming the origin, e.g. website (max 25 characters). | |
| email_address | Yes | The enquirer's email address. | |
| property_to_let | No | The enquirer has a property to let. | |
| request_viewing | No | The enquirer asks for a viewing. | |
| property_to_sell | No | The enquirer has a property to sell. | |
| telephone_number | No | Enquirer's telephone number. | |
| request_valuation | No | The enquirer asks for a valuation. | |
| enquiry_identifier | No | Your own stable id for this enquiry, prefixed with your integration name. Makes a retry safe. | |
| sales_applicant_id | No | Sales applicant UUID the enquiry belongs to (street_list_sales_applicants). | |
| lettings_applicant_id | No | Lettings applicant UUID the enquiry belongs to (street_list_lettings_applicants). |