API Documentation

Our growing API allows you to build applications that integrate with Trailmapping. Our goal is to not only make it easy to upload your trips to the site but also to provide functionality for you to easily backup or transfer your trips elsewhere. Future versions will also provide more secure access to our system.

Uploading Trips

Uploading

Data should be POSTed to the following URL: http://trailmapping.com/api/trips/create/

Authentication

Use HTTP basic access authentication with the same username and password you use to login to the site. This information should be sent in the same request you are using to POST the data.

Arguments

  • title: a text field (200 characters or less)
  • body: a longer text description of the trip
  • gpx_file: the gpx file