. -->
YACHTWAVE Public API Reference v1.1 (Beta)
Dark
Light

Public API v1.1 (Beta)

Programmatic access to an organization's YACHTWAVE data: read and sync vessels, tasks, tickets, comments, attachments, engines, equipment, inventory, provisions, contacts and maintenance logs; create and update tasks; and create maintenance logs and trip logs. All endpoints accept and return JSON and are scoped to the organization that owns the API key.

Every resource is identified by its uuid. Internal numeric ids are never accepted or returned; links between resources use *_uuid fields (vessel_uuid, task_uuid, engine_uuid …). Every date and time field is described in Dates & Times.

This reference is organized by object: each object below (Vessels, Tasks, Tickets …) lists everything you can do with it, reading and writing, in one place.

Base URL
https://developer.yachtwave.com/
Auth
Bearer ywpk_live_…
Content type
application/json

Authentication

Every request must include an API key in the Authorization header using the Bearer scheme. Public API keys are distinguishable from session tokens by the ywpk_ prefix.

Authorization: Bearer ywpk_live_a1b2c3d4e5f6g7h8...
Treat your API key like a password. Keys cannot be recovered once created — the full key is shown only when minted. If you lose a key, revoke it and create a new one. Never commit keys to version control or embed them in client-side code.

Server-side only

Calling the API from a web browser is not supported. Call it from your own server, backend service or app, never from JavaScript running in a web page. Browser requests to the API are refused: a browser first asks the server for permission (a CORS preflight), and the API answers that request with 401, so the browser does not send the call. This is deliberate. A key placed in a web page can be read by anyone who opens it.

Key ownership

