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.
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...
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.
| Object | Read | Write |
|---|---|---|
| Vessels | vessels:read | — |
| Vessel Location | vessel_locations:read | — |
| Tasks | tasks:read | tasks:create (create a task)tasks:update (change a task) |
| Tickets | tickets:read | — |
| Comments | comments:read | comments:create (add a comment) |
| Attachments | attachments:read | attachments:create (upload a file) |
| Trip Logs | cruise_logs:read | cruise_logs:create (create a cruise log) |
| Maintenance Logs | maintenance_logs:read | maintenance_logs:create (create a maintenance log) |
| Official Logs | official_logs:read | official_logs:create (add an entry) |
| Expenses | expenses:read | expenses:create (create an expense) |
| Checklists | checklists:read | — |
| People | users:read | — |
| Reference Lists | any valid key, no scope | — |
| Engines | engines:read | — |
| Equipment | equipment:read | — |
| Inventory | inventory:read | — |
| Provisions | provisions:read | — |
| Contacts | contacts: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"
}
| Status | Meaning |
|---|---|
400 | The 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. |
401 | Missing 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 |
403 | Key lacks the required scope (insufficient_scope; the message names the scope that is missing) |
405 | Wrong HTTP method (method_not_allowed, with an Allow header). Each object's endpoint table lists the methods it accepts. |
404 | Resource 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, 415 | Upload a File only: the file is too large (file_too_large) or of a type that is not accepted (unsupported_file_type) |
429 | Rate limit exceeded (rate_limited): wait the number of seconds in the Retry-After header, then send the request again. See Rate Limits. |
500 | Server error (server_error) — try again later, and quote the request_id if it persists |
502 | Upload 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
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.)
| Version | Date | What it contains |
|---|---|---|
1.1.105 | 2026-11-17 | First 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.
| Kind | Looks like | Time zone | Meaning |
|---|---|---|---|
| Timestamp | 2026-11-10T14:30:00Z | Always UTC. The trailing Z means UTC. | An exact moment. Convert it to local time yourself when you show it to a person. |
| Calendar date | 2026-11-10 | None. | 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
| Field | Where | Kind | Notes |
|---|---|---|---|
created_at, updated_at, deleted_at | Every record you read | Timestamp, UTC | Set by YACHTWAVE; you cannot send them. deleted_at is null on a live record. |
server_time | Every list response | Timestamp, UTC | The server clock when the page was produced. |
complete_date | Tasks, Tickets | Timestamp, UTC | When 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_at | Checklists | Timestamp, UTC | When the checklist, or one step, was completed or last touched; null when not. |
due_date | Tasks, Tickets | Calendar date | The day the task is due, or null. |
date | Maintenance Logs | Calendar date | The day the work was done. You send it when you create a log; past dates are accepted. |
expense_date | Expenses | Calendar date | The day of the expense (for a bill, the bill's date). You send it when you create an expense; past dates are accepted. |
install_date | Engines, Equipment | Calendar date | Or null. |
expiration_date | Inventory, Provisions | Calendar date | Or null. |
updated_since | Query parameter on every list | Timestamp | See "Sending a timestamp" below. |
recorded_at, course_recorded_at, speed_recorded_at | Vessel Location | Timestamp, UTC | When 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 points | UTC, written YYYY-MM-DD HH:MM:SS | Stored 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 log | Timestamp, UTC | When 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_date | A reading on a trip log point | Timestamp, UTC | When the value was measured, or null (then it was taken at the point's datetime). |
created_at of an official log entry | Official Logs | Timestamp, UTC | The 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_date | The response of Create a Task and Create a Cruise Log | UTC, written YYYY-MM-DD HH:MM:SS | The 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 send | Stored / used as | Rule |
|---|---|---|
2026-11-10T14:30:00Z | 2026-11-10 14:30:00 UTC | Z = already UTC. Recommended. |
2026-11-10T09:30:00-05:00 | 2026-11-10 14:30:00 UTC | An offset is converted to UTC. |
2026-11-10T14:30:00 | 2026-11-10 14:30:00 UTC | No zone = taken as UTC, not as your local time. |
2026-11-10 as complete_date | 2026-11-10 12:00:00 UTC | A 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_since | 2026-11-10 00:00:00 UTC | A 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
dateand a task'scomplete_datein the past record work on the day it was actually done; adue_datein the past creates an overdue task. - A future
complete_dateis not refused. Do not send one. - A task's
state(TODO,SOONDUE,OVERDUE,COMPLETED) comparesdue_datewith today's date in UTC, so near midnight it can differ from what a person in another time zone sees in the app. updated_atis when the record last changed in YACHTWAVE, not when the work happened. Setting a pastcomplete_datestill setsupdated_atto 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
| Name | Type | Description |
|---|---|---|
vessel_uuid | UUID | Only records on this vessel. Unknown or not-visible vessels return 404. Not on /vessels. |
updated_since | Timestamp | Only 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. |
limit | integer | Page size, 1–500. Default 100. |
cursor | string | The 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_sinceand store every record byuuid. - Every few minutes: call each list with
updated_since= the newestupdated_atyou have stored for that list; page untilhas_moreisfalse; upsert live records and delete records withdeleted_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.
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 with400 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 astask_in_progressorhigh. 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_emailmay also be a crew member of the vessel. - Create with
POST, change withPATCH. APATCHchanges only the fields you send; every other field keeps its value. Where a field can be emptied, sendnull; 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_emailis 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
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /reference | All fixed value lists, each value with its flag | none (any valid key) |
| GET | /reference/{list} | One list, for example /reference/task_statuses | none (any valid key) |
Read the reference lists
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
| Key | Each value has | Used by |
|---|---|---|
task_statuses | flag, name, is_complete (1 = a completed status) | A task's status (create, update) |
ticket_statuses | same as task_statuses | A ticket's status when you read tickets |
task_priorities | flag, name, level, priority | A task's priority. "No priority" is the flag none, which is not in the list. |
maintenance_types | flag, name, and uses_location, uses_engine, uses_equipment (1 / 0: which optional fields the app shows for this type) | A maintenance log's type |
locations | flag, name | A maintenance log's location (places on a boat: engine_room, bilge …) |
engine_locations | flag, name | Where an engine sits (stbd, port, center …). Not a maintenance log location. |
expense_types, expense_statuses, payment_types | flag, name (expense statuses also is_paid, is_pending, is_approved, is_rejected) | Expenses: type, status, payment_type |
official_log_types | flag, name, description | The type of an official log entry (bridge_notes, engineering, safety_drills ...) |
cruise_reading_types | flag, 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_types | flag, name | A 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
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /vessels | List, with paging and sync | vessels:read |
| GET | /vessels/{uuid} | Read one | vessels:read |
The vessels your organization manages. With updated_since, vessels that left your organization or were deleted come back as removal records.
Fields
| Field | Description |
|---|---|
uuid | Vessel identifier |
name, initials, model, year, hin, port | Vessel details |
created_at, updated_at, deleted_at | Timestamps (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
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /vessels/{uuid}/location | The current location of one vessel | vessel_locations:read |
| GET | /vessels/locations | The current location of every vessel that has one | vessel_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, nolimitand nocursor: each call returns the current state. - Not to be confused with
locationsin the Reference Lists, which are places on board a boat (bilge, engine room ...).
Read the current location
/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.
Fields
| Field | Description |
|---|---|
vessel_uuid, vessel_name | The vessel |
latitude, longitude | Decimal degrees, up to six decimals. North and east are positive, south and west negative. |
recorded_at | Timestamp (UTC): when the device measured this position |
hdop | Horizontal 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 |
course | Course 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_at | Timestamp (UTC) of the course reading, or null. It can differ from recorded_at by some seconds. |
speed | Speed 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_at | Timestamp (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
| HTTP | Error | When |
|---|---|---|
404 | no_tracking_device | One-vessel route: the vessel has no YachtLINK, so it has no current location |
404 | location_not_available | One-vessel route: the vessel has a YachtLINK, but it has not reported a position yet |
404 | vessel_not_found | The vessel in the URL is not one of your organization's |
400 | invalid_vessel_uuid | The UUID in the URL is malformed |
403 | insufficient_scope | The 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
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /tasks | List tasks, with paging and sync | tasks:read |
| GET | /tasks/{uuid} | Read one task | tasks:read |
| POST | /vessels/{uuid}/tasks | Create a task on a vessel | tasks:create |
| PATCH | /tasks/{uuid} | Change a task: status, assignee, priority, due date, completion | tasks:update |
List and read tasks
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.
Fields
| Field | Description |
|---|---|
uuid, vessel_uuid | Task and its vessel |
type | task or ticket (a converted ticket reports task) |
is_task, is_ticket | 1 / 0 flags |
name, details | Title 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 |
state | TODO, SOONDUE, OVERDUE or COMPLETED, worked out against today's UTC date |
is_complete | 1 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_date | Timestamp (UTC) of completion, or null while the task is open |
due_date | Calendar date (YYYY-MM-DD) the task is due, or null |
due_hours, recurrence_days | Engine-hours due point, and repeat interval in days (0 = does not repeat) |
engine_uuid, equipment_uuid | The engine or equipment the task is about, or null |
assignee | { "uuid", "name", "email" }: the person responsible |
assignee_alternate | Free-text assignee (someone without an account), or null |
extra_assignees | Array of { "uuid", "name", "email" }: additional assignees |
create_user | { "uuid", "name" }: who created it |
created_at, updated_at, deleted_at | Timestamps (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
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.
Body parameters
| Name | Type | Description |
|---|---|---|
user_email | string required | Email of the person creating it. Must be an active member of the key's organization, otherwise 400 invalid_user. Recorded as the creator. |
name | string required | Short task title (≤100 chars) |
description | string | Longer description (≤8192 chars) |
due_date | calendar date | The 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. |
priority | flag | One of none, low, medium (default), high, critical. |
status | flag | The 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_email | string | Email 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
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.
Body parameters
| Name | Type | Description |
|---|---|---|
user_email | string required | Email of the person making the change. Must be an active member of the key's organization, otherwise 400 invalid_user. |
status | flag or null | The 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_email | string | Email 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. |
priority | flag | One of none, low, medium, high, critical. |
due_date | calendar date or null | The day the task is due, YYYY-MM-DD. No time, no zone. A past date is accepted. null removes the due date. |
is_complete | boolean | true completes the task, false reopens it. Must agree with the task's status (see below). |
complete_date | timestamp | When 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. |
name | string | Task title, 1–100 characters. |
details | string | Description, 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 send | Result |
|---|---|
status only | The 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 status | The 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 agrees | Nothing 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 disagree | Refused: 400 status_conflict. |
"status": null only | The 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_datealone 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
| Status | error | When |
|---|---|---|
400 | missing_param | user_email is absent, or there is no field to change |
400 | invalid_param | A field has the wrong type or format, a field name is unknown, or complete_date was sent for a task that stays open |
400 | 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 |
400 | invalid_status | status is not the flag of one of the Task Statuses (unknown, or a ticket status) |
400 | status_conflict | is_complete disagrees with the task's status |
403 | insufficient_scope | The key lacks tasks:update |
404 | task_not_found | No 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 flag | Name in the app | Kind | Task becomes |
|---|---|---|---|
task_new | New | Open | is_complete 0 |
task_scheduled | Scheduled | Open | is_complete 0 |
task_ordered | Ordered | Open | is_complete 0 |
task_urgent | Urgent | Open | is_complete 0 |
task_in_progress | In Progress | Open | is_complete 0 |
task_waiting_for_review | Waiting for Review | Completed | is_complete 1 |
task_invoiced | Invoiced | Completed | is_complete 1 |
task_ready_to_install | Ready to Install | Open | is_complete 0 |
task_not_applicable | Not Applicable | Completed | is_complete 1 |
task_complete | Complete | Completed | is_complete 1 |
task_delivered | Delivered | Completed | is_complete 1 |
task_on_hold | On Hold | Open | is_complete 0 |
task_tbd | TBD | Open | is_complete 0 |
task_cancelled | Cancelled | Completed | is_complete 1 |
task_declined | Declined | Completed | is_complete 1 |
task_ready_to_deliver | Ready to Deliver | Open | is_complete 0 |
task_attention | Attention | Open | is_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 flag | Name in the app | Read back as |
|---|---|---|
none | (no priority) | null |
low | Low | { "flag": "low", "name": "Low", "level": 10 } |
medium | Medium | { "flag": "medium", "name": "Medium", "level": 20 } |
high | High | { "flag": "high", "name": "High", "level": 30 } |
critical | Critical | { "flag": "critical", "name": "Critical", "level": 100 } |
Tickets
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /tickets | List, with paging and sync | tickets:read |
| GET | /tickets/{uuid} | Read one | tickets:read |
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.
Example request
curl "https://developer.yachtwave.com/tickets?updated_since=2026-10-30T00:00:00Z" \
-H "Authorization: Bearer ywpk_live_..."
Comments
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /comments | List, with paging and sync | comments:read |
| POST | /comments | Add a comment to a task or a ticket | comments:create |
List comments
The discussion on tasks and tickets. Extra filter: task_uuid (only comments on that task or ticket).
Fields
| Field | Description |
|---|---|
uuid, task_uuid, vessel_uuid | Comment, its task or ticket, and the vessel |
body | Comment text |
is_system | 1 when YACHTWAVE wrote it automatically (for example a status change note) |
author | { "uuid", "name" } |
created_at, updated_at, deleted_at | Timestamps |
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
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:createBody parameters
| Name | Type | Description |
|---|---|---|
user_email | string required | Email 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_uuid | UUID required | The 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. |
body | string required | The 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 …).
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /attachments | List, with paging and sync | attachments:read |
| POST | /attachments | Upload one file | attachments:create |
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.
Fields
| Field | Description |
|---|---|
uuid, vessel_uuid | The file and the vessel |
parent_type, parent_uuid | What the file hangs on: task (a task or a ticket), maintenance_log or expense, and that record's UUID |
task_uuid | The same UUID again when the parent is a task or a ticket, otherwise null |
kind | picture or document |
type | For 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, description | Caption / title and description (often null for photos) |
mime_type, size | Content type and size in bytes |
url | Direct download link |
width, height | Pixel size (pictures only, otherwise null) |
uploaded_by | { "uuid", "name" } |
created_at, updated_at, deleted_at | Timestamps, 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
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:createBody parameters
| Name | Type | Description |
|---|---|---|
user_email | string required | Email of the person uploading. Must be an active member of the key's organization, otherwise 400 invalid_user. Shown as uploaded_by. |
task_uuidmaintenance_log_uuidexpense_uuid | UUID exactly one required | The 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. |
file | string required | The 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_name | string required | The original file name with its extension, for example pump-invoice.pdf. At most 255 bytes, no folder path. |
name | string | The title shown in YACHTWAVE. Omitted = file_name. At most 50 bytes for a picture, 1024 for a document. |
description | string | Free text. At most 1024 bytes for a picture, 8192 for a document. |
type | flag | Documents 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
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /logs/cruise | List trip logs on all your vessels, with paging and sync | cruise_logs:read |
| GET | /vessels/{uuid}/logs/cruise | List the trip logs of one vessel | cruise_logs:read |
| GET | /logs/cruise/{uuid} | Read one trip log | cruise_logs:read |
| GET | /logs/cruise/{uuid}/points | The route points of one trip log, with their readings | cruise_logs:read |
| POST | /vessels/{uuid}/logs/cruise | Create a cruise log, with optional start and end points | cruise_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
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.
Fields
| Field | Description |
|---|---|
uuid, vessel_uuid, vessel_name | The trip log and its vessel |
name | The trip's name, or null |
guests | Array of guest names; [] when there are none |
status | planned: 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_minutes | Whole minutes from the start point to the end point, or null when one of them is missing |
summary | Totals 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, end | The trip's start point and end point, each a full point with its readings, or null when the trip has none |
points_count | How 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_at | Timestamps (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
| HTTP | Error | When |
|---|---|---|
403 | insufficient_scope | The key lacks cruise_logs:read |
404 | cruise_log_not_found | No trip log with that UUID that this key can read |
404 | vessel_not_found | The vessel in the URL or in vessel_uuid is not one of your organization's |
Route points of a trip log
Every point of one trip log. It takes the list parameters (updated_since, limit, cursor). With limit=500 one page holds a whole route.
- 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_atmoves, 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, soupdated_sincealone can leave stale points in your copy.
Fields of a point
| Field | Description |
|---|---|
uuid, cruise_uuid | The point and its trip log |
type | start, midpoint or end |
datetime | Timestamp (UTC): when the boat was, or is planned to be, at the point. Can be null. |
lat, lon | Decimal degrees (north and east positive), or null |
port_name, location, notes | Text, or null |
country | Two-letter country code (ISO 3166-1), or null |
source | manual (entered by a person or through this API) or device (recorded by a tracking device) |
readings | Array of readings taken at the point; [] when there are none. See below. |
created_at, updated_at, deleted_at | Timestamps (UTC) |
Fields of a reading
| Field | Description |
|---|---|
uuid | The reading |
type | { "flag", "name" }: what was measured, one of the cruise_reading_types in the Reference Lists; null if the type is unknown |
value | The 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. |
data | Object 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, details | Text, or null (for weather, a word such as Clear) |
available, reason | Weather 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 |
source | manual or device |
reading_date | Timestamp (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
| HTTP | Error | When |
|---|---|---|
403 | insufficient_scope | The key lacks cruise_logs:read |
404 | cruise_log_not_found | No trip log with that UUID that this key can read |
Create a cruise log
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.
Body parameters
| Name | Type | Description |
|---|---|---|
user_email | string required | Email of the person creating it. Must be an active member of the key's organization, otherwise 400 invalid_user. Recorded as the author. |
name | string required | Trip name (≤255 chars) |
guests | array of strings | Guest names aboard for this trip |
start | object | Optional starting route point — see point fields below |
end | object | Optional ending route point — same fields as start; its datetime must not be earlier than the start's |
Point fields (start / end)
| Name | Type | Description |
|---|---|---|
datetime | string required | The 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. |
lat | number required | Latitude, −90 to 90 |
lon | number required | Longitude, −180 to 180 |
port_name | string | Port / marina name (≤255 chars) |
location | string | Place name, e.g. "Annapolis, MD" (≤255 chars) |
country | string | ISO 3166-1 alpha-2 country code, e.g. US |
notes | string | Free-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
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /logs/maintenance | List maintenance logs on all your vessels, with paging and sync | maintenance_logs:read |
| GET | /vessels/{uuid}/logs/maintenance | List the maintenance logs of one vessel | maintenance_logs:read |
| GET | /logs/maintenance/{uuid} | Read one maintenance log | maintenance_logs:read |
| POST | /vessels/{uuid}/logs/maintenance | Record completed maintenance work on a vessel | maintenance_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
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.
Fields
| Field | Description |
|---|---|
uuid, vessel_uuid | The log and its vessel |
type | { "flag", "name" }: the kind of work, one of the maintenance_types in the Reference Lists |
date | Calendar date (YYYY-MM-DD): the day the work was done. This is not when the log was entered; that is created_at. |
detail | What was done (one line) |
notes | Longer notes, or null |
hours | Engine 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_uuid | The engine or equipment the work was done on, or null |
create_user | { "uuid", "name" }: who recorded it |
created_at, updated_at, deleted_at | Timestamps (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
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.
Body parameters
| Name | Type | Description |
|---|---|---|
user_email | string required | Email of the person recording the work. Must be an active member of the key's organization, otherwise 400 invalid_user. Recorded as the author. |
type | flag required | The kind of work: the flag of one of the maintenance_types from GET /reference, for example engine, electrical_dc, plumbing. |
date | calendar date required | The 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. |
detail | string required | What was done, in one line. 1–255 bytes. |
notes | string | Longer notes, up to 8192 bytes. |
location | flag | Where on the boat: the flag of one of the locations from GET /reference, for example engine_room. |
engine_uuid | UUID | The engine the work was done on. It must be an engine of this vessel, otherwise 400 invalid_param. |
equipment_uuid | UUID | The equipment the work was done on. It must be equipment of this vessel, otherwise 400 invalid_param. |
hours | number | Engine 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
| Status | error | When |
|---|---|---|
400 | missing_param | user_email, type, date or detail is absent or empty |
400 | invalid_param | A 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 |
400 | invalid_user | user_email is not an active member of the key's organization |
403 | insufficient_scope | The key lacks maintenance_logs:create |
404 | vessel_not_found | No such vessel, or your organization does not manage it |
Official logs
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /logs/official | List official log entries on all your vessels, with paging and sync | official_logs:read |
| GET | /vessels/{uuid}/logs/official | List the official log entries of one vessel | official_logs:read |
| GET | /logs/official/{uuid} | Read one entry | official_logs:read |
| POST | /vessels/{uuid}/logs/official | Add an entry to a vessel's official log | official_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
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.
Fields
| Field | Description |
|---|---|
uuid, vessel_uuid, vessel_name | The entry and its vessel |
type | { "flag", "name" }: the kind of entry, one of the official_log_types in the Reference Lists |
note | The text of the entry |
latitude, longitude | Decimal degrees (north and east positive): where the entry was made. Both are null when no position was recorded, which is normal. |
entry_extra | Normally null. Reserved for entries that carry more than a note. |
create_user | { "uuid", "name" }: who made the entry, or null |
created_at | Timestamp (UTC): the time of the entry |
updated_at, deleted_at | Timestamps (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
| HTTP | Error | When |
|---|---|---|
403 | insufficient_scope | The key lacks official_logs:read |
404 | official_log_not_found | No entry with that UUID that this key can read |
404 | vessel_not_found | The vessel in the URL or in vessel_uuid is not one of your organization's |
Add an official log entry
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:createBody parameters
| Field | Type | Description |
|---|---|---|
user_email | string required | The person making the entry: an active member of your organization. See Writing data. |
type | flag required | The 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. |
note | string required | The text of the entry, 1 to 10,000 characters. Line breaks are kept. |
latitude, longitude | number | Where 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
| HTTP | Error | When |
|---|---|---|
400 | missing_param | user_email, type or note is missing or empty |
400 | invalid_param | An 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 |
400 | invalid_user | user_email is not an active member of your organization |
403 | insufficient_scope | The key lacks official_logs:create |
404 | vessel_not_found | The vessel in the URL is not one of your organization's |
405 | method_not_allowed | POST to /logs/official: entries are added on the vessel route |
Expenses
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /expenses | List expenses on all your vessels, with paging and sync | expenses:read |
| GET | /vessels/{uuid}/expenses | List the expenses of one vessel | expenses:read |
| GET | /expenses/{uuid} | Read one expense | expenses:read |
| POST | /vessels/{uuid}/expenses | Record an expense on a vessel, optionally linked to a task or a maintenance log | expenses: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
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.
Fields
| Field | Description |
|---|---|
uuid, vessel_uuid | The 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, details | Short 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_date | Calendar date (YYYY-MM-DD) of the expense, or null. Not when it was entered; that is created_at. |
amounts | The 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_at | Timestamps (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
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.
Body parameters
| Name | Type | Description |
|---|---|---|
user_email | string required | Email of the person recording the expense. Must be an active member of the key's organization, otherwise 400 invalid_user. |
type | flag required | The flag of one of the expense_types from GET /reference, for example maintenance_repairs, fuel_oil. |
expense_date | calendar date required | The day of the expense, YYYY-MM-DD (for a bill, the date on the bill). No time, no zone. Past dates are accepted. |
currency | string required | ISO 4217 currency code, three letters, for example USD, EUR. |
total_amount | number required | The 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, gratuity | number | The tax and tip parts of the total. Default 0. |
subtotal | number | The 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. |
name | string | Short title, up to 255 bytes, for example the vendor and invoice number. |
details | string | Longer text, up to 8192 bytes. |
paid_to | string | Who was paid (the vendor's name), up to 128 bytes. |
paid_by_email | string | Email 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_type | flag | The flag of one of the payment_types, for example check, credit_card. |
status | flag | The flag of one of the expense_statuses, for example paid. Omitted = no status. |
maintenance_log_uuid | UUID | The maintenance log this expense paid for. It must be a log on this vessel, otherwise 400 invalid_param. |
task_uuid | UUID | The 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
| Status | error | When |
|---|---|---|
400 | missing_param | user_email, type, expense_date, currency or total_amount is absent or empty |
400 | invalid_param | A 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 |
400 | invalid_user | user_email is not an active member of the key's organization, or paid_by_email is not someone with access to the vessel |
403 | insufficient_scope | The key lacks expenses:create |
404 | vessel_not_found | No such vessel, or your organization does not manage it |
Checklists
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /checklists | List, with paging and sync | checklists:read |
| GET | /checklists/{uuid} | Read one | checklists:read |
List and read checklists
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.
Fields
| Field | Description |
|---|---|
uuid, vessel_uuid | The checklist and its vessel |
name, description | Title and description |
steps_count, complete_count | How many steps it has and how many are done |
is_complete, complete_date | 1 when the whole checklist is complete, and when (timestamp, UTC), else 0 and null |
steps | Array 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_uuids | UUIDs of the tasks this checklist is attached to (may be empty) |
create_user | { "uuid", "name" }: who created it |
created_at, updated_at, deleted_at | Timestamps (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
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /users | List the people in your organization and the crew of your vessels, with paging and sync | users:read |
List people
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.
Fields
| Field | Description |
|---|---|
uuid | The person. The same UUID appears in a task's assignee, a comment's author and every create_user. |
name, email | Name and email address |
is_organization_member | 1 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 |
vessels | Array 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_at | Timestamps (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
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /engines | List, with paging and sync | engines:read |
| GET | /engines/{uuid} | Read one | engines:read |
Engines, generators, transmissions and other propulsion units. A task's engine_uuid points here.
Fields
| Field | Description |
|---|---|
uuid, vessel_uuid | Engine and its vessel |
manufacturer, model, year | Make, model and model year |
type, fuel_type | e.g. Transmission, Diesel |
horsepower, hours | Rated power and last recorded engine hours |
serial, part_no | Serial and part number |
location | Position on the vessel, e.g. Port |
install_date | YYYY-MM-DD |
created_at, updated_at, deleted_at | Timestamps |
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
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /equipment | List, with paging and sync | equipment:read |
| GET | /equipment/{uuid} | Read one | equipment:read |
Installed systems and equipment (pumps, batteries, electronics, HVAC …). A task's equipment_uuid points here.
Fields
| Field | Description |
|---|---|
uuid, vessel_uuid | Equipment and its vessel |
manufacturer, model | Make and model |
type, category | e.g. Fuel System / Mechanical |
serial | Serial number |
location, position | Where it is on the vessel, e.g. Engine Room / Port Aft |
notes | Free text |
install_date | YYYY-MM-DD |
created_at, updated_at, deleted_at | Timestamps |
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
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /inventory | List, with paging and sync | inventory:read |
| GET | /inventory/{uuid} | Read one | inventory:read |
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.
Fields
| Field | Description |
|---|---|
uuid, vessel_uuid | Item and its vessel |
name, type | Item name and category, e.g. Filter |
is_inventory, is_provision | Which lists the item belongs to |
location, position | Where it is stored |
quantity_required, quantity_on_board | Target and current quantity |
part_no, url, notes | Part number, product link, free text |
expiration_date | YYYY-MM-DD or null |
created_at, updated_at, deleted_at | Timestamps |
Provisions
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /provisions | List, with paging and sync | provisions:read |
| GET | /provisions/{uuid} | Read one | provisions:read |
Consumables stocked for guests and crew: food, beverages, bar and cleaning supplies, paper goods and similar. Same fields as Inventory.
provisions:readExample 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
| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | /contacts | List, with paging and sync | contacts:read |
| GET | /contacts/{uuid} | Read one | contacts:read |
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.
Fields
| Field | Description |
|---|---|
uuid, vessel_uuid | Contact and its vessel |
type | Vendor, Broker, Marina, Technician, Agent or Other |
name, title, company | Who they are |
phone, email | How to reach them |
details | Free text |
created_at, updated_at, deleted_at | Timestamps |
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
}