Reitti API Documentation
Reitti provides a REST API that allows you to interact with your location data programmatically. This is useful for automation, integrations with other systems, and custom applications.
Authentication
All API endpoints require authentication using an API token. You can provide the token in two ways:
- HTTP Header: Include the token in the
X-API-TOKEN
header - Query Parameter: Add the token as a
token
parameter in the URL
Example using header:
curl -H "X-API-TOKEN: your-api-token" https://your-reitti-instance/api/v1/latest-location
Example using query parameter:
curl https://your-reitti-instance/api/v1/latest-location?token=your-api-token
Available Endpoints
- Latest Location - Check if data is flowing into Reitti
- GPX Import - Import GPX files into Reitti
- GPX Export - Export location data as GPX files