The Public API is an organization feature. Every key belongs to one organization, not to a person, and sees only the vessels that organization manages (vessels on the organization's active licenses). Data on any other vessel is invisible to the key. A key whose organization is inactive stops working.

Endpoints that create or change data record a person as the author: the request names that person with user_email, who must be an active member of the key's organization. See Writing Data.

Scopes

Each key carries a set of scopes that determine what it can do. Requests are rejected with 403 if the key lacks the required scope for an endpoint.

ObjectReadWrite
Vesselsvessels:read—
Vessel Locationvessel_locations:read—
Taskstasks:readtasks:create (create a task)
tasks:update (change a task)
Ticketstickets:read—
Commentscomments:readcomments:create (add a comment)
Attachmentsattachments:readattachments:create (upload a file)
Trip Logscruise_logs:readcruise_logs:create (create a cruise log)
Maintenance Logsmaintenance_logs:readmaintenance_logs:create (create a maintenance log)
Official Logsofficial_logs:readofficial_logs:create (add an entry)
Expensesexpenses:readexpenses:create (create an expense)
Checklistschecklists:read—
Peopleusers:read—
Reference Listsany valid key, no scope—
Enginesengines:read—
Equipmentequipment:read—
Inventoryinventory:read—
Provisionsprovisions:read—
Contactscontacts:read—

A vessel's current location has its own scope, vessel_locations:read. vessels:read does not include it.

Each kind of log has its own scopes: cruise_logs (trip logs), maintenance_logs and official_logs. A key that may read maintenance logs cannot read trip logs unless it also holds cruise_logs:read. A key does not gain a scope by itself when a new one is introduced: an administrator adds it to the key in YACHTWAVE Settings.

A scope covers one action on one object and nothing else: tasks:read does not allow creating or changing a task, and tasks:update does not allow reading one. An integration that reads tasks and then updates them needs both.

Scopes such as vessels:create, vessels:update or tasks:delete are reserved for future endpoints and grant nothing today.

Errors

The Public API uses real HTTP status codes (unlike the internal API, which returns HTTP 200 with an error code in the body for legacy mobile compatibility).

{
    "error": "insufficient_scope",
    "message": "This API key does not have the 'tasks:create' scope.",
    "request_id": "8f3a1c5d12345678"
}
StatusMeaning
400The request was understood but refused, and nothing was changed. error says why: invalid_body (body is not a JSON object), missing_param (a required field is absent), invalid_param (a field has the wrong type or format, an unknown field on PATCH, or a bad updated_since / cursor / limit), invalid_uuid / invalid_vessel_uuid (malformed UUID in the URL), invalid_user (user_email is not an active member of the key's organization, or assignee_email is not someone with access to the vessel), invalid_status and status_conflict (see Update a Task). message always names the field. Rarely, a rule checked by the database refuses a write: error is then request_refused, or a specific code such as task_kind_mismatch, and message is the rule's text.
401Missing or invalid API key. error is missing_api_key when the Authorization header is absent or is not Bearer ywpk_..., and invalid_api_key when the key is not accepted. For an invalid key the message gives the reason: not_found, revoked, expired, no_organization (key is not attached to an organization) or organization_inactive
403Key lacks the required scope (insufficient_scope; the message names the scope that is missing)
405Wrong HTTP method (method_not_allowed, with an Allow header). Each object's endpoint table lists the methods it accepts.
404Resource not found (vessel_not_found, task_not_found, ticket_not_found, engine_not_found, maintenance_log_not_found, checklist_not_found, expense_not_found, cruise_log_not_found, official_log_not_found, reference_list_not_found) — also returned (deliberately, to avoid leaking existence) when the resource exists but is not visible to this key. Two more on Vessel Location: no_tracking_device and location_not_available.
413, 415Upload a File only: the file is too large (file_too_large) or of a type that is not accepted (unsupported_file_type)
429Rate limit exceeded (rate_limited): wait the number of seconds in the Retry-After header, then send the request again. See Rate Limits.
500Server error (server_error) — try again later, and quote the request_id if it persists
502Upload a File only: the file could not be stored (storage_error). Nothing was saved; send the request again.

Rate limits

Default rate limit is 60 requests per minute per key. Limits can be tuned per key by YACHTWAVE staff if your integration needs more.

Every response includes a X-Request-Id header you can quote when reporting issues. When the limit is exceeded, responses include a Retry-After header indicating how many seconds to wait.

HTTP/1.1 429 Too Many Requests
Retry-After: 60
X-Request-Id: 8f3a1c5d12345678
Content-Type: application/json

{
    "error": "rate_limited",
    "message": "Rate limit exceeded (60 requests per minute). Retry after 60 seconds.",
    "request_id": "8f3a1c5d12345678"
}

Discovery

GET /

Health / discovery endpoint. Confirms the key is valid and echoes what it is authenticated as. Requires a valid API key but no particular scope. (Browser requests to / that accept HTML are redirected to these docs instead.)

Example request

curl https://developer.yachtwave.com/ \
  -H "Accept: application/json" \
  -H "Authorization: Bearer ywpk_live_..."

Example response

{
    "name": "YACHTWAVE Public API",
    "version": "v3",
    "api_version": "1.1.105",
    "docs_url": "https://developer.yachtwave.com/docs/",
    "authenticated_as": {
        "organization_uuid": "4b1e7c2a-9f3d-4e8a-b6c1-2d5f8a9e0c3b",
        "scopes": ["vessels:read", "tasks:read", "tickets:read", "comments:read"]
    },
    "request_id": "..."
}

Versions

This is version 1.1 of the YACHTWAVE Public API. The full version has three parts, for example 1.1.105:

  • 1.1 is the release. It changes only when the API changes in a way that could require you to change your integration; such a change would be announced here first.
  • The last part is the build number. It goes up each time the API is updated. A new build adds endpoints, fields or fixes; it does not remove or rename anything you already use. New fields can appear in a response at any build, so ignore fields you do not know.

You can read the version your requests are served by in two places: the X-Api-Version header on every response, and api_version in the reply of GET /. (The older version field of that reply, "v3", is kept unchanged for existing integrations and is not the API's version.)

VersionDateWhat it contains
1.1.1052026-11-17First numbered version. Everything in this reference: reading every object; creating and updating tasks; comments; maintenance logs; expenses; file uploads; trip logs with their route points; official logs; vessel location; reference lists.

Dates & times

The API uses two different kinds of value, and they behave differently. Check which kind a field is before you send or store it.

KindLooks likeTime zoneMeaning
Timestamp2026-11-10T14:30:00ZAlways UTC. The trailing Z means UTC.An exact moment. Convert it to local time yourself when you show it to a person.
Calendar date2026-11-10None.A day on the calendar, the same day everywhere. It is never shifted by a time zone. Do not turn it into a timestamp.

Every date and time field

FieldWhereKindNotes
created_at, updated_at, deleted_atEvery record you readTimestamp, UTCSet by YACHTWAVE; you cannot send them. deleted_at is null on a live record.
server_timeEvery list responseTimestamp, UTCThe server clock when the page was produced.
complete_dateTasks, TicketsTimestamp, UTCWhen the work was completed; null on an open task. You can set it with Update a Task.
complete_date, a step's complete_date and updated_atChecklistsTimestamp, UTCWhen the checklist, or one step, was completed or last touched; null when not.
due_dateTasks, TicketsCalendar dateThe day the task is due, or null.
dateMaintenance LogsCalendar dateThe day the work was done. You send it when you create a log; past dates are accepted.
expense_dateExpensesCalendar dateThe day of the expense (for a bill, the bill's date). You send it when you create an expense; past dates are accepted.
install_dateEngines, EquipmentCalendar dateOr null.
expiration_dateInventory, ProvisionsCalendar dateOr null.
updated_sinceQuery parameter on every listTimestampSee "Sending a timestamp" below.
recorded_at, course_recorded_at, speed_recorded_atVessel LocationTimestamp, UTCWhen the boat's tracking device measured the position, the course and the speed. Not the time of your request: compare recorded_at with server_time to see how old the position is.
datetime (sending)Create a Cruise Log: the start and end pointsUTC, written YYYY-MM-DD HH:MM:SSStored exactly as sent, with no conversion: convert local time to UTC before you send it. An offset such as -05:00 is refused.
datetime (reading)Trip log points, and the start / end of a trip logTimestamp, UTCWhen the boat was (or is planned to be) at the point. The same value you sent, returned in the standard form with T and Z. Can be null.
reading_dateA reading on a trip log pointTimestamp, UTCWhen the value was measured, or null (then it was taken at the point's datetime).
created_at of an official log entryOfficial LogsTimestamp, UTCThe time of the entry. An official log entry has no separate date field: it is stamped when it is made and cannot be back-dated.
create_dateThe response of Create a Task and Create a Cruise LogUTC, written YYYY-MM-DD HH:MM:SSThe same moment a later read returns as created_at, in an older format without the T and Z.

Sending a timestamp

Applies to updated_since and to complete_date.

You sendStored / used asRule
2026-11-10T14:30:00Z2026-11-10 14:30:00 UTCZ = already UTC. Recommended.
2026-11-10T09:30:00-05:002026-11-10 14:30:00 UTCAn offset is converted to UTC.
2026-11-10T14:30:002026-11-10 14:30:00 UTCNo zone = taken as UTC, not as your local time.
2026-11-10 as complete_date2026-11-10 12:00:00 UTCA date alone is stored as noon UTC, so the task shows as completed on 10 November in every time zone from UTC−11 to UTC+11.
2026-11-10 as updated_since2026-11-10 00:00:00 UTCA date alone means the start of that day, UTC.

Sending a calendar date

Applies to a task's due_date, a maintenance log's date and an expense's expense_date. Send exactly YYYY-MM-DD, with no time and no zone: 2026-11-10. It must be a real day (2026-02-30 is refused with 400 invalid_param). Other layouts such as 11/10/2026 or 10 Nov 2026 are refused.

Past and future dates

  • Past dates are accepted everywhere. A maintenance log's date and a task's complete_date in the past record work on the day it was actually done; a due_date in the past creates an overdue task.
  • A future complete_date is not refused. Do not send one.
  • A task's state (TODO, SOONDUE, OVERDUE, COMPLETED) compares due_date with today's date in UTC, so near midnight it can differ from what a person in another time zone sees in the app.
  • updated_at is when the record last changed in YACHTWAVE, not when the work happened. Setting a past complete_date still sets updated_at to now.

Reading & syncing

Every read endpoint works the same way: a list route that pages through records, and (for most objects) an item route that returns one record by UUID. To keep a copy of the data in your own system, do one full read, then poll with updated_since to fetch only what changed.

List parameters

NameTypeDescription
vessel_uuidUUIDOnly records on this vessel. Unknown or not-visible vessels return 404. Not on /vessels.
updated_sinceTimestampOnly records created, changed or removed at or after this time, e.g. 2026-10-31T14:00:00Z (formats: Dates & Times). Inclusive, so a record can appear in two polls; store records by uuid and overwrite.
limitintegerPage size, 1–500. Default 100.
cursorstringThe next_cursor from the previous page. Opaque: pass it back unchanged, together with the same filters.

List response

Records are ordered oldest change first.

{
    "data": [ { ... }, { ... } ],
    "has_more": true,
    "next_cursor": "MjAyNi0xMC0zMSAxNDowMDowMHw...",
    "server_time": "2026-10-31T14:05:12Z",
    "request_id": "8f3a1c5d12345678"
}

Keep requesting with cursor=<next_cursor> until has_more is false. An item route (GET /tasks/{uuid} etc.) returns { "data": { ... }, "request_id": "..." }, or 404 when the record does not exist, was removed, or is not visible to the key.

Removed records

Without updated_since, lists return live records only. With updated_since, records that were deleted or are no longer visible to the key come back as a short removal record so you can delete your copy:

{
    "uuid": "2c4e6a8b-1d3f-4a5b-8c7d-9e0f1a2b3c4d",
    "vessel_uuid": "8f3a1c5d-4e6b-4c2a-9d8f-1a2b3c4d5e6f",
    "deleted_at": "2026-10-31T13:58:40Z",
    "reason": "deleted",
    "updated_at": "2026-10-31T13:58:40Z"
}

A removal record has deleted_at set; live records have "deleted_at": null. reason is deleted, restricted (now limited to certain crew roles, which the API never returns) or, for vessels, removed (no longer managed by your organization).

Recommended sync loop

  • First run: page through each list without updated_since and store every record by uuid.
  • Every few minutes: call each list with updated_since = the newest updated_at you have stored for that list; page until has_more is false; upsert live records and delete records with deleted_at.
  • When a task or ticket is removed, also remove its comments and attachments.
  • When a vessel is removed, also remove everything stored for that vessel.
  • Run a full re-read (no updated_since) about once a day. A few changes do not produce a removal record, for example a contact whose note type changes to a non-contact type.
Rate limit. Paging counts against your per-minute limit. Use limit=500 for the first full read.

Writing data

Endpoints that create or change data share these rules.

  • Send JSON. The body is one JSON object, with Content-Type: application/json.
  • Name the person. Every write needs user_email: the email address of an active member of the key's organization. That person is recorded as the one who made the change. An address that is not such a member is refused with 400 invalid_user.
  • Records by UUID, list values by flag. A record (a vessel, a task) is referenced by its uuid, for example the vessel UUID in the URL. A value from a fixed list (a task's status, its priority) is referenced by its flag: a short lower-case keyword such as task_in_progress or high. A flag never changes, even if the name shown in the app is reworded. People are referenced by email address (user_email, assignee_email). user_email, the person making a change, must be a member of your organization; assignee_email may also be a crew member of the vessel.
  • Create with POST, change with PATCH. A PATCH changes only the fields you send; every other field keeps its value. Where a field can be emptied, send null; the field tables say which fields accept it.
  • Misspelt fields. Update a Task, Add a Comment, Create a Maintenance Log and Create an Expense refuse a field name they do not know (400 invalid_param), so a typo is never silently ignored. Create a Task and Create a Cruise Log ignore unknown fields.
  • All or nothing. When a request is refused (any 4xx), nothing was changed.
  • Notifications are sent, exactly as in the app. (Where the app sends none, the API sends none: a new maintenance log, expense or cruise log notifies nobody.) A change made through the API notifies the same people, by the same email, text message and push rules, as the same change made in the YACHTWAVE app: for example a new task, a task assigned to someone else, or a status change. Who is notified and how is decided by your organization's notification settings in YACHTWAVE, not by the API request. The person named in user_email is treated as the one who made the change, so they are not notified about their own change. Keep this in mind for bulk updates: changing many tasks sends a notification for each.
  • Reading it back. A change is visible to the read endpoints at once, and moves the record's updated_at, so your own sync loop will see it.

Dates in a write follow Dates & Times.

Reference lists

MethodPathWhat it doesScope
GET/referenceAll fixed value lists, each value with its flagnone (any valid key)
GET/reference/{list}One list, for example /reference/task_statusesnone (any valid key)

Read the reference lists

GET /reference
GET /reference/{list}

Some fields take a value from a fixed list, for example a maintenance log's type or a task's status. You send such a value as its flag: a short lower-case keyword such as engine or task_in_progress. This endpoint returns every list with the flag and the name of each value. The lists are the same for every organization. A flag never changes; a name may be reworded. Read the lists once and cache them; re-read occasionally to pick up new values.

Lists returned

KeyEach value hasUsed by
task_statusesflag, name, is_complete (1 = a completed status)A task's status (create, update)
ticket_statusessame as task_statusesA ticket's status when you read tickets
task_prioritiesflag, name, level, priorityA task's priority. "No priority" is the flag none, which is not in the list.
maintenance_typesflag, name, and uses_location, uses_engine, uses_equipment (1 / 0: which optional fields the app shows for this type)A maintenance log's type
locationsflag, nameA maintenance log's location (places on a boat: engine_room, bilge …)
engine_locationsflag, nameWhere an engine sits (stbd, port, center …). Not a maintenance log location.
expense_types, expense_statuses, payment_typesflag, name (expense statuses also is_paid, is_pending, is_approved, is_rejected)Expenses: type, status, payment_type
official_log_typesflag, name, descriptionThe type of an official log entry (bridge_notes, engineering, safety_drills ...)
cruise_reading_typesflag, name, allow_multiple (1 = a point can hold several readings of this type)The type of a reading on a trip log point (weather, engine_hours, speed_over_ground ...)
document_typesflag, nameA document's type when you upload a file (invoice, receipt, manual_service, other …)

Only values in use are returned, in the order the app shows them.

These endpoints are the source of truth for every list. Where this page shows a table of values (task statuses, priorities), it is a copy made on the date stated beside it; the endpoint always returns the current list. GET /reference/{list} returns one list as an array, where {list} is one of the keys above, for example /reference/maintenance_types; an unknown name is 404 reference_list_not_found and the message names the lists that exist.

Example

curl https://developer.yachtwave.com/reference \
  -H "Authorization: Bearer ywpk_live_..."

{
    "data": {
        "maintenance_types": [
            { "flag": "appliance", "name": "Appliance", "uses_location": 1, "uses_engine": 0, "uses_equipment": 1 },
            { "flag": "engine", "name": "Engine", "uses_location": 0, "uses_engine": 1, "uses_equipment": 0 }
        ],
        "locations": [
            { "flag": "aft", "name": "Aft" },
            { "flag": "anchor_locker", "name": "Anchor Locker" }
        ],
        "task_priorities": [
            { "flag": "low", "name": "Low", "level": 10, "priority": 1 },
            { "flag": "medium", "name": "Medium", "level": 20, "priority": 2 }
        ],
        "task_statuses": [ ... ],
        "ticket_statuses": [ ... ],
        "engine_locations": [ ... ],
        "expense_types": [ ... ],
        "expense_statuses": [ ... ],
        "payment_types": [ ... ],
        "document_types": [ ... ],
        "official_log_types": [ ... ],
        "cruise_reading_types": [ ... ]
    },
    "request_id": "..."
}

The example shows two values of each list; the real lists are longer (46 maintenance types and 89 locations on 2026-11-16).

Vessels

MethodPathWhat it doesScope
GET/vesselsList, with paging and syncvessels:read
GET/vessels/{uuid}Read onevessels:read
GET /vessels
GET /vessels/{uuid}

The vessels your organization manages. With updated_since, vessels that left your organization or were deleted come back as removal records.

vessels:read

Fields

FieldDescription
uuidVessel identifier
name, initials, model, year, hin, portVessel details
created_at, updated_at, deleted_atTimestamps (updated_at also moves when the vessel joins or leaves your organization)

Example

curl "https://developer.yachtwave.com/vessels?limit=100" \
  -H "Authorization: Bearer ywpk_live_..."

{
    "data": [
        {
            "uuid": "4ae32249-5bcd-11ef-bd0d-b6b641cdcb12",
            "name": "Memory Maker",
            "initials": "MM",
            "model": "Aquila 44",
            "year": "2019",
            "hin": null,
            "port": "Sarasota - Quay",
            "created_at": "2024-08-16T12:44:35Z",
            "updated_at": "2026-10-14T16:23:14Z",
            "deleted_at": null
        }
    ],
    "has_more": false,
    "next_cursor": null,
    "server_time": "2026-10-31T14:05:12Z",
    "request_id": "..."
}

Vessel location

MethodPathWhat it doesScope
GET/vessels/{uuid}/locationThe current location of one vesselvessel_locations:read
GET/vessels/locationsThe current location of every vessel that has onevessel_locations:read

Where a boat is now: the newest position reported by the boat's YachtLINK tracking device, with its course and speed.

  • A vessel must have a YachtLINK. A boat without one has no current location. Asking for it returns the error 404 no_tracking_device, not an empty answer.
  • The position is as old as the device's last report. A YachtLINK reports about every five minutes while it is running, so there is no benefit in asking more often. If the boat is switched off or out of coverage, the last position stays, however old: always read recorded_at.
  • This is not a list you sync. There is no updated_since, no limit and no cursor: each call returns the current state.
  • Not to be confused with locations in the Reference Lists, which are places on board a boat (bilge, engine room ...).

Read the current location

GET /vessels/{uuid}/location
GET /vessels/locations

/vessels/{uuid}/location returns one location under data, or an error when the vessel has none. /vessels/locations returns an array, ordered by vessel name, of every vessel of your organization that has a location; vessels without one are simply left out, and an empty array is a normal answer.

vessel_locations:read

Fields

FieldDescription
vessel_uuid, vessel_nameThe vessel
latitude, longitudeDecimal degrees, up to six decimals. North and east are positive, south and west negative.
recorded_atTimestamp (UTC): when the device measured this position
hdopHorizontal dilution of precision of the fix: a number, lower is more accurate (below 2 is good), or null when the device did not report it
courseCourse over ground in degrees, 0 to 360 (0 = north, 90 = east), or null. It is the direction the boat is moving, not where the bow points.
course_recorded_atTimestamp (UTC) of the course reading, or null. It can differ from recorded_at by some seconds.
speedSpeed over ground as { "kph", "knots", "mph" }: the same speed in kilometres per hour, knots and statute miles per hour, up to two decimals each. null when the device reported no speed.
speed_recorded_atTimestamp (UTC) of the speed reading, or null

Example: one vessel

curl "https://developer.yachtwave.com/vessels/9557ef39-de71-4410-838f-6ceb66f71c93/location" \
  -H "Authorization: Bearer ywpk_live_..."

{
    "data": {
        "vessel_uuid": "9557ef39-de71-4410-838f-6ceb66f71c93",
        "vessel_name": "M/Y Aqua Dream",
        "latitude": 41.00471,
        "longitude": -73.51621,
        "hdop": null,
        "course": 67,
        "speed": { "kph": 15.6, "knots": 8.42, "mph": 9.69 },
        "recorded_at": "2026-11-17T16:21:02Z",
        "course_recorded_at": "2026-11-17T16:21:02Z",
        "speed_recorded_at": "2026-11-17T16:21:02Z"
    },
    "server_time": "2026-11-17T16:23:40Z",
    "request_id": "..."
}

Example: every vessel that has a location

curl "https://developer.yachtwave.com/vessels/locations" \
  -H "Authorization: Bearer ywpk_live_..."

{
    "data": [
        { "vessel_uuid": "9557ef39-...", "vessel_name": "M/Y Aqua Dream", "latitude": 41.00471, "longitude": -73.51621, ... },
        { "vessel_uuid": "a5ceb669-...", "vessel_name": "M/Y Compass Rose", "latitude": 27.020554, "longitude": -83.627576, ... }
    ],
    "server_time": "2026-11-17T16:23:40Z",
    "request_id": "..."
}

Errors

HTTPErrorWhen
404no_tracking_deviceOne-vessel route: the vessel has no YachtLINK, so it has no current location
404location_not_availableOne-vessel route: the vessel has a YachtLINK, but it has not reported a position yet
404vessel_not_foundThe vessel in the URL is not one of your organization's
400invalid_vessel_uuidThe UUID in the URL is malformed
403insufficient_scopeThe key lacks vessel_locations:read

How a YachtLINK is recognised: a vessel counts as having one once the device has delivered data to YACHTWAVE. A device that was installed but has never been online is reported as no_tracking_device until its first upload.

Tasks

MethodPathWhat it doesScope
GET/tasksList tasks, with paging and synctasks:read
GET/tasks/{uuid}Read one tasktasks:read
POST/vessels/{uuid}/tasksCreate a task on a vesseltasks:create
PATCH/tasks/{uuid}Change a task: status, assignee, priority, due date, completiontasks:update

List and read tasks

GET /tasks
GET /tasks/{uuid}

Tasks on your organization's vessels, open and completed. A ticket that has been converted into a task appears here and under Tickets, with both is_task and is_ticket set to 1.

tasks:read

Fields

FieldDescription
uuid, vessel_uuidTask and its vessel
typetask or ticket (a converted ticket reports task)
is_task, is_ticket1 / 0 flags
name, detailsTitle and description
priority{ "flag", "name", "level" } or null (no priority): low 10, medium 20, high 30, critical 100. A higher level is more urgent. flag is the value you send to set it.
status{ "flag", "name" } or null: the workflow status last set. flag is the value you send to set it. null means the task has no status. The possible values, with the flag to send for each, are listed under Task Statuses.
task_status, ticket_status{ "flag", "name" } or null: the task-side and ticket-side status
stateTODO, SOONDUE, OVERDUE or COMPLETED, worked out against today's UTC date
is_complete1 when the task is complete, 0 when it is open. It always agrees with the status: a completed status means 1, an open status means 0.
complete_dateTimestamp (UTC) of completion, or null while the task is open
due_dateCalendar date (YYYY-MM-DD) the task is due, or null
due_hours, recurrence_daysEngine-hours due point, and repeat interval in days (0 = does not repeat)
engine_uuid, equipment_uuidThe engine or equipment the task is about, or null
assignee{ "uuid", "name", "email" }: the person responsible
assignee_alternateFree-text assignee (someone without an account), or null
extra_assigneesArray of { "uuid", "name", "email" }: additional assignees
create_user{ "uuid", "name" }: who created it
created_at, updated_at, deleted_atTimestamps (UTC). Adding a comment also moves the task's updated_at.

Example

curl "https://developer.yachtwave.com/tasks?vessel_uuid=1c14169e-...&updated_since=2026-10-30T00:00:00Z" \
  -H "Authorization: Bearer ywpk_live_..."

{
    "data": [
        {
            "uuid": "2f4fb16b-333f-4f2c-8f2a-f1b5f85a509a",
            "vessel_uuid": "1c14169e-4b7f-424d-aa49-766db5435998",
            "type": "task",
            "is_task": 1,
            "is_ticket": 0,
            "name": "Owner Request",
            "details": "Mount flag pole holder and burgee holder on bow",
            "priority": { "flag": "medium", "name": "Medium", "level": 20 },
            "status": null,
            "task_status": null,
            "ticket_status": null,
            "state": "COMPLETED",
            "is_complete": 1,
            "complete_date": "2026-05-05T02:47:36Z",
            "due_date": "2026-04-20",
            "due_hours": null,
            "recurrence_days": 0,
            "engine_uuid": null,
            "equipment_uuid": null,
            "assignee": { "uuid": "86d6102a-...", "name": "Nick Ramirez", "email": "nick@example.com" },
            "assignee_alternate": null,
            "extra_assignees": [],
            "create_user": { "uuid": "86d6102a-...", "name": "Nick Ramirez" },
            "created_at": "2026-04-19T02:18:51Z",
            "updated_at": "2026-05-05T02:47:36Z",
            "deleted_at": null
        }
    ],
    "has_more": false,
    "next_cursor": null,
    "server_time": "2026-10-31T14:05:12Z",
    "request_id": "..."
}

Create a task

POST /vessels/{uuid}/tasks

Creates a task on a vessel. The vessel UUID in the URL must be a vessel your organization manages. The person named by user_email is recorded as the creator, and as the assignee unless you send assignee_email. The task is created open, unless status is a completed status. A new open task sends the same "new task" notifications as a task created in the app.

tasks:create

Body parameters

NameTypeDescription
user_emailstring requiredEmail of the person creating it. Must be an active member of the key's organization, otherwise 400 invalid_user. Recorded as the creator.
namestring requiredShort task title (≤100 chars)
descriptionstringLonger description (≤8192 chars)
due_datecalendar dateThe day the task is due, YYYY-MM-DD, e.g. 2026-06-01. No time, no zone. A past date is accepted. Omitted = no due date.
priorityflagOne of none, low, medium (default), high, critical.
statusflagThe task's workflow status: the flag of one of the Task Statuses, for example task_scheduled. Omitted or null = no status. A completed status creates a completed task.
assignee_emailstringEmail of the person responsible. Must be someone with access to this vessel in YACHTWAVE: a crew member of the vessel, or a member of your organization. Otherwise 400 invalid_user. Omitted = the person in user_email.

Example request

curl https://developer.yachtwave.com/vessels/8f3a1c5d-.../tasks \
  -H "Authorization: Bearer ywpk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "user_email": "captain@example.com",
    "name": "Replace engine oil filter",
    "description": "Port engine — last changed 2024-09-12",
    "due_date": "2026-06-01",
    "priority": "medium",
    "status": "task_scheduled",
    "assignee_email": "tech@example.com"
  }'

Example response

{
    "task": {
        "uuid": "2c4e6a8b-...",
        "vessel_uuid": "8f3a1c5d-...",
        "name": "Replace engine oil filter",
        "description": "Port engine — last changed 2024-09-12",
        "due_date": "2026-06-01",
        "priority": 2,
        "create_date": "2026-05-12 09:14:00"
    },
    "request_id": "..."
}

The response has HTTP status 201 and is a short confirmation, not the full task: description is the field read endpoints call details, priority is a number (0 none, 1 low, 2 medium, 3 high, 4 critical), and create_date is UTC without the T and Z. Call GET /tasks/{uuid} with the returned uuid for the full record, including its status and assignee.

Update a task

PATCH /tasks/{uuid}

Changes a task. Send only the fields you want to change; everything else keeps its value. The task must be one GET /tasks/{uuid} returns to your key, otherwise 404 task_not_found. Tickets are not changed through this endpoint.

tasks:update

Body parameters

NameTypeDescription
user_emailstring requiredEmail of the person making the change. Must be an active member of the key's organization, otherwise 400 invalid_user.
statusflag or nullThe workflow status: the flag of one of the Task Statuses, for example task_in_progress. null removes the status. Setting a status also sets completion (see below).
assignee_emailstringEmail of the person now responsible. Must be someone with access to the task's vessel in YACHTWAVE: a crew member of the vessel, or a member of your organization. Otherwise 400 invalid_user. Cannot be null.
priorityflagOne of none, low, medium, high, critical.
due_datecalendar date or nullThe day the task is due, YYYY-MM-DD. No time, no zone. A past date is accepted. null removes the due date.
is_completebooleantrue completes the task, false reopens it. Must agree with the task's status (see below).
complete_datetimestampWhen the work was completed, e.g. 2026-11-10T14:30:00Z, or a date alone, 2026-11-10 (stored as noon UTC). Past dates are accepted. Only allowed when the task is complete after this request; on an open task it is refused with 400 invalid_param. Formats: Dates & Times.
namestringTask title, 1–100 characters.
detailsstringDescription, up to 8192 bytes. An empty string empties it.

At least one field besides user_email is required. A field name not in this table is refused with 400 invalid_param.

Status and completion

Every status is either an open status or a completed status, and a task's is_complete always agrees with its status. A task with no status can be open or complete.

You sendResult
status onlyThe status is set and is_complete follows it: a completed status completes the task, an open status reopens it.
is_complete only, task has no statusThe task is completed or reopened. This is the simplest way to complete a task that has no status. See "Default completed status" below: a task completed this way may be given a status.
is_complete only, task has a status that agreesNothing to change; accepted.
is_complete only, task has a status that disagrees (e.g. true while the status is In Progress)Refused: 400 status_conflict. Send a matching status in the same request, or "status": null.
status and is_complete that disagreeRefused: 400 status_conflict.
"status": null onlyThe status is removed; is_complete keeps its value.

Default completed status

An organization can have a default completed status configured in YACHTWAVE. When a request completes an open task and the task would end up with no status (it had none and you sent none, or you sent "status": null), YACHTWAVE sets that default status on it, exactly as the app does. The response shows the status that was applied. If your organization has no default configured, the task stays without a status.

To end with a completed task that has no status, send "status": null in a second request after the task is complete; on a task that is already complete it removes the status and nothing is re-applied.

Completion date

  • When a request completes an open task and sends no complete_date, the completion date is the moment of the request.
  • When it sends complete_date, that value is stored instead. This is how you record work on the day it was actually done.
  • On a task that is already complete, sending complete_date alone corrects its completion date.
  • Reopening a task clears its completion date.

Notifications

An update notifies people exactly as the same change does in the app: assigning the task to someone else sends the "task assigned" notice, and completing, reopening or changing the status sends the "status changed" notice. Changing only the priority, due date, name or details sends nothing. See Writing Data.

Repeating tasks

When a request completes an open task that repeats (recurrence_days greater than 0), YACHTWAVE creates the next occurrence, exactly as the app does: a new open task due recurrence_days days after the completed task's due_date (or after today's date when it has none). Its UUID is returned as recurrence_task_uuid; otherwise that field is null.

Example: set a status

curl -X PATCH https://developer.yachtwave.com/tasks/2f4fb16b-333f-4f2c-8f2a-f1b5f85a509a \
  -H "Authorization: Bearer ywpk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "user_email": "captain@example.com",
    "status": "task_in_progress"
  }'

Example: complete a task on the day the work was done

curl -X PATCH https://developer.yachtwave.com/tasks/2f4fb16b-333f-4f2c-8f2a-f1b5f85a509a \
  -H "Authorization: Bearer ywpk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "user_email": "captain@example.com",
    "status": "task_complete",
    "complete_date": "2026-11-10"
  }'

Example: reassign, raise the priority and move the due date

curl -X PATCH https://developer.yachtwave.com/tasks/2f4fb16b-333f-4f2c-8f2a-f1b5f85a509a \
  -H "Authorization: Bearer ywpk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "user_email": "captain@example.com",
    "assignee_email": "tech@example.com",
    "priority": "high",
    "due_date": "2026-12-01"
  }'

Response

HTTP 200 with the task as it now is, in exactly the task fields of GET /tasks/{uuid}:

{
    "data": {
        "uuid": "2f4fb16b-333f-4f2c-8f2a-f1b5f85a509a",
        "name": "Owner Request",
        "status": { "flag": "task_complete", "name": "Complete" },
        "is_complete": 1,
        "complete_date": "2026-11-10T12:00:00Z",
        "state": "COMPLETED",
        "...": "all other task fields",
        "updated_at": "2026-11-16T15:02:41Z",
        "deleted_at": null
    },
    "recurrence_task_uuid": null,
    "request_id": "..."
}

Errors

StatuserrorWhen
400missing_paramuser_email is absent, or there is no field to change
400invalid_paramA field has the wrong type or format, a field name is unknown, or complete_date was sent for a task that stays open
400invalid_useruser_email is not an active member of the key's organization, or assignee_email is not someone with access to the vessel
400invalid_statusstatus is not the flag of one of the Task Statuses (unknown, or a ticket status)
400status_conflictis_complete disagrees with the task's status
403insufficient_scopeThe key lacks tasks:update
404task_not_foundNo such task, or it is not visible to the key

Task statuses

The flags status accepts when you create or update a task. The list is the same for every organization. Each status is either open or completed, which decides the task's is_complete. A flag is always lower case and never changes; the name is what people see in the app and may be reworded. The table is a copy made on 2026-11-16; GET /reference/task_statuses returns the current list.

status flagName in the appKindTask becomes
task_newNewOpenis_complete 0
task_scheduledScheduledOpenis_complete 0
task_orderedOrderedOpenis_complete 0
task_urgentUrgentOpenis_complete 0
task_in_progressIn ProgressOpenis_complete 0
task_waiting_for_reviewWaiting for ReviewCompletedis_complete 1
task_invoicedInvoicedCompletedis_complete 1
task_ready_to_installReady to InstallOpenis_complete 0
task_not_applicableNot ApplicableCompletedis_complete 1
task_completeCompleteCompletedis_complete 1
task_deliveredDeliveredCompletedis_complete 1
task_on_holdOn HoldOpenis_complete 0
task_tbdTBDOpenis_complete 0
task_cancelledCancelledCompletedis_complete 1
task_declinedDeclinedCompletedis_complete 1
task_ready_to_deliverReady to DeliverOpenis_complete 0
task_attentionAttentionOpenis_complete 0

When you read a task, its status comes back as an object that includes the same flag. Tickets have their own statuses (flags starting ticket_), which these endpoints do not accept.

Priorities

A copy made on 2026-11-16; GET /reference/task_priorities returns the current list ("no priority" is the flag none).

priority flagName in the appRead back as
none(no priority)null
lowLow{ "flag": "low", "name": "Low", "level": 10 }
mediumMedium{ "flag": "medium", "name": "Medium", "level": 20 }
highHigh{ "flag": "high", "name": "High", "level": 30 }
criticalCritical{ "flag": "critical", "name": "Critical", "level": 100 }

Tickets

MethodPathWhat it doesScope
GET/ticketsList, with paging and synctickets:read
GET/tickets/{uuid}Read onetickets:read
GET /tickets
GET /tickets/{uuid}

Service tickets on your organization's vessels. Tickets and tasks are the same kind of record, so a ticket has exactly the task fields, with is_ticket = 1 and its progress in ticket_status. When a ticket is converted into a task it keeps its uuid and also appears under /tasks. Comments and attachments on tickets come from /comments and /attachments with task_uuid = the ticket's uuid.

tickets:read

Example request

curl "https://developer.yachtwave.com/tickets?updated_since=2026-10-30T00:00:00Z" \
  -H "Authorization: Bearer ywpk_live_..."

Comments

MethodPathWhat it doesScope
GET/commentsList, with paging and synccomments:read
POST/commentsAdd a comment to a task or a ticketcomments:create

List comments

GET /comments

The discussion on tasks and tickets. Extra filter: task_uuid (only comments on that task or ticket).

comments:read

Fields

FieldDescription
uuid, task_uuid, vessel_uuidComment, its task or ticket, and the vessel
bodyComment text
is_system1 when YACHTWAVE wrote it automatically (for example a status change note)
author{ "uuid", "name" }
created_at, updated_at, deleted_atTimestamps

Example

curl "https://developer.yachtwave.com/comments?task_uuid=3b0bc88f-..." \
  -H "Authorization: Bearer ywpk_live_..."

{
    "data": [
        {
            "uuid": "5b617c8a-6019-11f1-bb0b-6ed3d35bb376",
            "task_uuid": "3b0bc88f-cbbc-4a81-a1d7-983625519cce",
            "vessel_uuid": "60ba9ce9-08e5-4c39-93e5-a0c42371736d",
            "body": "Ran generator and main engines in the slip. Cleaned AC strainer.",
            "is_system": 0,
            "author": { "uuid": "d1f3a729-...", "name": "Chase Chandler" },
            "created_at": "2026-06-04T13:29:04Z",
            "updated_at": "2026-06-04T13:29:04Z",
            "deleted_at": null
        }
    ],
    "has_more": false,
    "next_cursor": null,
    "server_time": "2026-10-31T14:05:12Z",
    "request_id": "..."
}

Add a comment

POST /comments

Adds a comment to a task or a ticket, for example a status note or a follow-up from a captain or technician. The comment appears in the task's discussion in YACHTWAVE.

comments:create

Body parameters

NameTypeDescription
user_emailstring requiredEmail of the person the comment is from. Must be an active member of the key's organization, otherwise 400 invalid_user. Shown as the comment's author.
task_uuidUUID requiredThe task or ticket to comment on. It must be one your key can read (GET /tasks/{uuid} or GET /tickets/{uuid}), otherwise 404 task_not_found.
bodystring requiredThe comment text, 1–8192 bytes.

A field name not in this table is refused with 400 invalid_param. The comment's time is the moment of the request; it cannot be back-dated.

Notifications

A comment notifies the people on the task exactly as a comment written in the app does. The person in user_email is not notified about their own comment.

Example request

curl https://developer.yachtwave.com/comments \
  -H "Authorization: Bearer ywpk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "user_email": "captain@example.com",
    "task_uuid": "3b0bc88f-cbbc-4a81-a1d7-983625519cce",
    "body": "Vendor confirmed for Tuesday morning. Parts are on board."
  }'

