How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OneRail Route API

The Route API from OneRail — 9 operation(s) for route.

OneRail Route API is one of 75 APIs that OneRail publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Route. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a getting-started guide.

This API exposes 11 operations across 9 paths. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, /.

11 operations 9 paths 0 schemas 4 GET6 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://onerail-delivery-api-prod.azurewebsites.net
Authentication
HTTP Bearer, API Key, API Key, OAuth 2.0
License
UNLICENSED
Resource Areas
1

Authentication & Security 4

OneRail Route API declares 4 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearer). An API key is passed in the header as X-ONERAIL-API-KEY (ApiKey). An API key is passed in the header as X-ONERAIL-APP-ID (AppId). It supports OAuth 2.0 (OAuth) using the authorizationCode flow. By default, every request must be authenticated.

  • bearer — Standard JWT bearer token used for authenticated OmniPoint users and internal service-to-service calls. Clients send Authorization: Bearer and the token is val…
  • ApiKey — Shared secret key used for machine-to-machine integrations. Must be sent together with X-ONERAIL-APP-ID and is validated against the stored ApiAuth record for…
  • AppId — Application identifier (UUID) that pairs with X-ONERAIL-API-KEY for machine-to-machine integrations. Both headers are required for ApiKey-based authentication.
  • OAuth — OAuth 2.0 access token validated by the Operations service (e.g. Okta-backed integrations). Clients obtain tokens from their own IdP outside of this API and ca…

Paths & Operations 11

Across 9 paths, the API surfaces 11 operations — 4 GET, 6 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Route 11
POST
/v1/cancel-expired-deliveries
Accepts a filter to determine which deliveries to revoke the routes for and Only cancel deliveries that are not in a "final" status, final statuses
cancelExpiredDeliveries body → 200404default
GET
/v1/route/{routeId}
Gets one route by id
getRoute 1 param → 200404default
GET
/v1/route/{routeId}/risky
Get information for risky route
getInfoForRiskyRoute 1 param → 200401403404default
GET
/v1/route/{routeId}/rates-with-drivers
Get external rates with available drivers for route
getRatesWithDriversForRoute 1 param → 200404512default
POST
/v1/routes/bulk-rates-with-drivers
Get external rates with available drivers for multiple routes
getRatesWithDriversForMultipleRoutes body → 200400404512default
POST
/v1/route/{routeId}/revoke
Removes all deliveries and fleet vehicles from route and deletes the route
revokeRoute 1 param → 200default
GET
/v1/routes
Gets all routes
getAllRoutes 4 params → 200404default
POST
/v1/routes
Create new orders within one or more routes.
createRoutes 4 params body → 200default
PUT
/v1/routes
Update exist route.
updateRoutes 4 params body → 200default
POST
/v1/routes/organization/{organizationId}
Create routes with orders for specific organizationId
createForOrganization 1 param body → 200default
POST
/v1/routes/{orgSourcedIdentifier}/deliveries
Update route deliveries
updateDeliveries 1 param body → 200default

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

onerail-route-api-openapi.yml Raw ↑

Other APIs OneRail publishes across the network.

OneRail Delivery API
OneRail Api Auth API
OneRail Assets API
OneRail Associated Location API
OneRail Authentication API
OneRail Blob Storage API API
OneRail Box API
OneRail Bulk Approve SLA Template API
OneRail Bulk Send SLA Template API
OneRail Bulk Uploads API
OneRail Cancellation Reason API
OneRail Carrier API
Where this information came from

This is an independent, third-party profile of OneRail Route API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.