API Reference
PilotFlows provides a comprehensive REST API that allows you to integrate with our platform, automate workflows, and build custom applications.API Access: API access is available for organization accounts. Contact support to enable API access for your organization and obtain API credentials.
Overview
The PilotFlows API follows RESTful principles and uses standard HTTP methods. All API requests require authentication using API keys or OAuth tokens.Base URL
Authentication
API requests must include authentication credentials in the request headers:Getting Started
Request API Access
Contact support to enable API access for your organization account. Provide your organization details and intended use case.
Obtain API Credentials
Once approved, you’ll receive:
- API Key (for server-to-server authentication)
- OAuth credentials (for user-facing applications)
- Organization ID
Review API Documentation
Explore available endpoints and understand request/response formats. All endpoints are organization-scoped.
API Endpoints
The API is organized into logical resource groups:Organizations
Manage organization data, members, and settings
Flight Logs
Create, read, update, and delete flight log entries
Aircraft
Manage aircraft and simulator records
Members
Manage organization members and roles
Accounting
Access invoices, expenses, and financial data
Calendar
Manage events and schedules
Rate Limits
API requests are subject to rate limits to ensure fair usage:- Standard Plans: 1,000 requests per hour
- Organization Plans: 5,000 requests per hour
- Enterprise Plans: Custom limits
X-RateLimit-Limit: Maximum requests allowedX-RateLimit-Remaining: Remaining requests in current windowX-RateLimit-Reset: Time when limit resets
Response Formats
All API responses use JSON format. Successful responses include the requested data:Common Use Cases
Synchronize Flight Data
Synchronize Flight Data
Automatically sync flight logs from external systems or devices. Use POST endpoints to create new entries.
Generate Custom Reports
Generate Custom Reports
Retrieve flight data and generate custom reports or analytics beyond what’s available in the web interface.
Integrate with Scheduling Systems
Integrate with Scheduling Systems
Connect PilotFlows with your existing scheduling or booking systems to automatically create flight log entries.
Build Mobile Apps
Build Mobile Apps
Use the API to build custom mobile applications that interact with PilotFlows data.
Webhooks
PilotFlows can send webhooks to your endpoints when certain events occur:- Flight log created or updated
- Member added or removed
- Invoice created or paid
- Aircraft status changed
- And more
Webhook configuration is available in organization settings. Contact support to enable webhooks for your organization.
SDKs and Libraries
Community-maintained SDKs are available for popular programming languages:- JavaScript/TypeScript: Available via npm
- Python: Available via pip
- Ruby: Available via gem
SDKs are maintained by the community. For official support, use the REST API directly or contact support for assistance.
Support and Resources
API Documentation
Complete interactive API documentation
Contact Support
Get help with API integration
Community Forum
Connect with other developers
Status Page
Check API status and uptime
Next Steps
- Request API Access - Contact support to enable API for your organization
- Review Documentation - Explore available endpoints and examples
- Test Integration - Start with read operations to understand data structures
- Build Your Integration - Implement your use case using the API