Response

HTTP 201 with the new comment, in exactly the comment fields:

{
    "data": {
        "uuid": "9d2c41aa-...",
        "task_uuid": "3b0bc88f-cbbc-4a81-a1d7-983625519cce",
        "vessel_uuid": "60ba9ce9-08e5-4c39-93e5-a0c42371736d",
        "body": "Vendor confirmed for Tuesday morning. Parts are on board.",
        "is_system": 0,
        "author": { "uuid": "...", "name": "..." },
        "created_at": "2026-11-16T20:02:11Z",
        "updated_at": "2026-11-16T20:02:11Z",
        "deleted_at": null
    },
    "request_id": "..."
}

Adding a comment also moves the task's updated_at, so a sync of /tasks or /tickets will return that task again.

Attachments

Files attached to a task, a ticket, a maintenance log or an expense. A file is either a picture (a photo) or a document (a PDF, a spreadsheet, a receipt …).

MethodPathWhat it doesScope
GET/attachmentsList, with paging and syncattachments:read
POST/attachmentsUpload one fileattachments:create
GET /attachments

Photos and documents on tasks, tickets, maintenance logs and expenses. Extra filters: vessel_uuid, and one of task_uuid (a task or a ticket), maintenance_log_uuid, expense_uuid; two of them together are refused with 400 invalid_param. Files belong to the record they hang on, not to a particular comment; use created_at to line a file up with a task's discussion.

