API preview
API reference
Every operation an API key can call, with its parameters, fields and errors.
The reference describes the implemented API preview. API access is arranged with each company. The dashboard's own work, such as quotes, bookings, campaigns, members and billing, is not available to keys and is not listed.
- Base URL
- Every path starts with
https://api.charterops.com/v1. Quickstart - Authentication
- Send a key as
Authorization: Bearer co_live_…. Each operation names the scope it needs,readorwrite. Authentication - Requests
- Bodies are JSON, except a file, which is sent as a form. Creates and transitions require an
Idempotency-Keyheader. Idempotency - Lists
- Lists return
items,next_cursorandtotal. Passcursorto read the next page. Pagination - Errors
- Errors are
application/problem+jsonwith atypeyou can act on. Errors and retries - Quota
- Calls that count use your organization's allowance and report it in the
X-Quota-*headers. Quotas and rate limits
Airports
Search airports and nearby fields, and read the FBOs and weather at a field.
Aircraft
Search registered aircraft and aircraft types, and read an aircraft's operators and last position.
Operators
Search charter operators and read their fleets.
Empty legs
Search empty legs, and post, edit and withdraw your own.
- GETSearch available empty legs
/v1/empty-legs - POSTPost an empty leg
/v1/empty-legs - GETList the companies with empty legs on offer
/v1/empty-legs/posters - GETRead an empty leg
/v1/empty-legs/{id} - PATCHUpdate an available empty leg
/v1/empty-legs/{id} - POSTBook or withdraw an empty leg
/v1/empty-legs/{id}/transitions
Marketplace
Read the trip requests brokers post, and the offers on them, and make an offer with your aircraft.
- GETList Offers
/v1/marketplace/offers - GETOffer Detail
/v1/marketplace/offers/{id} - GETRequests
/v1/marketplace/requests - GETDetail
/v1/marketplace/requests/{id} - GETRequest Offers
/v1/marketplace/requests/{id}/offers - POSTCreate Offer
/v1/marketplace/requests/{id}/offers - POSTCreate Inquiry
/v1/empty-legs/{id}/inquiries - POSTPublication
/v1/trip-requests/{id}/publication
Clients
Send the people your system already knows, and keep their contact details up to date.
Trip requests
Send a trip request into your account from your own website or system, read its quotes and pass on your client's answer.
- POSTCreate a trip request
/v1/trip-requests - GETRead a trip request
/v1/trip-requests/{id} - POSTCancel a trip request
/v1/trip-requests/{id}/cancellation - GETRead a trip request's timeline
/v1/trip-requests/{id}/events - POSTAdd a note to a trip request
/v1/trip-requests/{id}/notes - GETRead the client quotes or estimates a key's request was sent
/v1/trip-requests/{id}/quotes - GETRead the invoices a key's request was sent
/v1/trip-requests/{id}/shared-invoices - POSTRelay a client's signature on a carrier disclosure
/v1/quotes/{id}/carrier-disclosure/signatures - POSTRelay a client's answer to a quote
/v1/quotes/{id}/responses
Trip files
Add your client's travel documents to a trip request you sent, or copy one from the client, and list or remove them. A file is never read back through the API.
Client files
Keep a document on a client you sent once, to copy onto each of their trip requests, and list or remove it. A file is never read back through the API.
Estimates
Estimate a route's distance, flight time and price range. An estimate is not an operator quote.
Itineraries
Read the itinerary a booked trip request's passengers are sent: the FBOs, the aircraft and its photo, the crew and the services.