List or claim my place
create_or_claim_placeUse this when a gym, studio or clinic owner wants their place on Phorme, for example after an AI check, or says "list my gym". Confirm the name, city and address with the owner first, and set confirmation to true only after they said yes. It lists the place for the connected account as a draft nobody sees yet, with its page facts, and finds the map pin from the address. If the account already lists a place with that name in that city it returns that place and changes nothing. Listing is free; it takes no payment and starts no plan. It needs a connected Phorme account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude of the map pin, only to set it by hand. | |
| lon | No | Longitude of the map pin, only to set it by hand. | |
| city | Yes | ||
| kind | No | What the place is: gym (also studios and boxes) or a kind of care. | |
| line | No | One line on what the place is, in the owner's words. | |
| name | Yes | The place's name, as the owner wrote it. | |
| about | No | One or two plain sentences about the place, in the owner's words. | |
| hours | No | Opening hours, one line each, for example ["Mon to Fri, 6 am to 9 pm", "Sat, 8 am to noon"]. | |
| phone | No | The place's public phone number, as the owner gave it. | |
| prices | No | What training at the place costs, shown on its page, in the owner's own words: one line each, for example "Drop-in 25 dollars", or { label, amount (in dollars) or amount_cents, period, note }. At most 12; an empty list clears them. Repeat them only to the owner. | |
| address | No | The street address. The map pin is found from it. | |
| country | Yes | For example "United States". | |
| website | No | The place's own website, starting with https://. | |
| book_url | No | The place's own booking page, starting with https://. | |
| timezone | No | The place's IANA time zone, for example "America/Chicago". | |
| book_label | No | The words on its booking button, for example "Book a class". | |
| confirmation | Yes | Set to true only after the owner said yes to listing this place. | |
| request_email | No | Where booking confirmations and requests are emailed. Never shown in public. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | What to tell the owner next. | |
| place | Yes | The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan). | |
| status | Yes |