attachments:read

Fields

FieldDescription
uuid, vessel_uuidThe file and the vessel
parent_type, parent_uuidWhat the file hangs on: task (a task or a ticket), maintenance_log or expense, and that record's UUID
task_uuidThe same UUID again when the parent is a task or a ticket, otherwise null
kindpicture or document
typeFor a document: { "flag", "name" }, one of the document_types of Reference Lists, or null when the document has no type. Always null for a picture.
name, descriptionCaption / title and description (often null for photos)
mime_type, sizeContent type and size in bytes
urlDirect download link
width, heightPixel size (pictures only, otherwise null)
uploaded_by{ "uuid", "name" }
created_at, updated_at, deleted_atTimestamps, UTC (Dates & Times)

Example record

{
    "uuid": "06fd828f-c11a-4e93-a301-669366f187b4",
    "kind": "picture",
    "parent_type": "task",
    "parent_uuid": "b6f4e7f1-a61f-4b87-8ed9-bd01610f8dee",
    "task_uuid": "b6f4e7f1-a61f-4b87-8ed9-bd01610f8dee",
    "vessel_uuid": "60ba9ce9-08e5-4c39-93e5-a0c42371736d",
    "type": null,
    "name": null,
    "description": null,
    "mime_type": "image/jpeg",
    "size": 1926543,
    "url": "https://images.yachtwave.com/60ba9ce9-.../06fd828f-....jpe",
    "width": 3024,
    "height": 4032,
    "uploaded_by": { "uuid": "86d6102a-...", "name": "Nick Ramirez" },
    "created_at": "2026-05-12T13:34:30Z",
    "updated_at": "2026-05-12T13:34:30Z",
    "deleted_at": null
}

Upload a file

POST /attachments

Attaches one file to a task, a ticket, a maintenance log or an expense. The file travels inside the JSON body as base64 text; there is no multipart form upload. Send one request per file.

attachments:create

Body parameters

