Suggest a place
add_placeSuggests a place for the group to vote on (Where). By default it searches Google Places and returns up to five candidates without saving (status needs_selection); calling it again with the chosen google_place_id saves the place with its official details, map link and photo. source=manual saves a supplied name, address or link without a lookup. Duplicates are merged. Use when the user proposes a venue or destination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | Optional link to any other page about the place (http/https), instead of google_maps_url. | |
| name | Yes | Requested place name, including accents (max 300 chars). A selected Google result supplies its official name. | |
| plan | Yes | Saved plan link (e.g. https://lesgooo.fun/ab12/when) or its 4-character plan ID. Links without a plan ID (e.g. https://lesgooo.fun/when) are unsaved local drafts and are not accepted. | |
| query | No | Optional Google autocomplete query including the known city/address (max 160 chars); otherwise name/address are used. | |
| source | No | Default auto uses Google first. Manual explicitly saves the supplied name/address/link without a paid lookup. | |
| address | No | Optional address (max 500 chars). | |
| participant_id | Yes | From create_plan or join_plan. | |
| google_maps_url | No | Optional Google Maps link (google.com/maps or maps.app.goo.gl). Links with coordinates (…/@50.08,14.42,…) also show a map preview. | |
| google_place_id | No | Exact place ID from returned Google candidates; official details are loaded server-side (max 160 chars). | |
| participant_token | Yes | From create_plan or join_plan. |