A REST API with scoped tokens, signed webhooks and ready-made files for Xero and QuickBooks. ERP, accounting, engine monitoring, port and agency systems can read from IRIS and send data to it.
Purchase orders with lines and totals, tug invoices, suppliers and customers — by API or as Xero / QuickBooks files.
Send running hours automatically and raise defects from alarms, so hour-based jobs fall due on time.
Request tug jobs from a port or agency system and receive the times and invoices back.
Work orders, defects, certificates, noon reports and CO₂ / CII into Power BI, Excel or your data warehouse.
Authorization: Bearer iris_…. The API answers JSON.https://app.irisfleetpms.com/api/v1. The full description is an OpenAPI 3 file at https://app.irisfleetpms.com/api/v1/openapi.json — import it in Postman, Insomnia or your code generator.curl -H "Authorization: Bearer iris_…" https://app.irisfleetpms.com/api/v1/me
curl -H "Authorization: Bearer iris_…" "https://app.irisfleetpms.com/api/v1/work-orders?overdue=1&vessel_id=1"
curl -X POST -H "Authorization: Bearer iris_…" -H "Content-Type: application/json" \
-d '{"meter": 12450.5, "reading_at": "2026-11-27T08:00:00Z"}' https://app.irisfleetpms.com/api/v1/counters/5/readings
| Scope | Allows |
|---|---|
fleet:read | Vessels, equipment and running-hour counters |
counters:write | Send counter readings (e.g. from an engine monitoring system) |
maintenance:read | Work orders and defects |
defects:write | Report defects (e.g. from an alarm system) |
certificates:read | Certificates and survey dates |
purchasing:read | Purchase orders with lines and totals (for accounting / ERP) |
voyage:read | Noon / voyage reports and the yearly CO₂ and CII figures |
tug:read | Tug jobs and tug invoices |
tug:write | Create tug job requests (e.g. from a port or agency system) |
A token works as the person who created it: it never sees more vessels, or does more, than that person may. Write scopes also need the matching permission (for example "enter running hours" for counters:write).
| Path | Scope | What it does | |
|---|---|---|---|
| GET | /me | — | The token, its scopes and the company. |
| GET | /vessels | fleet:read |
Vessels of the company. Parameters: page, per_page, updated_since |
| GET | /vessels/{id} | fleet:read |
One vessel. |
| GET | /equipment | fleet:read |
Equipment; filter with vessel_id. Parameters: page, per_page, updated_since, vessel_id |
| GET | /counters | fleet:read |
Running-hour counters with the current value. Parameters: page, per_page, updated_since, vessel_id |
| POST | /counters/{id}/readings | counters:write |
Send a meter reading. Body: {"meter": 12450.5, "reading_at": "2026-11-27T08:00:00Z"} |
| GET | /work-orders | maintenance:read |
Work orders; status open|in_progress|completed|closed|cancelled, overdue=1, due_before=date. Parameters: page, per_page, updated_since, vessel_id, status, overdue, due_before |
| GET | /defects | maintenance:read |
Defects; filter by status and severity. Parameters: page, per_page, updated_since, vessel_id, status, severity |
| POST | /defects | defects:write |
Report a defect. Body: {"vessel_id": 1, "title": "…", "severity": "minor|major|critical", "equipment_id": 12, "description": "…"} |
| GET | /certificates | certificates:read |
Current certificates; expiring_within=days. Parameters: page, per_page, updated_since, vessel_id, status, expiring_within |
| GET | /purchase-orders | purchasing:read |
Purchase orders with lines and totals. Parameters: page, per_page, updated_since, vessel_id, status, from, to |
| GET | /voyage-reports | voyage:read |
Noon, departure, arrival and in-port reports. Parameters: page, per_page, updated_since, vessel_id, from, to |
| GET | /emissions | voyage:read |
Yearly fuel, CO₂, CII and EU ETS figures per vessel; vessel_id and year required. Parameters: vessel_id, year |
| GET | /tug/jobs | tug:read |
Tug jobs with tugs and times. Parameters: page, per_page, updated_since, status, from, to |
| POST | /tug/jobs | tug:write |
Request a tug job. Body: {"job_type": "berthing", "ship_name": "MV …", "ship_gt": 9800, "scheduled_at": "…", "tugs_needed": 2, "customer_id": 1, "port": "…", "from_place": "…", "to_place": "…", "reference": "…"} |
| GET | /tug/invoices | tug:read |
Tug invoices; filter by status. Parameters: page, per_page, updated_since, status, from, to |
{"data": [...], "meta": {"page": 1, "per_page": 50, "total": 230, "next_page": 2}}. Use per_page (up to 200) and page.updated_since=2026-11-27T00:00:00Z returns only records changed since then — the simple way to keep another system in step: remember the time of your last call.YYYY-MM-DD; times are ISO 8601 in UTC (2026-11-27T08:00:00Z). Several values: status=open,in_progress.currency, with fx_rate on purchase orders).401 | No token, or it is revoked or expired. |
403 | The token lacks the scope (missing_scope) or its creator lacks the permission (forbidden). |
404 | Unknown endpoint or record, or a vessel the token may not see. |
422 | Invalid input: {"message": "…", "errors": {"meter": ["…"]}} — for example a meter reading lower than the last one. |
429 | More than 120 requests a minute with one token. Wait and try again. |
Other errors look like {"error": {"code": "missing_scope", "message": "…"}}.
Instead of asking IRIS every few minutes, let IRIS tell you. Add a webhook (an https address) and choose the events:
defect.created | A defect is reported |
work_order.completed | A work order is completed on board |
work_order.closed | A work order is closed (verified) |
counter.reading | A running-hour reading is recorded |
purchase_order.approved | A purchase order is approved and issued |
voyage_report.received | A noon / voyage report arrives |
tow_job.completed | A tug job is completed |
tow_invoice.issued | A tug invoice is issued |
ping | Sent by "Send test" |
Each event is a POST with a JSON body; data has the same shape as the record in the API:
POST /your/address
Content-Type: application/json
X-IRIS-Event: defect.created
X-IRIS-Delivery: 5d2f0c8e-… (unique id — ignore a delivery you have already handled)
X-IRIS-Signature: t=1764230400,v1=8f3a…
{"id": "5d2f0c8e-…", "event": "defect.created", "created_at": "2026-11-27T08:00:00Z", "company_id": 1, "api_version": "v1",
"data": {"id": 163, "number": "DEF-MBS-260013", "vessel_id": 1, "title": "…", "severity": "major", …}}
Check the signature before trusting the message: HMAC-SHA256 of t + "." + body with the webhook's signing secret must equal v1. Refuse messages whose t is more than 5 minutes old.
$body = file_get_contents('php://input');
parse_str(str_replace(',', '&', $_SERVER['HTTP_X_IRIS_SIGNATURE']), $s);
$ok = hash_equals(
hash_hmac('sha256', $s['t'].'.'.$body, $secret), $s['v1'])
&& abs(time() - (int) $s['t']) < 300;const crypto = require('crypto');
// raw = the request body as received (Buffer)
const s = Object.fromEntries(req.headers['x-iris-signature']
.split(',').map(p => p.split('=')));
const mac = crypto.createHmac('sha256', secret)
.update(s.t + '.' + raw).digest('hex');
const ok = crypto.timingSafeEqual(Buffer.from(mac), Buffer.from(s.v1));import hmac, hashlib, time
s = dict(p.split('=', 1) for p in
headers['X-IRIS-Signature'].split(','))
mac = hmac.new(secret.encode(), (s['t'] + '.').encode() + raw,
hashlib.sha256).hexdigest()
ok = hmac.compare_digest(mac, s['v1']) and \
abs(time.time() - int(s['t'])) < 300Answer with any 2xx within 10 seconds (do the slow work afterwards). Otherwise IRIS tries again after 1, 5, 30 and 120 minutes; after 15 failures in a row the webhook is turned off and the administrator sees why. Deliveries may arrive more than once or out of order — use X-IRIS-Delivery and the record's updated_at.
Without any programming, Accounting export makes CSV files of tug invoices (sales) and purchase orders (bills) for Xero, QuickBooks Online (invoices) or any system that imports CSV — one row per line, amounts before tax with the tax per line, your account codes and tax-rate names.
Book a demo and bring your IT team — we will walk through the API with your systems in mind.