WayFy’s Places API manages community-contributed map pins — user-submitted locations that complement the OpenStreetMap dataset. Any authenticated user can submit a new place, which enters aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/jhonyes04/new-wayfy/llms.txt
Use this file to discover all available pages before exploring further.
pending state until approved by a WayFy administrator. Approved places are returned in bounding-box queries and appear on the public map. This moderation workflow ensures data quality while keeping the community actively involved in expanding WayFy’s accessible place coverage.
Newly submitted places always start in
pending status and are not visible in public map queries until an admin approves them via the PATCH /api/places/:place_id/status endpoint.Places
POST /api/places/
Submits a new community place pin to the WayFy map. The place is created withstatus: "pending" and will not appear in public bounding-box queries until approved by an admin. If a place already exists within approximately 30 metres of the submitted coordinates, the existing place is returned with 200 OK instead of creating a duplicate.
Authentication: Required
Request
The name of the place (e.g.
"Parque Accesible Central").Longitude coordinate of the place.
Latitude coordinate of the place.
WayFy place category. Valid values:
alojamiento, gastronomia, transporte, salud, cultura_turismo, recreacion, deporte, gobierno, baños, dinero, tiendas.Short human-readable location label (e.g.
"Buenos Aires, Argentina").Response
Returns201 Created with a wrapper containing the new pending place record. Returns 200 OK with the existing place if a nearby place already exists.
Confirmation message.
Example
GET /api/places/
Returns all approved community places within a geographic bounding box. Designed for map viewport queries — pass the current map bounds to retrieve visible community pins. Authentication: NoneRequest
Southern latitude bound of the bounding box.
Western longitude bound of the bounding box.
Northern latitude bound of the bounding box.
Eastern longitude bound of the bounding box.
Response
Number of approved places returned.
Array of approved place objects within the requested bounding box.
Example
GET /api/places/pending
Returns all pending place submissions platform-wide. Admin only — non-admin requests receive403 Forbidden.
Authentication: Required (admin only)
Use
GET /api/places/mine/pending for non-admin users who want to track the status of their own submissions.Response
Number of pending places returned.
Array of all pending place objects, ordered by submission date ascending.
Example
GET /api/places/mine/pending
Returns only the authenticated user’s own pending place submissions. A convenience endpoint for the “My Contributions” section of the WayFy profile. Authentication: RequiredResponse
Number of pending places returned.
Array of the current user’s pending place submissions.
Example
PATCH /api/places/:place_id/status
Updates the moderation status of a community place. Only admin accounts can call this endpoint. Authentication: Required (admin only)Request
The new status for the place. Must be
approved or rejected.Response
Returns the full updated place object wrapped with a confirmation message.Confirmation message (e.g.
"Lugar approved").The full updated place object.