Prepare a request to flatin.pt, a licensed estate agency
request_consultationUse this when the person wants flatin.pt (licensed estate agency, AMI 28163) to contact them about buying a new-build apartment in Portugal. Do not use it to send the request (submit_consultation) or for emails about new projects (subscribe_digest). mode=link returns the form link and the consent text; mode=prepare checks the details and returns a summary, the GDPR (RGPD) consent text and a confirmation_token. Nothing is sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Older name for places: one place. Merged with places, city first | |
| mode | No | link: only the form link and the consent text. prepare: check the details, get a summary, the consent text and a confirmation_token for submit_consultation; nothing is sent | link |
| name | No | The person's name | |
| No | Only if the person gives no phone | ||
| phone | No | Phone in international format. Preferred over email | |
| budget | No | Deprecated: use budget_max. Read as budget_max when budget_min and budget_max are both empty | |
| client | No | Optional. Your app's host or name: recorded as the request's source | |
| intent | No | Optional. visit and reserve only with a project on sale, notify only with a project not yet on sale | |
| places | No | Where the person wants to buy: municipalities in Portugal (Lisboa or Lisbon) or districts, most important first. At least one place, unless project is given (the project's municipality comes first then) | |
| channel | No | How the person wants to be contacted on that phone | |
| message | No | Optional. The person's own words | |
| project | No | Optional. Slug of the development the request is about: the slug field of search_newbuilds | |
| language | No | The person's language: the consent text, the emails and the page links come in it. Another value is refused, except in mode=link, which falls back to English. uk is accepted as ua. | en |
| typology | No | Optional. Bedroom counts wanted (T2 = two bedrooms) | |
| deal_type | No | Deprecated and ignored: every request is to buy | |
| budget_max | No | Optional. Upper end of the budget in whole euros; if lower than budget_min, the two are swapped | |
| budget_min | No | Optional. Lower end of the budget in whole euros | |
| budget_band | No | Deprecated: use budget_min and budget_max. An old band (0-250k, 250-400k, 400-600k, 600k+), read as its range when both are empty | |
| property_type | No | Deprecated and ignored: every request is for a new-build apartment | |
| preferred_time | No | Optional, with intent=visit: when suits the person |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||