NameTypeDescription
user_emailstring requiredEmail of the person uploading. Must be an active member of the key's organization, otherwise 400 invalid_user. Shown as uploaded_by.
task_uuid
maintenance_log_uuid
expense_uuid
UUID exactly one requiredThe record the file hangs on. task_uuid takes a task or a ticket. The record must be one your key can read, otherwise 404 task_not_found, 404 maintenance_log_not_found or 404 expense_not_found. None of the three is 400 missing_param; more than one is 400 invalid_param.
filestring requiredThe file's bytes as base64: the standard alphabet (A–Z a–z 0–9 + / with = padding), one unbroken string. No data:…;base64, prefix, no line breaks, not the URL-safe alphabet. Anything else is 400 invalid_param.
file_namestring requiredThe original file name with its extension, for example pump-invoice.pdf. At most 255 bytes, no folder path.
namestringThe title shown in YACHTWAVE. Omitted = file_name. At most 50 bytes for a picture, 1024 for a document.
descriptionstringFree text. At most 1024 bytes for a picture, 8192 for a document.
typeflagDocuments only: the flag of one of the document_types (GET /reference/document_types), for example invoice or receipt. Omitted = other. Sending it with a file that is stored as a picture is 400 invalid_param.

A field name not in this table is refused with 400 invalid_param. The file's time is the moment of the request; it cannot be back-dated.

Picture or document

You do not choose; the API looks at the file's content (not its name), as the app does:

  • An image (JPEG, PNG, HEIC, WebP …) on a task, a ticket or a maintenance log is stored as a picture.
  • Every other supported file (PDF, Word, Excel …) is stored as a document.
  • On an expense every file is stored as a document, an image included (a photo of a receipt: send "type": "receipt").

The response's kind tells you which it became.

File types and size

  • The same file types the YACHTWAVE apps accept. Common office, PDF, image and text files are accepted. A file of another type (a program or an archive the apps do not accept, for example) is refused with 415 unsupported_file_type; the message names the type that was detected. The type is read from the file's content, so renaming a file does not change it.
  • Size limit, counted on the file itself and not on its base64 text: 25 MB (26,214,400 bytes) for a picture and 40 MB (41,943,040 bytes) for a document, as on 2026-11-16. A larger file is refused with 413 file_too_large; the message states the limit in force. Base64 text is about one third longer than the file.
  • If the file could not be stored you get 502 storage_error. Nothing was saved; send the request again.

Notifications

Exactly as when the file is added in the app: a file on a task or ticket notifies the people on it that it was updated; a document on a maintenance log or an expense sends the organization's "new document" notification when that is switched on; a picture on a maintenance log sends nothing. The person in user_email is not notified about their own upload.

Example request

curl https://developer.yachtwave.com/attachments \
  -H "Authorization: Bearer ywpk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "user_email": "captain@example.com",
    "maintenance_log_uuid": "666e1746-0250-498a-a179-a0db50fb5190",
    "file_name": "yard-invoice-1187.pdf",
    "name": "Yard invoice 1187",
    "type": "invoice",
    "file": "JVBERi0xLjQKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFI..."
  }'

Response

HTTP 201 with the new file, in exactly the attachment fields:

{
    "data": {
        "uuid": "5c1d0f6e-...",
        "kind": "document",
        "parent_type": "maintenance_log",
        "parent_uuid": "666e1746-0250-498a-a179-a0db50fb5190",
        "task_uuid": null,
        "vessel_uuid": "60ba9ce9-08e5-4c39-93e5-a0c42371736d",
        "type": { "flag": "invoice", "name": "Invoice" },
        "name": "Yard invoice 1187",
        "description": null,
        "mime_type": "application/pdf",
        "size": 48213,
        "url": "https://documents.yachtwave.com/60ba9ce9-.../8a41c2d7-....pdf",
        "width": null,
        "height": null,
        "uploaded_by": { "uuid": "...", "name": "..." },
        "created_at": "2026-11-16T22:10:04Z",
        "updated_at": "2026-11-16T22:10:04Z",
        "deleted_at": null
    },
    "request_id": "..."
}

Files cannot be changed or removed through this API.

Trip logs

MethodPathWhat it doesScope
GET/logs/cruiseList trip logs on all your vessels, with paging and synccruise_logs:read
GET/vessels/{uuid}/logs/cruiseList the trip logs of one vesselcruise_logs:read
GET/logs/cruise/{uuid}Read one trip logcruise_logs:read
GET/logs/cruise/{uuid}/pointsThe route points of one trip log, with their readingscruise_logs:read
POST/vessels/{uuid}/logs/cruiseCreate a cruise log, with optional start and end pointscruise_logs:create

A trip log (a cruise log) is one trip of a boat: a name, the guests, and a route made of points. Each point is a place and a time, and can carry readings such as the weather or the engine hours. A trip log itself is small; its points are read separately, because a trip recorded by a tracking device can hold up to 500 of them. Maintenance work is a different object: see Maintenance Logs. The vessel's log book is Official Logs.

List and read trip logs

GET /logs/cruise
GET /vessels/{uuid}/logs/cruise
GET /logs/cruise/{uuid}

Trip logs on your organization's vessels. Both list routes take the list parameters (updated_since, limit, cursor); /logs/cruise also takes vessel_uuid, and /vessels/{uuid}/logs/cruise is the same list for one vessel. A trip log that is restricted to certain crew roles is never returned.

cruise_logs:read

Fields

FieldDescription
uuid, vessel_uuid, vessel_nameThe trip log and its vessel
nameThe trip's name, or null
guestsArray of guest names; [] when there are none
statusplanned: there is no start point, or its time is in the future. enroute: started, and there is no end point or its time is in the future. complete: the end point's time has passed. It is worked out from the clock each time you read, so a trip moves from planned to enroute to complete by itself, without updated_at changing.
duration_minutesWhole minutes from the start point to the end point, or null when one of them is missing
summaryTotals for the trip, or null when there are none. It holds only the parts that exist: distance { "nm", "mi", "km" } (nautical miles, statute miles, kilometres); average_speed { "knots", "mph", "kph" }, present when the trip has a start and an end; fuel_consumption { "total", "unit", "unit_id", "unit_label" }, present when fuel readings were recorded (the total is in the unit named there).
start, endThe trip's start point and end point, each a full point with its readings, or null when the trip has none
points_countHow many points the route has (start, end and the points between)
create_user{ "uuid", "name" }: who created the trip log, or null
created_at, updated_at, deleted_atTimestamps (UTC). updated_at moves when the trip log changes and when any of its points is added or changed, so a sync by updated_since sees a trip whose route changed.

Example

curl "https://developer.yachtwave.com/logs/cruise/959c1a9e-f91e-4446-86bc-a6bb0e78acc8" \
  -H "Authorization: Bearer ywpk_live_..."

{
    "data": {
        "uuid": "959c1a9e-f91e-4446-86bc-a6bb0e78acc8",
        "vessel_uuid": "2238d86d-928d-4d23-badb-1a5bbffd7403",
        "vessel_name": "M/Y Liberty Belle",
        "name": "Anacortes to Friday Harbor",
        "guests": [],
        "status": "complete",
        "duration_minutes": 185,
        "summary": {
            "distance": { "nm": 61.29, "mi": 70.54, "km": 113.52 }
        },
        "start": {
            "uuid": "9c069a47-93cc-4255-b71e-ef272b3d2d44",
            "cruise_uuid": "959c1a9e-f91e-4446-86bc-a6bb0e78acc8",
            "type": "start",
            "datetime": "2026-05-29T20:54:00Z",
            "lat": 48.4933314,
            "lon": -122.6186112,
            "port_name": "Anacortes",
            "location": "Anacortes, Washington, United States of America",
            "country": "US",
            "notes": null,
            "source": "manual",
            "readings": [ ... ],
            "created_at": "2026-05-29T20:54:41Z",
            "updated_at": "2026-05-29T20:54:41Z",
            "deleted_at": null
        },
        "end": { ... a point of type "end" ... },
        "points_count": 4,
        "create_user": { "uuid": "4c69e78f-...", "name": "Emile Clifford" },
        "created_at": "2026-05-29T20:54:41Z",
        "updated_at": "2026-05-29T23:59:40Z",
        "deleted_at": null
    },
    "request_id": "..."
}

Errors

HTTPErrorWhen
403insufficient_scopeThe key lacks cruise_logs:read
404cruise_log_not_foundNo trip log with that UUID that this key can read
404vessel_not_foundThe vessel in the URL or in vessel_uuid is not one of your organization's

Route points of a trip log

GET /logs/cruise/{uuid}/points

Every point of one trip log. It takes the list parameters (updated_since, limit, cursor). With limit=500 one page holds a whole route.

cruise_logs:read
  • Order. Points come in the order they were last changed (the same order as every list), not in route order. To draw the route, sort the points by datetime.
  • Keeping a copy up to date. When a trip log's updated_at moves, read its points again from the start. A trip recorded by a tracking device is thinned as it grows, and a point removed that way leaves no removal record, so updated_since alone can leave stale points in your copy.

Fields of a point

FieldDescription
uuid, cruise_uuidThe point and its trip log
typestart, midpoint or end
datetimeTimestamp (UTC): when the boat was, or is planned to be, at the point. Can be null.
lat, lonDecimal degrees (north and east positive), or null
port_name, location, notesText, or null
countryTwo-letter country code (ISO 3166-1), or null
sourcemanual (entered by a person or through this API) or device (recorded by a tracking device)
readingsArray of readings taken at the point; [] when there are none. See below.
created_at, updated_at, deleted_atTimestamps (UTC)

Fields of a reading

FieldDescription
uuidThe reading
type{ "flag", "name" }: what was measured, one of the cruise_reading_types in the Reference Lists; null if the type is unknown
valueThe measured value as text (for example "13.86"), or null. Weather and marine conditions have no single value: theirs are in data.
unit{ "system", "id", "label" }: the unit of value, for example { "system": "imperial", "id": "VOLUME", "label": "(gal)" }, or null when the reading has none. Values are returned in the unit they were recorded in; nothing is converted.
dataObject with the details of the reading as recorded, or null. For weather: temp_c, temp_f, humidity, wind_dir, wind_kph, wind_mph, vis_miles, pressure_mb. For marine_conditions: swell_ht_ft, swell_ht_mt, swell_dir, swell_period_secs, sig_ht_mt, water_temp_c, water_temp_f. The unit is in each name. Treat keys you do not know as optional.
conditions, detailsText, or null (for weather, a word such as Clear)
available, reasonWeather and marine conditions only: available is false when no data could be found for the place and time, and reason is then a code such as no_data_for_location or beyond_forecast_horizon (a planned point too far in the future for a forecast). null on other readings.
object{ "type", "uuid" }: the engine, equipment or vessel the reading belongs to (engine hours of one engine, for example), or null
sourcemanual or device
reading_dateTimestamp (UTC): when the value was measured, or null

Example

curl "https://developer.yachtwave.com/logs/cruise/959c1a9e-f91e-4446-86bc-a6bb0e78acc8/points?limit=500" \
  -H "Authorization: Bearer ywpk_live_..."

