Skip to main content

Places - Creation

warning

You must have your TRIP API Key.

You can create a place using the URL /api/by_token/place and the method POST.
Your TRIP API Key must be set in the headers: X-Api-Token: <key>.
The body must contain the place.

Method: POST.
URL: /api/by_token/place.
Headers: X-Api-Token: <key>.

mandatory properties
"category": "Category name" (case-sensitive)
"name": "The name"
"lat": 0.00
"lng": 0.00
"place": "Your string"
optional properties
"image": "https://example.com/image.jpg"
"allowdog": true/false
"description": "A description for the place"
"price": 0.00
"duration": 0
"favorite": true/false
"visited": true/false
"gpx": "gpx file content"