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

Qargo Use case / Trip import API

Required api role: `API_TRIP`Purpose: This interface allows an external system (e.g. a route optimisation tool) to send fully planned trips into Qargo.When a trip payload arrives, Qargo creates or updates a trip with the specified stops, sequence, timestamps, and resource assignments — without manual planning.The trip import is the last step of a larger planning flow:1. The external system obtains the Qargo `id`s of the stops and resources to plan. Qargo can push this planning data to the external system (an optional export, configured per integration), or the external system fetches it via the API (e.g. orders and resources).2. The external system computes trips and assigns each one a `trip_identifier`.3. The external system pushes the planned trips to the trip import webhook.![trip import flow](/docs/static/trip_import_flow.svg)### Getting startedA trip import pushes stop sequences, resource assignments, and timing information into Qargo so that the planning board reflects the externally computed plan.The `trip_identifier` is used to determine whether an incoming trip is new or an update to an existing one:- **Create** — a new trip is created when a payload arrives with a `trip_identifier` that has not been seen before.- **Update** — if a payload arrives with a `trip_identifier` that already exists, Qargo updates the original trip rather than creating a new one.- **Cancel** — setting `status = 'CANCELLED'` will remove the trip. A trip must have been created before it can be cancelled.### Limitations- Stops must be referenced by their Qargo stop `id`. Location names, using location details or aliases are not supported.- Each stop must have a `sequence` value (starting from `0`) and a start/end timestamp. Missing either will cause the import to fail.- Resources can only be assigned by their Qargo resource `id` — not by license plate, name, or external reference.- All stops in the payload must be unplanned. Stops that are already assigned to another trip cannot be imported.- Trips are created automatically — there is no approval or review step before the trip appears on the planning board (unlike order import).- A cancelled trip cannot receive further updates. To re-import, use a new `trip_identifier`.- Stop timestamps must be logically consistent: the sequence order must match the chronological order, and a delivery stop cannot precede its corresponding pickup.- Trip import is asynchronous — the endpoint does not return trip data.- Splitting a trip into multiple trips is not supported via trip import - split the order first.- Each integration instance supports either webhook or EDI routing — not both simultaneously.

Qargo Use case / Trip import API is one of 22 APIs that Qargo publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Use case / Trip import. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 1 operation across 1 path, and defines 14 schemas. It is described by OpenAPI 3.2.0, at version 1.2.0.

Requests are made against a single base URL, https://api.qargo.com.

1 operations 1 paths 14 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.2.0
Base URL
https://api.qargo.com
Authentication
OAuth 2.0, HTTP Basic
Resource Areas
1

Authentication & Security 2

Qargo Use case / Trip import API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (oAuth2ClientCredentials) using the clientCredentials flow. It accepts HTTP basic authentication (BasicAuthWebhookCredentials).

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Use case / Trip import 1

Required api role: APITRIP Purpose: This interface allows an external system (e.g. a route optimisation tool) to send fully planned trips into Qargo. When a trip payload arrives,…

POST
/v1/webhook/trip-import
Import Trip
trip-import-webhook body → 200400401403422429500503

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are TripImportStop (8 properties), TripImportInput (7 properties), ValidationErrorDetail (4 properties), ValidationError (3 properties). Each schema is shown below with its type and property counts.

ValidationErrorDetail
object
4 properties 1 required
TripImportUnassignedStop
object
2 properties 1 required
TripImportStatus
string
FixedTimestampType
string
TripImportStop
object
8 properties 3 required
ErrorStatus
object
2 properties 1 required
TripImportResponse
object
1 property
ValidationErrorResponse
object
2 properties 2 required
ErrorType
string
TripImportResource
object
1 property 1 required
TripImportInput
object
7 properties 1 required
TripImportLocation
object
1 property
ValidationError
object
3 properties 3 required
HTTPValidationError
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

qargo-use-case-trip-import-api-openapi.yml Raw ↑

Other APIs Qargo publishes across the network.

Qargo Subcontractor API
Qargo Customer API
Qargo API / Accounting API
Qargo API / Authentication API
Qargo API / Company API
Qargo API / Document API
Qargo API / Order API
Qargo API / Resource API
Qargo API / Task API
Qargo API / Trip API
Qargo System API
Qargo Use case / Accounting API
Where this information came from

This is an independent, third-party profile of Qargo Use case / Trip import 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.