Travelmode API Documentation
The Travelmode API provides programmatic access to your travel planning data. This documentation covers all available endpoints, authentication methods, and usage examples.
Base URL
https://travelmode2.replit.appAPI Version
v1Quick Start
curl -X GET "https://travelmode2.replit.app/api/trips" \
-H "Authorization: Bearer tm_your_api_key"API Reference
π
Authentication
API key setup and authentication methods
β±οΈ
Rate Limits
Request limits and throttling information
π
Response Format
JSON response structure and status codes
βοΈ
Trips
Create, read, update, and delete trips
π
Events
Manage flights, hotels, activities, and more
π
v1 API (Timeline)
Deterministic timeline operations
π€
Proposals (AI Agent)
AI-generated itinerary proposals
π₯
Trip Permissions
Share trips and manage access
π€
User Profile
User data and handle management
πΊοΈ
Visited Places
My Map travel history tracking
π
Integrations
Third-party service connections
π¬
Conversations
AI chat and conversation history
π
Developer API Keys
Manage your API keys
β οΈ
Error Handling
Error codes and troubleshooting
β
Best Practices
Tips for optimal API usage
Need an API Key?
Generate API keys from the Developer Portal to start making requests.
πGo to Developer Portal