API overview
Base URL, authentication, request and response conventions, CSRF, error codes and the beta status of the RiggerPlus v1 API.
Beta. The v1 API is the same API the RiggerPlus web app uses. It is stable enough to script against today, but endpoints may gain fields and we will add dedicated API keys for third-party integrations; until then authenticate with a Boathouse Connect login as described below. Tell us what you are building — [email protected].
Base URL
https://prod.riggerplus.com/v1/{resource}/{action}[/{id}…]
Every endpoint is GET (reads) or POST (writes). Actions are kebab-case in the URL (/v1/trip/add-trailer/12). There is no versioning header — the version is the first path segment.
Authentication
Two credentials are accepted on every authenticated endpoint:
- Bearer token — obtain one with
POST /v1/auth/loginusing a Boathouse Connect email and password, then sendAuthorization: Bearer <token>. The token is revalidated against Boathouse Connect every 30 minutes and dies when you call/v1/auth/logoutor the BC session is revoked. Bearer requests (and/v1calls without our cookie) run without a PHP session: noSet-Cookie, nothing stored server-side per request. Mobile clients: see the Mobile page for drivers, idempotent offline writes and snapshots. - Browser session cookie — what the web app uses. Session requests that write (
POST) must also send the page's CSRF token asX-CSRF-Token(or a_csrffield). Bearer clients are exempt from CSRF.
Unauthenticated requests get 401 with RP-100. A handful of endpoints need no credentials: /v1/service/* and the driver-link mutations, where the link slug is the credential.
Request
GET /v1/trip/list
Response 401
{
"success": false,
"error_code": "RP-100",
"error": "Authentication is required. Sign in or provide a valid token."
}
Requests
- Send parameters as a form body (
application/x-www-form-urlencoded) or a JSON document (application/json); nested structures (posts, rows, overrides) may be JSON strings inside a form body. - Path ids are integers. Resource scoping is by club (
whitelabel_id); it defaults to your active club and can be passed explicitly on list/create calls when you belong to several. - Lengths accept inches (
330), feet/inches (27' 6") or metric (8.4m,12.3 m); weights accept pounds (210) or kilograms (95 kg). Responses always use inches and pounds (*_in,*_lb). - Times in: unix seconds (
planned_arrival_at) or local wall-clock strings with the stop's time zone (planned_arrival_at_local=2027-05-16 13:00). Times out: unix seconds plus*_local(ISO 8601 with offset) and*_displaycompanions.
Responses
Every response is JSON with a success flag.
{ "success": true, "trip": { "...": "..." } }
Writes that create something answer 201; other successes 200. Errors carry a stable error code and a human description:
{ "success": false, "error_code": "RP-602", "error": "That slot is unusable or blocked where the boat would sit.", "...": "optional details" }
Request
POST /v1/trip/create
Authorization: Bearer rp_live_••••••••
Content-Type: application/json
{
"name": ""
}
Response 400
{
"success": false,
"error_code": "RP-003",
"error": "One or more request parameters are missing or invalid.",
"missing": [
"name"
]
}
Request
GET /v1/trip/get/999999
Authorization: Bearer rp_live_••••••••
Response 404
{
"success": false,
"error_code": "RP-500",
"error": "The requested trip does not exist.",
"trip_id": 999999
}
Errors
Codes are grouped by module; the full, current table is served by GET /v1/service/errors (no authentication).
| Range | Module | Examples |
|---|---|---|
RP-00x |
framework | RP-001 not found · RP-003 validation · RP-005 CSRF token missing/expired (419) |
RP-10x |
auth | RP-100 sign in required · RP-103 BC token no longer valid · RP-106 forbidden · RP-107 not a planner/editor of this trip · RP-108 only planners edit club assets |
RP-2xx |
boats | RP-201 unknown hull class · RP-202 dimension unparsable · RP-203 BC-owned fields are read-only |
RP-3xx |
trailers | RP-302 templates are read-only (copy first) · RP-303 archived · RP-305 malformed posts/axles/rows |
RP-4xx |
vehicles | RP-403 manual vehicle needs length + cab height · RP-405 duplicate catalogue model (409) |
RP-5xx |
trips | RP-505 trip is cancelled (409) · RP-511 one origin and one destination · RP-512 origin first, destination last |
RP-6xx |
placements & items | RP-602–RP-605 fit conflicts (409) · RP-610 boat already on this leg · RP-65x/66x items |
RP-7xx |
diagrams, shares | RP-713 no stored file (regenerate) · RP-730 link unknown/revoked · RP-739 driver updates rate-limited (429) |
RP-8xx |
routing | RP-801 TomTom quota (429) · RP-802 no drivable route (422) · RP-810 unpinned stops · RP-817 saved route no longer matches the stops |
RP-9xx |
mobile | RP-901 not a driver of this trailer · RP-902 driver is not a club member · RP-904 trip closed (409) · RP-905 bad occurred_at · RP-908 bad client_event_id |
Fit conflicts include machine-readable detail: RP-605 returns conflicts: [{leg_id, from_stop_id, reason, suggested_slots}] so a client can offer per-leg slots exactly like the web app does.
Rate limits
Geocoding (/v1/route/geocode) is limited per session (RP-805); driver-link updates are limited per link (RP-739). Route planning calls the provider once per leg and alternative — plan when stops are final.
Health
Request
GET /v1/service/ping
Response 200
{
"success": true,
"product": "RiggerPlus (TEST)",
"env": "TEST",
"time": 1793329053,
"api_version": 1,
"min_app_version": "0.0.0"
}