{
    "data": [
        {
            "uuid": "75a66044-16c3-4adf-b94c-5cdc75ac2849",
            "cruise_uuid": "959c1a9e-f91e-4446-86bc-a6bb0e78acc8",
            "type": "end",
            "datetime": "2026-05-29T23:59:19Z",
            "lat": 48.5342662,
            "lon": -123.0171242,
            "port_name": "Friday Harbor, WA, US",
            "location": "Friday Harbor, Washington, United States",
            "country": "US",
            "notes": null,
            "source": "manual",
            "readings": [
                {
                    "uuid": "d3513e3e-79cb-4b13-8b63-c5d349caf738",
                    "type": { "flag": "weather", "name": "Weather" },
                    "value": null,
                    "unit": null,
                    "data": { "temp_c": 16.9, "temp_f": 62, "humidity": 45, "wind_dir": "W", "wind_kph": 21.7, "wind_mph": 13, "vis_miles": 27.9, "pressure_mb": 1013.4 },
                    "conditions": "Clear",
                    "details": null,
                    "available": true,
                    "reason": null,
                    "object": null,
                    "source": "manual",
                    "reading_date": null
                },
                {
                    "uuid": "bdb15a99-992a-4996-b167-bd256ea90043",
                    "type": { "flag": "battery_voltage", "name": "Battery Voltage" },
                    "value": "13.86",
                    "unit": { "system": "statute", "id": "VOLTS", "label": "Volts" },
                    "data": { "unit": "statute", "unit_id": "VOLTS", "unit_label": "Volts" },
                    "conditions": null,
                    "details": null,
                    "available": null,
                    "reason": null,
                    "object": null,
                    "source": "manual",
                    "reading_date": null
                }
            ],
            "created_at": "2026-05-29T23:59:40Z",
            "updated_at": "2026-05-29T23:59:40Z",
            "deleted_at": null
        }
    ],
    "has_more": false,
    "next_cursor": null,
    "server_time": "2026-11-17T14:20:00Z",
    "request_id": "..."
}

Errors

HTTPErrorWhen
403insufficient_scopeThe key lacks cruise_logs:read
404cruise_log_not_foundNo trip log with that UUID that this key can read

Create a cruise log

POST /vessels/{uuid}/logs/cruise

Records a trip/cruise log entry for the vessel. Optionally include a start and/or end route point in the same request — the natural shape for trip planners creating a planned cruise in one call. The entry's status (planned / enroute / complete) and duration are derived automatically from the point datetimes. The person named by user_email is recorded as the author.

cruise_logs:create

Body parameters

NameTypeDescription
user_emailstring requiredEmail of the person creating it. Must be an active member of the key's organization, otherwise 400 invalid_user. Recorded as the author.
namestring requiredTrip name (≤255 chars)
guestsarray of stringsGuest names aboard for this trip
startobjectOptional starting route point — see point fields below
endobjectOptional ending route point — same fields as start; its datetime must not be earlier than the start's

Point fields (start / end)

NameTypeDescription
datetimestring requiredThe moment of the point in UTC, written YYYY-MM-DD HH:MM:SS (seconds optional; a T separator and a trailing Z are also accepted). It is stored exactly as sent, with no conversion, so convert local time to UTC first. An offset such as -05:00 is refused with 400 invalid_param. Past and future times are accepted.
latnumber requiredLatitude, −90 to 90
lonnumber requiredLongitude, −180 to 180
port_namestringPort / marina name (≤255 chars)
locationstringPlace name, e.g. "Annapolis, MD" (≤255 chars)
countrystringISO 3166-1 alpha-2 country code, e.g. US
notesstringFree-text notes (≤1024 chars)

Example request

curl https://developer.yachtwave.com/vessels/8f3a1c5d-.../logs/cruise \
  -H "Authorization: Bearer ywpk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "user_email": "captain@example.com",
    "name": "Annapolis to Solomons",
    "guests": ["Alice", "Bob"],
    "start": {
        "datetime": "2026-08-20 09:00:00",
        "lat": 38.97145,
        "lon": -76.48205,
        "port_name": "Annapolis Harbor",
        "location": "Annapolis, MD",
        "country": "US"
    },
    "end": {
        "datetime": "2026-08-20 16:30:00",
        "lat": 38.31840,
        "lon": -76.45330,
        "port_name": "Solomons Island",
        "location": "Solomons, MD",
        "country": "US"
    }
  }'

Example response

{
    "log": {
        "uuid": "3d5f7b9c-...",
        "vessel_uuid": "8f3a1c5d-...",
        "name": "Annapolis to Solomons",
        "guests": ["Alice", "Bob"],
        "status": "planned",
        "create_date": "2026-08-15 09:18:00",
        "points": [
            {
                "uuid": "6b8d0e2f-...",
                "type": "start",
                "datetime": "2026-08-20 09:00:00",
                "lat": "38.97145000",
                "lon": "-76.48205000",
                "port_name": "Annapolis Harbor",
                "location": "Annapolis, MD",
                "country": "US",
                "notes": null,
                "create_date": "2026-08-15 09:18:00"
            },
            {
                "uuid": "7c9e1f3a-...",
                "type": "end",
                "datetime": "2026-08-20 16:30:00",
                "lat": "38.31840000",
                "lon": "-76.45330000",
                "port_name": "Solomons Island",
                "location": "Solomons, MD",
                "country": "US",
                "notes": null,
                "create_date": "2026-08-15 09:18:00"
            }
        ]
    },
    "request_id": "..."
}

The response has HTTP status 201. Each datetime comes back exactly as you sent it; both create_date values are UTC, written YYYY-MM-DD HH:MM:SS.

Maintenance logs

MethodPathWhat it doesScope
GET/logs/maintenanceList maintenance logs on all your vessels, with paging and syncmaintenance_logs:read
GET/vessels/{uuid}/logs/maintenanceList the maintenance logs of one vesselmaintenance_logs:read
GET/logs/maintenance/{uuid}Read one maintenance logmaintenance_logs:read
POST/vessels/{uuid}/logs/maintenanceRecord completed maintenance work on a vesselmaintenance_logs:create

A maintenance log is a record of work that was done on a boat: what, when, and on which part. It appears in the boat's maintenance history in YACHTWAVE. A maintenance log holds no costs; it has no amount field. To record what the work cost, create an expense and link it to the log with maintenance_log_uuid.

List and read maintenance logs

GET /logs/maintenance
GET /vessels/{uuid}/logs/maintenance
GET /logs/maintenance/{uuid}

Maintenance logs on your organization's vessels. Both list routes take the list parameters (updated_since, limit, cursor); /logs/maintenance also takes vessel_uuid, and /vessels/{uuid}/logs/maintenance is the same list for that one vessel. Records are ordered by when they last changed, not by date.

maintenance_logs:read

Fields

FieldDescription
uuid, vessel_uuidThe log and its vessel
type{ "flag", "name" }: the kind of work, one of the maintenance_types in the Reference Lists
dateCalendar date (YYYY-MM-DD): the day the work was done. This is not when the log was entered; that is created_at.
detailWhat was done (one line)
notesLonger notes, or null
hoursEngine hours at the time of the work, or null
location{ "flag", "name" } or null: where on the boat, one of the locations in the Reference Lists
engine_uuid, equipment_uuidThe engine or equipment the work was done on, or null
create_user{ "uuid", "name" }: who recorded it
created_at, updated_at, deleted_atTimestamps (UTC)

Example

curl "https://developer.yachtwave.com/vessels/ed50e426-5fb8-459b-80d0-d5a4fcc9d81b/logs/maintenance?limit=100" \
  -H "Authorization: Bearer ywpk_live_..."

{
    "data": [
        {
            "uuid": "26c57120-aa5d-420d-a2d4-9a3354b591f0",
            "vessel_uuid": "ed50e426-5fb8-459b-80d0-d5a4fcc9d81b",
            "type": { "flag": "engine", "name": "Engine" },
            "date": "2026-03-14",
            "detail": "Monthly engine room deep clean",
            "notes": "Deep clean engine room: degrease all surfaces, check for new leaks.",
            "hours": null,
            "location": null,
            "engine_uuid": "2a2d82cc-eb26-4e88-8124-ba05c4c8b3e7",
            "equipment_uuid": null,
            "create_user": { "uuid": "535d766c-...", "name": "John OKeefe" },
            "created_at": "2026-03-14T16:35:44Z",
            "updated_at": "2026-03-14T16:35:44Z",
            "deleted_at": null
        }
    ],
    "has_more": false,
    "next_cursor": null,
    "server_time": "2026-11-16T19:05:12Z",
    "request_id": "..."
}

Create a maintenance log

POST /vessels/{uuid}/logs/maintenance

Records maintenance work on a vessel. The vessel UUID in the URL must be a vessel your organization manages. Use it to log work on the day it was actually done, for example when a vendor's work order arrives: set date to that day, however long ago.

maintenance_logs:create

Body parameters

NameTypeDescription
user_emailstring requiredEmail of the person recording the work. Must be an active member of the key's organization, otherwise 400 invalid_user. Recorded as the author.
typeflag requiredThe kind of work: the flag of one of the maintenance_types from GET /reference, for example engine, electrical_dc, plumbing.
datecalendar date requiredThe day the work was done, YYYY-MM-DD, for example 2026-11-10. No time, no zone. Past dates are accepted, with no limit on how far back. It must be a real day.
detailstring requiredWhat was done, in one line. 1–255 bytes.
notesstringLonger notes, up to 8192 bytes.
locationflagWhere on the boat: the flag of one of the locations from GET /reference, for example engine_room.
engine_uuidUUIDThe engine the work was done on. It must be an engine of this vessel, otherwise 400 invalid_param.
equipment_uuidUUIDThe equipment the work was done on. It must be equipment of this vessel, otherwise 400 invalid_param.
hoursnumberEngine hours at the time of the work, 0 or more. Stored to two decimals.

A field name not in this table is refused with 400 invalid_param. That includes any cost or amount field: a maintenance log has none.

Creating a maintenance log sends no notification; the YACHTWAVE app sends none for a new maintenance log either.

Example request

curl https://developer.yachtwave.com/vessels/ed50e426-5fb8-459b-80d0-d5a4fcc9d81b/logs/maintenance \
  -H "Authorization: Bearer ywpk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "user_email": "captain@example.com",
    "type": "engine",
    "date": "2026-11-10",
    "detail": "Replaced port engine raw water impeller",
    "notes": "Done by Harbor Marine Services, work order 4471.",
    "location": "engine_room",
    "engine_uuid": "2a2d82cc-eb26-4e88-8124-ba05c4c8b3e7",
    "hours": 1250.5
  }'

Response

HTTP 201 with the new log, in exactly the maintenance log fields:

{
    "data": {
        "uuid": "7b1d0f52-...",
        "vessel_uuid": "ed50e426-5fb8-459b-80d0-d5a4fcc9d81b",
        "type": { "flag": "engine", "name": "Engine" },
        "date": "2026-11-10",
        "detail": "Replaced port engine raw water impeller",
        "notes": "Done by Harbor Marine Services, work order 4471.",
        "hours": 1250.5,
        "location": { "flag": "engine_room", "name": "Engine Room" },
        "engine_uuid": "2a2d82cc-eb26-4e88-8124-ba05c4c8b3e7",
        "equipment_uuid": null,
        "create_user": { "uuid": "...", "name": "..." },
        "created_at": "2026-11-16T19:05:12Z",
        "updated_at": "2026-11-16T19:05:12Z",
        "deleted_at": null
    },
    "request_id": "..."
}

