Changelog
Notable changes to the Routal API and the developer portal. Subscribe to the RSS feed to track every release.
This is the running log of changes to the Routal API. Subscribe to the RSS feed to track every entry without coming back here.
The format is loosely Keep a Changelog. Entries are dated, grouped by type, and link to the relevant docs or endpoints. Breaking changes never ship on the current major; see Versioning below.
Versioning
Routal uses path-based versioning: the major version is the first segment after the host (/v2/, /v3/). The version you call is the contract you get. It is never upgraded silently under your feet.
Active versions
| Version | Status | Notes |
|---|---|---|
v2 | Stable: covers the full API surface used in production today. | Default for every endpoint in the API Reference unless otherwise noted. |
v3 | Selective: a small set of endpoints that re-shape v2 ergonomics (bulk creation, mostly). | Track the entries below for additions. |
What lives on v3 today
v3 endpoint | Use instead of |
|---|---|
POST /v3/vehicles (create many vehicles in one call) | Multiple calls to POST /v2/vehicle |
Everything else is on v2. v2 is not deprecated.
What counts as a breaking change
These changes only ship in a new major version:
- Removing or renaming a field in a response.
- Tightening a constraint (e.g. an optional field becomes required).
- Removing or renaming an enum value.
- Removing an endpoint.
- Changing an HTTP status code for an existing success path.
- Changing the shape or signing scheme of webhook payloads.
These are not breaking and can ship at any time on the current major:
- Adding a new optional request field.
- Adding a new field to a response.
- Adding a new endpoint.
- Adding a new enum value (handle unknowns defensively, see Forward compatibility).
- Adding a new webhook event type.
- Changing the human-readable
messagetext of an error (usemessage_idfor branching, see Errors).
Forward compatibility
Even on the same major version, your code should:
- Ignore unknown response fields. Deserializers should not reject payloads with extra keys.
- Handle unknown enum values defensively. A webhook can carry
type: "stop.something_new"; a stop status field can return a value you don't know yet. Treat unknown as "ignore" or "route to a dead-letter queue", not "throw". - Dedup webhook deliveries on the envelope's
id, and order them bycreated_at(Idempotency). - Don't hard-code response order unless the endpoint guarantees it. Stops in a route are ordered by
chain_position; other arrays are not guaranteed to keep their order between requests.
Deprecation status
Routal does not yet publish a formal deprecation timeline (notice period, sunset SLA, automatic 410 Gone responses). When an endpoint or field is going away we will:
- Announce it in the changelog entries below before the change ships.
- Mark it
deprecated: truein the OpenAPI spec. - Email customers whose tenants have called the deprecated surface recently.
If your integration depends on a behaviour that isn't covered by the changelog or the OpenAPI spec, contact us. We'd rather extend the contract than have you build around undocumented quirks.
OpenAPI spec: the source of truth
The machine-readable spec covers both versions:
/openapi.json: OpenAPI 3.0/llms.txt: index for LLM crawlers/llms-full.txt: full markdown dump
If you generate clients, point your codegen at this URL. The Routal backend also serves the same spec at https://api.routal.com/swagger.json (Swagger 2.0); the OpenAPI 3.0 version above is the recommended one for modern tooling.
2026-11-10: the full webhook cycle in recipes and the MCP page
Changed
- Every recipe registers its webhook through the API (find-or-create, then test), starts
POST /v2/plan/{id}/optimize/asyncand dispatches whenoptimization.succeededarrives, closes work onstop.reportedandroute.finished, and replays missed deliveries from the delivery log every night. The polling loops are gone. - Webhooks: a full-cycle section, the
dataeach event carries, and the nightly replay job.optimization.faileddoes not carry the plan id today; the page says how to work around it. - MCP server: what the assistant does in Claude or ChatGPT fires the same webhooks as your integration. New section on closing the loop.
- Build with AI and Lifecycle: the webhook is the completion signal for async optimize, polling only a fallback.
Fixed
- Recipe code read
stop_idson routes (the field isstops), mapped aservice_report_incompletereport type that does not exist, and read thestop.reportedpayload as ifdatawere the report: it is the stop, with itsreports. - Recipes created vehicles with
default_max_weight,default_max_volume,default_max_servicesanddefault_provides, whichPOST /v3/vehiclesrejects. Create withmax_weight,max_volume,max_servicesandprovides; reads andPUT /v2/vehicle/{vehicle_id}use thedefault_names. - Tasks were sent with a
typefield that does not exist. A scan is a task with abarcode; signature and photos are not tasks, they are required in the project's proof-of-delivery settings. - Reverse logistics pushed returns as plain stops. A return is now a pickup at the customer paired with a drop at the depot, so capacity is counted until the depot.
- MCP server: the tool list covers all 22 tools, nine of which write.
2026-11-09: webhook endpoints in the public API
Added
- Webhooks: the webhook endpoints are part of the public API and accept your
private_key. Create, list, update and delete webhooks, send a test event, read the delivery log and resend a past delivery:POST /v2/webhook,GET /v2/webhooks,PUT /v2/webhook/{id},DELETE /v2/webhook/{id},POST /v2/webhook/{id}/test,GET /v2/webhook/{id}/events,POST /v2/webhook/event/{event_id}/resend. - Errors: the
message_ids the webhook endpoints return.
Fixed
- Webhooks: the catalog lists ten events, not eight.
routal.optimizer.2.optimization.succeededandroutal.optimizer.2.optimization.failedwere already delivered but undocumented.stop.moved,route.createdandroute.deletedcan be subscribed but are not delivered. - Lifecycle:
optimization.succeededis documented as the completion signal forPOST /v2/plan/{id}/optimize/async, as an alternative to polling the routes.
2026-10-14: webhook retries and event id
Added
- Webhooks: failed deliveries are now retried 1, 5 and 30 minutes after each failed attempt, on a timeout, a connection error, or a
408,429or5xxresponse. Any other4xxis not retried. - Webhooks: the envelope carries
id, the event's identifier. It is the same on every delivery of an event, retries and manual replays included, so you can drop duplicates on it. Adding a field is not a breaking change; ignore it if you don't need it.
Changed
- Webhooks: the response timeout is documented: answer
2xxwithin 10 seconds. - Webhooks: the owner email (5) and the auto-disable (50) now count lost events (an event whose last attempt failed, or that your endpoint rejected) rather than failed attempts. Re-enabling a webhook resets its count.
- Webhooks: events are not guaranteed to arrive in order; a retried event can arrive after newer ones. Order by
created_at.
2026-05-21: documentation accuracy pass
Changed
- Authentication: aligned the documented API-key fields and format with what the API actually returns (
label,active,created_at, keys prefixedapi_key_). The single auth error code ishighway.apiKey.error.not_found. - Errors: the machine-code table is now grouped by domain and lists only codes the API actually returns today. A handful of codes that had been documented without ever shipping are gone.
- Rate limits: updated to the real cap: 2,000 requests per minute per credential, global. The previous per-method breakdown and
Retry-Afterheader claim were not accurate to what the platform exposes. - Webhooks: rewritten against the real delivery behaviour: envelope (
{ created_at, project_id, event_id, meta, data }), event catalog (8 events withroutal.<context>.2.<resource>.<action>naming), and failure handling (5 → owner email, 50 → auto-disable). The previous mention of HMAC signing,X-Routal-*headers, and a retry-schedule table was aspirational; none of that is implemented today. - Quickstart: corrected example responses against the real
VehicleData/PlanResponseDataschemas.project_idis required for bothGET /v2/vehiclesandPOST /v2/plan.
Added
<EnumTable>,<SchemaFieldsTable>,<OperationQueryParams>: components that pull values straight from the OpenAPI spec at build time, so enums and defaults can never drift silently from/openapi.json.- A build-time drift check that fails CI if any prose claim no longer matches the spec. 27 claims tracked at launch.
2026-05-21: developer portal launch
Added
developers.routal.comgoes live with a curated API reference auto-generated from the OpenAPI spec.- Dedicated pages for Authentication, Errors, Rate limits, and Webhooks.
- New conceptual content: Resource lifecycle, Pagination, Idempotency, and a Versioning policy in this changelog.
- Machine-readable assets for LLM crawlers and codegen:
/openapi.json,/llms.txt,/llms-full.txt.
Changed
- The recommended OpenAPI surface is now
https://developers.routal.com/openapi.json(OpenAPI 3.0). The backend still serves Swagger 2.0 athttps://api.routal.com/swagger.json, but tooling should consume the converted 3.0 version.
Subscribe
- RSS: /changelog/rss.xml
- Email: drop a line at developers@routal.com to be added to the developer announcements list.
- Status incidents: routal.statuspage.io (separate from this changelog).
Reporting a regression
If a recent release broke your integration, email developers@routal.com with the endpoint, the request, and the response. Tag it [regression] in the subject line; those go to the on-call queue.
