Terrains
Create terrain
POST
Creates a new terrain with the provided data.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
name*stringLength
1 <= length <= 255description?stringbookable*booleangeoJson?metadata?terrainTypeId?string|nullOK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs/string/terrains' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "bookable": true}'nullList terrains GET
Lists terrains with pagination, filtering, sorting, and includes. Supports virtual fields: customer and occupation. Supports direct relations: meters, occupations, reservations, comments.
List available terrains GET
Lists terrains without occupation by default. Set includeOccupied=true to also return occupied terrains. With checkIn (and optional checkOut), excludes terrains with overlapping active reservations. Set bookable=true to limit to bookable terrains only.