Note the two different dates: date is the day you said the work was done (10 November); created_at is when the log was entered (16 November).

Errors

StatuserrorWhen
400missing_paramuser_email, type, date or detail is absent or empty
400invalid_paramA field has the wrong type or format, type or location is not a flag from the reference lists, an engine or equipment is not on this vessel, or a field name is unknown
400invalid_useruser_email is not an active member of the key's organization
403insufficient_scopeThe key lacks maintenance_logs:create
404vessel_not_foundNo such vessel, or your organization does not manage it

Official logs

MethodPathWhat it doesScope
GET/logs/officialList official log entries on all your vessels, with paging and syncofficial_logs:read
GET/vessels/{uuid}/logs/officialList the official log entries of one vesselofficial_logs:read
GET/logs/official/{uuid}Read one entryofficial_logs:read
POST/vessels/{uuid}/logs/officialAdd an entry to a vessel's official logofficial_logs:create

The official log is the vessel's log book: short dated entries such as bridge notes, watch changes, drills, arrivals and departures. In the YACHTWAVE apps it is called the General Log. Each entry has a type, a note, and optionally the position where it was made. It is a record, so it works differently from the other objects:

  • The time of an entry is the time it was made. There is no date field to send. An entry cannot be back-dated; if the event happened earlier, say so in the note.
  • An entry cannot be changed or deleted through this API.

List and read official log entries

GET /logs/official
GET /vessels/{uuid}/logs/official
GET /logs/official/{uuid}

Official log entries on your organization's vessels. Both list routes take the list parameters (updated_since, limit, cursor); /logs/official also takes vessel_uuid, and /vessels/{uuid}/logs/official is the same list for one vessel. An entry that is restricted to certain crew roles is never returned.

official_logs:read

Fields

FieldDescription
uuid, vessel_uuid, vessel_nameThe entry and its vessel
type{ "flag", "name" }: the kind of entry, one of the official_log_types in the Reference Lists
noteThe text of the entry
latitude, longitudeDecimal degrees (north and east positive): where the entry was made. Both are null when no position was recorded, which is normal.
entry_extraNormally null. Reserved for entries that carry more than a note.
create_user{ "uuid", "name" }: who made the entry, or null
created_atTimestamp (UTC): the time of the entry
updated_at, deleted_atTimestamps (UTC)

Example

curl "https://developer.yachtwave.com/vessels/d12b3263-a91e-48ed-8633-0b22a81e6d1c/logs/official?limit=100" \
  -H "Authorization: Bearer ywpk_live_..."

{
    "data": [
        {
            "uuid": "1c20f720-8696-46c6-936a-8d044cf02ba3",
            "vessel_uuid": "d12b3263-a91e-48ed-8633-0b22a81e6d1c",
            "vessel_name": "M/Y Pacific Star",
            "type": { "flag": "bridge_notes", "name": "Bridge Notes" },
            "note": "Underway 0830 for Staniel Cay. Calm conditions. Crew prepping snorkel gear and inflatables for guests.",
            "latitude": 24.56,
            "longitude": -76.73,
            "entry_extra": null,
            "create_user": { "uuid": "535d766c-...", "name": "John OKeefe" },
            "created_at": "2026-04-07T15:29:04Z",
            "updated_at": "2026-04-07T15:29:04Z",
            "deleted_at": null
        }
    ],
    "has_more": false,
    "next_cursor": null,
    "server_time": "2026-11-17T14:20:00Z",
    "request_id": "..."
}

Errors

HTTPErrorWhen
403insufficient_scopeThe key lacks official_logs:read
404official_log_not_foundNo entry with that UUID that this key can read
404vessel_not_foundThe vessel in the URL or in vessel_uuid is not one of your organization's

Add an official log entry

POST /vessels/{uuid}/logs/official

Adds one entry to the vessel's official log. The vessel UUID in the URL must be a vessel your organization manages. The entry is stamped with the time of the request. No notification is sent, the same as when an entry is made in the app.

official_logs:create

Body parameters

FieldTypeDescription
user_emailstring requiredThe person making the entry: an active member of your organization. See Writing data.
typeflag requiredThe kind of entry: the flag of one of the official_log_types (GET /reference/official_log_types), for example bridge_notes, engineering or safety_drills.
notestring requiredThe text of the entry, 1 to 10,000 characters. Line breaks are kept.
latitude, longitudenumberWhere the entry was made, in decimal degrees: latitude -90 to 90, longitude -180 to 180 (north and east positive). Send both or neither. Send numbers, not text.

There is no date or time field, and an unknown field is refused, so sending date returns 400 invalid_param.

Example request

curl -X POST "https://developer.yachtwave.com/vessels/d12b3263-a91e-48ed-8633-0b22a81e6d1c/logs/official" \
  -H "Authorization: Bearer ywpk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "user_email": "captain@example.com",
    "type": "bridge_notes",
    "note": "Underway 0830 for Staniel Cay. Calm conditions.",
    "latitude": 24.56,
    "longitude": -76.73
  }'

Response

HTTP 201 with the new entry under data, in exactly the official log fields. created_at is the time of the entry.

Errors

HTTPErrorWhen
400missing_paramuser_email, type or note is missing or empty
400invalid_paramAn unknown field; a type that is not a flag of the list; a note that is blank or longer than 10,000 characters; a position out of range, sent as text, or sent as one value without the other
400invalid_useruser_email is not an active member of your organization
403insufficient_scopeThe key lacks official_logs:create
404vessel_not_foundThe vessel in the URL is not one of your organization's
405method_not_allowedPOST to /logs/official: entries are added on the vessel route

Expenses

MethodPathWhat it doesScope
GET/expensesList expenses on all your vessels, with paging and syncexpenses:read
GET/vessels/{uuid}/expensesList the expenses of one vesselexpenses:read
GET/expenses/{uuid}Read one expenseexpenses:read
POST/vessels/{uuid}/expensesRecord an expense on a vessel, optionally linked to a task or a maintenance logexpenses:create

An expense is money spent on a boat: a bill, a receipt, a fee. It can stand on its own (it belongs to the vessel) or be linked to the task or maintenance log it paid for.

List and read expenses

GET /expenses
GET /vessels/{uuid}/expenses
GET /expenses/{uuid}

Expenses on your organization's vessels. The list routes take the list parameters; /expenses also takes vessel_uuid. Extra filters on both list routes: task_uuid (only expenses linked to that task) or maintenance_log_uuid (only expenses linked to that maintenance log); send one or the other.

expenses:read

Fields

FieldDescription
uuid, vessel_uuidThe expense and its vessel
parent{ "type", "uuid" }: what the expense belongs to. type is vessel, task, maintenance_log, engine, equipment, inventory or cruise_log; uuid is that record's UUID, or null when it has been deleted or is not visible to your key.
name, detailsShort title and longer text, or null
type{ "flag", "name" }: one of the expense_types in the Reference Lists
status{ "flag", "name", "is_paid", "is_pending", "is_approved", "is_rejected" } or null: one of the expense_statuses
expense_dateCalendar date (YYYY-MM-DD) of the expense, or null. Not when it was entered; that is created_at.
amountsThe money: currency (ISO 4217 code, e.g. USD), currency_symbol, subtotal, tax_amount, gratuity, total_amount. Amounts are numbers in that currency, not cents. Older expenses may lack some of these keys.
payment_type{ "flag", "name" } or null: one of the payment_types
paid_by{ "uuid", "name" } or null: the person who paid
paid_to{ "contact_uuid", "name" } or null: who was paid. contact_uuid is set when the payee is one of the vessel's contacts, otherwise null and name is free text.
create_user{ "uuid", "name" }: who recorded it
created_at, updated_at, deleted_atTimestamps (UTC)

Example record

{
    "uuid": "144e9c4f-8efa-4dc6-9ebd-de102f95806c",
    "vessel_uuid": "d12b3263-a91e-48ed-8633-0b22a81e6d1c",
    "parent": { "type": "vessel", "uuid": "d12b3263-a91e-48ed-8633-0b22a81e6d1c" },
    "name": "Yacht Haven Grande",
    "details": "Transient dockage — 1 week",
    "type": { "flag": "dockage_mooring_fees", "name": "Dockage & Mooring Fees" },
    "status": { "flag": "paid", "name": "Paid", "is_paid": 1, "is_pending": 0, "is_approved": 0, "is_rejected": 0 },
    "expense_date": "2026-03-08",
    "amounts": { "currency": "USD", "currency_symbol": "$", "subtotal": 4800.00, "tax_amount": 0, "gratuity": 0, "total_amount": 4800.00 },
    "payment_type": null,
    "paid_by": { "uuid": "535d766c-...", "name": "John OKeefe" },
    "paid_to": { "contact_uuid": null, "name": "Yacht Haven Grande" },
    "create_user": { "uuid": "535d766c-...", "name": "John OKeefe" },
    "created_at": "2026-04-07T15:29:04Z",
    "updated_at": "2026-04-07T15:29:04Z",
    "deleted_at": null
}

Create an expense

POST /vessels/{uuid}/expenses

Records an expense on a vessel. The vessel UUID in the URL must be a vessel your organization manages. To attach a vendor's bill to the work it paid for, send maintenance_log_uuid (or task_uuid); the expense then appears with that record in YACHTWAVE.

expenses:create

Body parameters

NameTypeDescription
user_emailstring requiredEmail of the person recording the expense. Must be an active member of the key's organization, otherwise 400 invalid_user.
typeflag requiredThe flag of one of the expense_types from GET /reference, for example maintenance_repairs, fuel_oil.
expense_datecalendar date requiredThe day of the expense, YYYY-MM-DD (for a bill, the date on the bill). No time, no zone. Past dates are accepted.
currencystring requiredISO 4217 currency code, three letters, for example USD, EUR.
total_amountnumber requiredThe total paid, in currency, as a JSON number (1284.50, not "1284.50" and not cents). 0 or more. Stored to two decimals.
tax_amount, gratuitynumberThe tax and tip parts of the total. Default 0.
subtotalnumberThe amount before tax and gratuity. Omitted = total_amount minus tax_amount and gratuity. The API does not check that the parts add up to the total.
namestringShort title, up to 255 bytes, for example the vendor and invoice number.
detailsstringLonger text, up to 8192 bytes.
paid_tostringWho was paid (the vendor's name), up to 128 bytes.
paid_by_emailstringEmail of the person who paid. Must be someone with access to this vessel (crew, or a member of your organization), otherwise 400 invalid_user.
payment_typeflagThe flag of one of the payment_types, for example check, credit_card.
statusflagThe flag of one of the expense_statuses, for example paid. Omitted = no status.
maintenance_log_uuidUUIDThe maintenance log this expense paid for. It must be a log on this vessel, otherwise 400 invalid_param.
task_uuidUUIDThe task or ticket this expense belongs to. It must be on this vessel, otherwise 400 invalid_param. Send task_uuid or maintenance_log_uuid, not both; send neither and the expense belongs to the vessel.

A field name not in this table is refused with 400 invalid_param. Creating an expense sends no notification; the YACHTWAVE app sends none for a new expense either. A receipt image cannot be attached through this endpoint.

Example request

curl https://developer.yachtwave.com/vessels/ed50e426-5fb8-459b-80d0-d5a4fcc9d81b/expenses \
  -H "Authorization: Bearer ywpk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "user_email": "captain@example.com",
    "type": "maintenance_repairs",
    "expense_date": "2026-11-10",
    "currency": "USD",
    "total_amount": 1284.50,
    "tax_amount": 84.50,
    "name": "Harbor Marine Services, invoice 4471",
    "paid_to": "Harbor Marine Services",
    "payment_type": "check",
    "status": "paid",
    "maintenance_log_uuid": "666e1746-0250-498a-a179-a0db50fb5190"
  }'

