CharterOpsCharterOps
Sign inSign up

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, read or write. Authentication
Requests
Bodies are JSON, except a file, which is sent as a form. Creates and transitions require an Idempotency-Key header. Idempotency
Lists
Lists return items, next_cursor and total. Pass cursor to read the next page. Pagination
Errors
Errors are application/problem+json with a type you 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.

Marketplace

Read the trip requests brokers post, and the offers on them, and make an offer with your aircraft.

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.

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.