Default

Send a auth login request to the server

post

This endpoint is used to login to the Flylogs API. It requires an email and password, and optionally a two-factor authentication code if enabled. The response will include a token for subsequent requests if successful.

Body
emailstring · emailOptional
passwordstringOptional
codestringOptional
Responses
200

Successful login

application/json
post
/users/login.json

Logout

get

This endpoint logs the user out of the Flylogs API by invalidating their session or token, ensuring secure termination of access.

Responses
200

Logout

application/json
get
/users/logout.json
200

Logout

Password recover

post
Responses
200

Password recover

application/json
post
/users/password_recover.json
200

Password recover

View My Account

get
Responses
200

View

application/json
get
/users/edit.json
200

View

Edit My Account

post
Responses
200

Edit My Account

application/json
post
/users/edit.json
200

Edit My Account

ACL

get
Responses
200

ACLs

application/json
get
/user_groups/permissions.json
200

ACLs

ACL Check

post
Responses
200

ACL Check

application/json
Responseboolean
post
/user_groups/permissions.json
200

ACL Check

Index

get
Responses
200

List

application/json
get
/aircraft/index.json
200

List

View

get
Responses
200

View

application/json
get
/aircraft/view/36.json
200

View

List

get
Responses
200

List

application/json
get
/flights/load.json
200

List

List of filtered flights

get

Retrieve a list of flights filtered by various parameters such as page, date range, aircraft, pilot, base, and flight type.

Path parameters
pageintegerRequired

Page number for pagination.

fromstring · dateOptional

Start date for filtering flights.

tostring · dateOptional

End date for filtering flights.

aircraftstringOptional

Aircraft ID for filtering flights.

pilotstringOptional

Pilot ID for filtering flights.

basestringOptional

Base ID for filtering flights.

flight_typestringOptional

Flight type ID for filtering flights.

Responses
200

List of filtered flights

application/json
get
/flights/load/page{1}/from:{unixtime}/to:{unixtime}/aircraft:{aircraftId}/pilot:{306}/base:{baseId}/flight_type:{flightTypeId}/load.json
200

List of filtered flights

View

get
Responses
200

View

application/json
get
/flights/view/e09d34a2-ab95-426f-9bea-b975144bfe03.json
200

View

Create

post
Responses
200

Create

application/json
post
/flights/create.json
200

Create

Cancel

post
Responses
post
/flights/cancel.json

Confirm

post
Responses
post
/flights/confirm.json

Delete

delete
Responses
delete
/flights/delete/:flightId.json
400

Delete

Flight Types

get
Responses
200

Flight Types

application/json
get
/manager/flight_types.json
200

Flight Types

User flight time last X months

get
Responses
200

User flight time last X months

application/json
get
/reports/flight_hours_by_month/12.json
200

User flight time last X months

User Flight time summary

get
Responses
200

User Flight time summary

application/json
get
/pilots/totals.json
200

User Flight time summary

Audit / report

post
Responses
200

Audit / report

application/json
post
/manager/flights/audit.json
200

Audit / report

View

get
Responses
200

View

application/json
get
/pilots/view/:pilotId.json
200

View

Create

post
Responses
200

Create

application/json
post
/pilots/create.json
200

Create

Edit

post
Responses
200

Edit

application/json
post
/pilots/edit.json
200

Edit

Flight times

get
Responses
200

Flight times

application/json
get
/pilots/totals/:pilotId.json
200

Flight times

Certificates

get
Responses
200

Certificates

application/json
get
/pilots/certificates/:pilotId.json
200

Certificates

Duty times

get
Responses
200

Duty times

application/json
get
/pilots/duty/3/:pilotId.json
200

Duty times

Messages

get
Responses
200

Messages

application/json
get
/messages/messages/unread.json
200

Messages

Calendar

get
Query parameters
startintegerOptionalExample: 2022-01-20T00%3A00%3A00%2B01%3A00
endintegerOptionalExample: 2023-02-27T00%3A00%3A00%2B01%3A00
Responses
200

Calendar

application/json
get
/events.json
200

Calendar

User documents

get
Responses
200

User documents

application/json
get
/uploads/index/CompanyDocument/178.json
200

User documents

Index

get
Responses
200

Index

application/json
get
/schedules/index.json
200

Index

Index Filtered

get
Responses
200

Index Filtered

application/json
get
/schedules/index/:pilotId/limit{100}/skip{CANCELLED}.json
200

Index Filtered

View

get
Responses
200

View

application/json
get
/schedules/view/:scheduleId.json
200

View

Create

post
Responses
200

Create

application/json
post
/schedules/edit.json
200

Create

Delete

post
Responses
200

Delete

application/json
post
/schedules/delete.json
200

Delete

Acknowledge

post
Responses
200

Acknowledge (Accept)

application/json
post
/schedules/acknowledge.json
200

Acknowledge (Accept)

Accept all flights

get
Responses
200

Accept all flights (no flights)

application/json
get
/schedules/acceptall.json
200

Accept all flights (no flights)

Stats

get
Responses
200

Stats

application/json
get
/manager/schedules/user_stat/306/REJECTED.json
200

Stats

Add availability

post
Responses
200

Add availability

application/json
post
/schedules/add_availability.json
200

Add availability

My availability calendar

get
Query parameters
startintegerOptionalExample: 2021-12-17T00%3A00%3A00%2B01%3A00
endintegerOptionalExample: 2022-01-23T00%3A00%3A00%2B01%3A00
Responses
200

My availability calendar

get
/schedules/get_availability.json
200

My availability calendar

No content

Availability notes

post
Responses
200

Availability notes

application/json
post
/schedules/availability.json
200

Availability notes

User trainings

get
Responses
200

User trainings

application/json
get
/trainings/trainings/index.json
200

User trainings

Training Subjects

get
Responses
200

Training Subjects

application/json
Responseobject

Training Subjects

get
/trainings/trainings/subjects/:trainingId.json
200

Training Subjects

Training Subject Lessons

get
Responses
200

Training Subject Lessons

application/json
Responseobject

Training Subject Lessons

get
/trainings/lessons/index/:trainingSubjectId.json
200

Training Subject Lessons

Training Subject Lesson Details

get
Responses
200

Training Subject Lesson Details

application/json
get
/trainings/lessons/view/:trainingSubjectId.json
200

Training Subject Lesson Details

Get flight Missions

post
Responses
200

Get flight Missions

application/json
post
/trainings/missions/mission.json
200

Get flight Missions

list

get
Responses
200

list

application/json
get
/bills/index/:userId/0.json
200

list

Bill details

get
Responses
200

view bill details

application/json
get
/bills/view/:billId.json
200

view bill details

create

post
Responses
post
/billing/create.json

autobill

post
Responses
post
/billing/autobill.json

delete

delete
Responses
delete
/billing/delete.json

Last updated

Was this helpful?