Response

HTTP 201 with the new expense, in exactly the expense fields. For the request above, parent is { "type": "maintenance_log", "uuid": "666e1746-…" } and amounts is { "currency": "USD", "currency_symbol": "$", "subtotal": 1200, "tax_amount": 84.5, "gratuity": 0, "total_amount": 1284.5 }.

Errors

StatuserrorWhen
400missing_paramuser_email, type, expense_date, currency or total_amount is absent or empty
400invalid_paramA field has the wrong type or format (an amount sent as text, a bad date or currency), a flag is not in the reference lists, the task or maintenance log is not on this vessel, both parent fields were sent, or a field name is unknown
400invalid_useruser_email is not an active member of the key's organization, or paid_by_email is not someone with access to the vessel
403insufficient_scopeThe key lacks expenses:create
404vessel_not_foundNo such vessel, or your organization does not manage it

Checklists

MethodPathWhat it doesScope
GET/checklistsList, with paging and syncchecklists:read
GET/checklists/{uuid}Read onechecklists:read

List and read checklists

GET /checklists
GET /checklists/{uuid}

Checklists on your organization's vessels, each with its steps. Templates are not returned. To find stalled checklists, look for is_complete 0 with an old updated_at, or compare complete_count with steps_count. The list takes vessel_uuid and the list parameters.

checklists:read

Fields

FieldDescription
uuid, vessel_uuidThe checklist and its vessel
name, descriptionTitle and description
steps_count, complete_countHow many steps it has and how many are done
is_complete, complete_date1 when the whole checklist is complete, and when (timestamp, UTC), else 0 and null
stepsArray of steps, in the checklist's order. Each step: uuid, name, details, note, result, status (the step's status name, or null), is_complete, is_excluded, is_flagged (1 / 0), complete_date and updated_at (timestamps, UTC, or null), updated_by (the name shown in the app for who last touched the step, for example "John O."; text, not an account)
task_uuidsUUIDs of the tasks this checklist is attached to (may be empty)
create_user{ "uuid", "name" }: who created it
created_at, updated_at, deleted_atTimestamps (UTC)

Example record

{
    "uuid": "17d0d21e-2154-4a7a-81cc-bed057993717",
    "vessel_uuid": "75ade12b-9fde-47dd-878a-7131c5103cc1",
    "name": "Daily Vessel Inspection",
    "description": "Daily inspection for March 10, 2026",
    "steps_count": 12,
    "complete_count": 6,
    "is_complete": 0,
    "complete_date": null,
    "steps": [
        {
            "uuid": "1aeb03df-21b1-4277-bb57-b736515c4f9f",
            "name": "Bilge Check",
            "details": "Inspect all bilge compartments.",
            "note": null,
            "result": null,
            "status": null,
            "is_complete": 1,
            "is_excluded": 0,
            "is_flagged": 0,
            "complete_date": "2026-03-10T15:07:56Z",
            "updated_by": "John O.",
            "updated_at": "2026-03-10T15:07:56Z"
        }
    ],
    "task_uuids": [],
    "create_user": { "uuid": "...", "name": "..." },
    "created_at": "2026-03-10T15:07:56Z",
    "updated_at": "2026-03-10T15:07:56Z",
    "deleted_at": null
}

The example shows one of the checklist's 12 steps. Six are done and it has not moved since March: a stalled checklist.

People

MethodPathWhat it doesScope
GET/usersList the people in your organization and the crew of your vessels, with paging and syncusers:read

List people

GET /users

The members of your organization and the crew of the vessels it manages, with each person's role. Use it to find the email address to send as user_email or assignee_email, and, together with a task's assignee, to see who is responsible for what. The list takes the list parameters and vessel_uuid (only the people who are crew of that vessel). There is no route for a single person. Phone numbers and addresses are not returned.

users:read

Fields

FieldDescription
uuidThe person. The same UUID appears in a task's assignee, a comment's author and every create_user.
name, emailName and email address
is_organization_member1 when the person is a member of your organization (and so can be named in user_email), 0 when they are vessel crew only
organization_role{ "flag", "name" } or null: their role in your organization
vesselsArray of { "vessel_uuid", "role" }: each vessel the person is crew of and their role on it, role being { "flag", "name" } or null. May be empty.
created_at, updated_at, deleted_atTimestamps (UTC). updated_at also moves when the person's membership or crew assignments change.

With updated_since, a person who is no longer in your organization or on any of your vessels comes back as a removal record with reason removed, or deleted when their account was deleted.

Example record

{
    "uuid": "ed9ca06e-8b01-4f01-9568-83f3608ff77b",
    "name": "Taylor Stern",
    "email": "taylor@example.com",
    "is_organization_member": 1,
    "organization_role": { "flag": "...", "name": "..." },
    "vessels": [
        { "vessel_uuid": "d12b3263-a91e-48ed-8633-0b22a81e6d1c", "role": { "flag": "...", "name": "Captain" } }
    ],
    "created_at": "2026-03-10T15:07:55Z",
    "updated_at": "2026-09-14T23:11:30Z",
    "deleted_at": null
}

Engines

MethodPathWhat it doesScope
GET/enginesList, with paging and syncengines:read
GET/engines/{uuid}Read oneengines:read
GET /engines
GET /engines/{uuid}

Engines, generators, transmissions and other propulsion units. A task's engine_uuid points here.

engines:read

Fields

FieldDescription
uuid, vessel_uuidEngine and its vessel
manufacturer, model, yearMake, model and model year
type, fuel_typee.g. Transmission, Diesel
horsepower, hoursRated power and last recorded engine hours
serial, part_noSerial and part number
locationPosition on the vessel, e.g. Port
install_dateYYYY-MM-DD
created_at, updated_at, deleted_atTimestamps

Example record

{
    "uuid": "877860d7-df5b-4a51-be48-c1c1b61bb185",
    "vessel_uuid": "1c14169e-4b7f-424d-aa49-766db5435998",
    "manufacturer": "Yanmar",
    "model": "KMH52V",
    "year": "2023",
    "type": "Transmission",
    "fuel_type": null,
    "horsepower": 0,
    "hours": null,
    "serial": "000573",
    "part_no": null,
    "location": "Port",
    "install_date": "2026-02-02",
    "created_at": "2026-02-02T20:13:07Z",
    "updated_at": "2026-02-02T20:13:07Z",
    "deleted_at": null
}

Equipment

MethodPathWhat it doesScope
GET/equipmentList, with paging and syncequipment:read
GET/equipment/{uuid}Read oneequipment:read
GET /equipment
GET /equipment/{uuid}

Installed systems and equipment (pumps, batteries, electronics, HVAC …). A task's equipment_uuid points here.

equipment:read

Fields

FieldDescription
uuid, vessel_uuidEquipment and its vessel
manufacturer, modelMake and model
type, categorye.g. Fuel System / Mechanical
serialSerial number
location, positionWhere it is on the vessel, e.g. Engine Room / Port Aft
notesFree text
install_dateYYYY-MM-DD
created_at, updated_at, deleted_atTimestamps

Example record

{
    "uuid": "38c32f41-fdea-4456-9cb6-28dad866b9be",
    "vessel_uuid": "60ba9ce9-08e5-4c39-93e5-a0c42371736d",
    "manufacturer": "Parker Hannifin (Racor)",
    "model": "500fg",
    "type": "Fuel System",
    "category": "Mechanical",
    "serial": "15332",
    "location": "Engine Room",
    "position": "Port Aft",
    "notes": null,
    "install_date": null,
    "created_at": "2026-05-07T19:08:53Z",
    "updated_at": "2026-05-07T19:08:53Z",
    "deleted_at": null
}

Inventory

MethodPathWhat it doesScope
GET/inventoryList, with paging and syncinventory:read
GET/inventory/{uuid}Read oneinventory:read
GET /inventory
GET /inventory/{uuid}

Spare parts, tools, safety gear and other items kept aboard. A few item types (for example general food or medical supplies) count as both inventory and provisions and appear in both lists, with is_inventory and is_provision both 1.

inventory:read

Fields

FieldDescription
uuid, vessel_uuidItem and its vessel
name, typeItem name and category, e.g. Filter
is_inventory, is_provisionWhich lists the item belongs to
location, positionWhere it is stored
quantity_required, quantity_on_boardTarget and current quantity
part_no, url, notesPart number, product link, free text
expiration_dateYYYY-MM-DD or null
created_at, updated_at, deleted_atTimestamps

Provisions

MethodPathWhat it doesScope
GET/provisionsList, with paging and syncprovisions:read
GET/provisions/{uuid}Read oneprovisions:read
GET /provisions
GET /provisions/{uuid}

Consumables stocked for guests and crew: food, beverages, bar and cleaning supplies, paper goods and similar. Same fields as Inventory.

provisions:read

Example record

{
    "uuid": "9d2e4f6a-...",
    "vessel_uuid": "60ba9ce9-...",
    "name": "Sparkling water",
    "type": "Beverages",
    "is_inventory": 0,
    "is_provision": 1,
    "location": "Galley",
    "position": null,
    "quantity_required": 24,
    "quantity_on_board": 10,
    "part_no": null,
    "url": null,
    "notes": null,
    "expiration_date": "2027-03-01",
    "created_at": "2026-09-02T15:10:44Z",
    "updated_at": "2026-10-28T11:02:19Z",
    "deleted_at": null
}

Contacts

MethodPathWhat it doesScope
GET/contactsList, with paging and synccontacts:read
GET/contacts/{uuid}Read onecontacts:read
GET /contacts
GET /contacts/{uuid}

People and businesses saved on each vessel: vendors, brokers, marinas, technicians, agents. Private entries are never returned. Any part left blank comes back as null.

contacts:read

Fields

FieldDescription
uuid, vessel_uuidContact and its vessel
typeVendor, Broker, Marina, Technician, Agent or Other
name, title, companyWho they are
phone, emailHow to reach them
detailsFree text
created_at, updated_at, deleted_atTimestamps

Example record

{
    "uuid": "f54cdaf1-b045-4cc4-9e2b-143743e73019",
    "vessel_uuid": "1c14169e-4b7f-424d-aa49-766db5435998",
    "type": "Technician",
    "name": "Benjamin",
    "title": "Manager",
    "company": "Marinemax",
    "phone": "+1 (337) 591-8772",
    "email": null,
    "details": null,
    "created_at": "2026-02-02T23:04:00Z",
    "updated_at": "2026-02-02T23:04:00Z",
    "deleted_at": null
}